Template:Cn: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (8 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>[[File: Creature portrait {{{image|{{{1}}}}}} small.gif|{{{1}}}|link={{{2|{{{1}}}}}}]]{{-}}[[{{{2|{{{1}}}}}}|{{{1}}}]]</includeonly><noinclude> | <includeonly>{{swh|noicon=|{{exist|File:Creature portrait {{{image|{{{1}}}}}} (HotA) small.gif|[[File:Creature portrait {{{image|{{{1}}}}}} (HotA) small.gif|{{{1}}}|link={{{2|{{{1}}}}}}{{{border|}}}]]|[[File: Creature portrait {{{image|{{{1}}}}}} small.gif|{{{1}}}|link={{{2|{{{1}}}}}}{{{border|}}}]]}}|[[File:Creature portrait {{{image|{{{1}}}}}} small.gif|{{{1}}}|link={{{2|{{{1}}}}}}{{{border|}}}]]}}{{-}}{{{noname|[[{{{2|{{{1}}}}}}|{{{name|{{{1}}}}}}]]}}}</includeonly><noinclude> | ||
'''Cn''' is short of creature name. | '''Cn''' is short of creature name. | ||
== Use == | == 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: | 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: | |||
# = Creature name | |||
# = Link (if needed) | |||
*image= to override the name used for the image | |||
*noname= for a creature portrait without text | |||
*name= for a custom naming | |||
*border= ...not sure? | |||
==Examples== | |||
<pre>{{Cn| | {| | ||
| {{Cn|Rogue}} || <pre>{{Cn|Rogue}}</pre> | |||
|- | |||
| {{Cn|Rogue|noname=}}{{Cn|Nomad|name=Rogues and Nomads|Troll}} || <pre>{{Cn|Rogue|noname=}}{{Cn|Nomad|name=Rogues and Nomads|Troll}}</pre> | |||
|- | |||
| {{Cn|Halfling|name=Halflings}} and {{Cn|Halfling and Halfling Grenadier|image=Halfling (Factory)|name=Factory Halflings}} || <pre>{{Cn|Halfling|name=Halflings}} and {{Cn|Halfling and Halfling Grenadier|image=Halfling (Factory)|name=Factory Halflings}}</pre> | |||
|- | |||
| {{cn|Rogue|image=Orc Chieftain (HotA)}} || <pre>{{cn|Rogue|image=Orc Chieftain (HotA)}}</pre> | |||
|} | |||
[[Category: Table templates|Creature name]] | [[Category: Table templates|Creature name]] | ||
__NOTOC__</noinclude> | __NOTOC__</noinclude> | ||
Revision as of 07:26, 10 April 2025
Cn is short of creature name.
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:
- = Creature name
- = Link (if needed)
- image= to override the name used for the image
- noname= for a creature portrait without text
- name= for a custom naming
- border= ...not sure?
Examples
| RogueRogue Rogue | {{Cn|Rogue}}
|
| RogueRogue NomadNomad Rogues and Nomads | {{Cn|Rogue|noname=}}{{Cn|Nomad|name=Rogues and Nomads|Troll}}
|
| HalflingHalfling Halflings and Halfling and Halfling GrenadierHalfling and Halfling Grenadier Factory Halflings | {{Cn|Halfling|name=Halflings}} and {{Cn|Halfling and Halfling Grenadier|image=Halfling (Factory)|name=Factory Halflings}}
|
| RogueRogue Rogue | {{cn|Rogue|image=Orc Chieftain (HotA)}}
|