Template:Cnu: Difference between revisions
Jump to navigation
Jump to search
Created page with "<includeonly>[[File: Creature portrait {{{image|{{{1}}}}}} small.gif|{{{1}}}|link={{{3|{{{1}}} and {{{2}}}}}}{{{border|}}}]]{{-}}[[File: Creature portrait {{{image2|{{{2}}}}}} small.gif|{{{2}}}|link={{{3|{{{1}}} and {{{2}}}}}}{{{border|}}}]]{{-}}{{#if:{{{third|}}}|[[File: Creature portrait {{{third}}} small.gif|{{{3}}}|link={{{3}}}{{{border|}}}]]{{-}}}}{{{noname|[[{{{3|{{{1}}} and {{{2}}}}}}|{{{name|{{{3|{{{1}}} and {{{2}}}}}}}}}]]}}}</includeonly><noinclude> '''Cnu''' i..." |
mNo edit summary |
||
Line 10: | Line 10: | ||
*noname= for a creature portrait without text | *noname= for a creature portrait without text | ||
*name= for a custom naming, otherwise, same as link | *name= for a custom naming, otherwise, same as link | ||
*image= for the base creature image, if non-default | *image= for the base [[:Category:Creature portraits (small)|creature image]], if non-default | ||
*image2= for the upgraded 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 | *third= for a third upgraded creature, if needed -- if provided, you likely also need to give an explicit link |
Latest revision as of 09:04, 23 March 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[edit | hide | hide all]
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=Halfling (Factory)}} |
![]() ![]() |
{{cnu|Pirate|Corsair|third=Sea Dog|Pirate, Corsair, and Sea Dog}} |
![]() ![]() ![]() |