Template:Cnu: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
enable popups
No edit summary
Line 15: Line 15:


Typical use is:
Typical use is:
<pre>{{CnuTest|'base creature name'|'upgraded creature name'}}</pre>
<pre>{{Cnu|'base creature name'|'upgraded creature name'}}</pre>


Examples:
Examples:
Line 21: Line 21:
! Code !! Result
! Code !! Result
|-
|-
|<pre>{{CnuTest|Cavalier|Champion}}</pre>||{{CnuTest|Cavalier|Champion}}
|<pre>{{Cnu|Cavalier|Champion}}</pre>||{{Cnu|Cavalier|Champion}}
|-
|-
|<pre>{{CnuTest|Gog|Magog|noname=}}</pre>||{{CnuTest|Gog|Magog|noname=}}
|<pre>{{Cnu|Gog|Magog|noname=}}</pre>||{{Cnu|Gog|Magog|noname=}}
|-
|-
|<pre>{{CnuTest|Gold Golem|Diamond Golem|Neutral creature|name=Gold and Diamond Golems}}</pre>||{{CnuTest|Gold Golem|Diamond Golem|Neutral creature|name=Gold and Diamond Golems}}
|<pre>{{Cnu|Gold Golem|Diamond Golem|Neutral creature|name=Gold and Diamond Golems}}</pre>||{{Cnu|Gold Golem|Diamond Golem|Neutral creature|name=Gold and Diamond Golems}}
|-
|-
|<pre>{{CnuTest|Halfling|Halfling Grenadier|image=Pikeman|image2=Firebird}}</pre>||{{CnuTest|Halfling|Halfling Grenadier|image=Pikeman|image2=Firebird}}
|<pre>{{Cnu|Halfling|Halfling Grenadier|image=Pikeman|image2=Firebird}}</pre>||{{Cnu|Halfling|Halfling Grenadier|image=Pikeman|image2=Firebird}}
|-
|-
|<pre>{{CnuTest|Pirate|Corsair|third=Sea Dog|Pirate, Corsair, and Sea Dog}}</pre>||{{CnuTest|Pirate|Corsair|third=Sea Dog|Pirate, Corsair, and Sea Dog}}
|<pre>{{Cnu|Pirate|Corsair|third=Sea Dog|Pirate, Corsair, and Sea Dog}}</pre>||{{Cnu|Pirate|Corsair|third=Sea Dog|Pirate, Corsair, and Sea Dog}}
|}
|}


[[Category: Table templates|Creature name]]
[[Category: Table templates|Creature name]]
__NOTOC__</noinclude>
__NOTOC__</noinclude>

Revision as of 06:00, 25 August 2025

Cnu is short of creature name and upgrade. This works largely like {{cn}} but works for a creature pair instead of having to use the template twice.

Use

The template is used to show a creature's image and a name, both leading to the creature article. The variables for the template are:

  1. = Base creature name
  2. = Updated creature name
  3. = Link (if needed, otherwise created from the base and upgraded creature names)
  • noname= for a creature portrait without text
  • name= for a custom naming, otherwise, same as link
  • image= for the base creature image, if non-default
  • image2= for the upgraded creature image, if non-default
  • third= for a third upgraded creature, if needed -- if provided, you likely also need to give an explicit link

Typical use is:

{{Cnu|'base creature name'|'upgraded creature name'}}

Examples:

Code Result
{{Cnu|Cavalier|Champion}}
CavalierCavalier ChampionChampion Cavalier and Champion
Cavalier
15
15
15–25
100
7
Move
Ground
Size
2
Growth
2
1946
1668
Cost

1000

Jousting bonus.
Champion
16
16
20–25
100
9
Move
Ground
Size
2
Growth
2
2100
1800
Cost

1200

Jousting bonus.
{{Cnu|Gog|Magog|noname=}}
GogGog MagogMagog 
{{Cnu|Gold Golem|Diamond Golem|Neutral creature|name=Gold and Diamond Golems}}
Gold GolemGold Golem Diamond GolemDiamond Golem Gold and Diamond Golems
{{Cnu|Halfling|Halfling Grenadier|image=Pikeman|image2=Firebird}}
HalflingHalfling Halfling GrenadierHalfling Grenadier Halfling and Halfling Grenadier
Halfling
4
2
Shots
24
1–3
4
5
Move
Ground
Size
1
Growth
15
75
60
Cost

40

Shoots. Minimum Luck is +1.
Halfling Grenadier
5
2
Shots
24
2–3
4
6
Move
Ground
Size
1
Growth
15
95
75
Cost

60

Shoots. Minimum Luck is +1. Ranged attack ignores 20% of enemy Defense skill.
{{Cnu|Pirate|Corsair|third=Sea Dog|Pirate, Corsair, and Sea Dog}}
PiratePirate CorsairCorsair Sea DogSea Dog Pirate, Corsair, and Sea Dog
Pirate
8
6
Shots
4
3–7
15
6
Move
Ground
Size
1
Growth
7
312
208
Cost

225

Shoots. No melee penalty.
Corsair
10
8
Shots
4
3–7
15
7
Move
Ground
Size
1
Growth
7
407
311
Cost

275

Shoots. No melee penalty. No enemy retaliation.
Sea Dog
12
11
Shots
8
3–7
15
8
Move
Ground
Size
1
Growth
7
602
376
Cost

375

Shoots. No melee penalty. No enemy retaliation. Accurate Shot.