Template:Cnu: Difference between revisions
Jump to navigation
Jump to search
enable popups |
No edit summary |
||
| Line 15: | Line 15: | ||
Typical use is: | Typical use is: | ||
<pre>{{ | <pre>{{Cnu|'base creature name'|'upgraded creature name'}}</pre> | ||
Examples: | Examples: | ||
| Line 21: | Line 21: | ||
! Code !! Result | ! Code !! Result | ||
|- | |- | ||
|<pre>{{ | |<pre>{{Cnu|Cavalier|Champion}}</pre>||{{Cnu|Cavalier|Champion}} | ||
|- | |- | ||
|<pre>{{ | |<pre>{{Cnu|Gog|Magog|noname=}}</pre>||{{Cnu|Gog|Magog|noname=}} | ||
|- | |- | ||
|<pre>{{ | |<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>{{ | |<pre>{{Cnu|Halfling|Halfling Grenadier|image=Pikeman|image2=Firebird}}</pre>||{{Cnu|Halfling|Halfling Grenadier|image=Pikeman|image2=Firebird}} | ||
|- | |- | ||
|<pre>{{ | |<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:
- = Base creature name
- = Updated creature name
- = 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}} |
|
{{Cnu|Gog|Magog|noname=}} |
|
{{Cnu|Gold Golem|Diamond Golem|Neutral creature|name=Gold and Diamond Golems}} |
|
{{Cnu|Halfling|Halfling Grenadier|image=Pikeman|image2=Firebird}} |
![]() Halfling Grenadier 5 2 Shots 24 2–3 4 6 Move Ground Size 1 Growth 15 95 75 Cost 60 |
{{Cnu|Pirate|Corsair|third=Sea Dog|Pirate, Corsair, and Sea Dog}} |
![]() 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 |











