Template:Cn: Difference between revisions
Jump to navigation
Jump to search
ShushMaster (talk | contribs) (Undo revision 40856 by ShushMaster (talk)) |
ShushMaster (talk | contribs) No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>[[File: Creature portrait {{{image|{{{1}}}}}} small.gif| | <includeonly>[[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. | ||
Line 32: | Line 32: | ||
{{cn|Rogue|image=Orc Chieftain (HotA)}} | {{cn|Rogue|image=Orc Chieftain (HotA)}} | ||
[[Category: Table templates|Creature name]] | [[Category: Table templates|Creature name]] | ||
__NOTOC__</noinclude> | __NOTOC__</noinclude> |
Latest revision as of 05:28, 28 August 2018
Cn is short of creature name.
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:
- = Creature name
- = Link (if needed)
- noname= for a creature portrait without text
- name= for a custom naming
Writing code
{{Cn|'creature name'}}
for example
{{Cn|Rogue}}
will give
Rogue
and
{{Cn|Rogue|noname=}}{{Cn|Halfling|name=Rogues and Halflings}}
will give
Rogues and Halflings
{{cn|Rogue|image=Orc Chieftain (HotA)}}