Editing User:ShushMaster/Test3
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>[[File: Creature portrait {{{image|{{{1}}}}}} small.gif|{{{1}}}|link={{{2|{{{1}}}}}}]]{{-}}{{{noname|[[{{{2|{{{1}}}}}}|{{{name|{{{1}}}}}}]]}}}</includeonly><noinclude> | ||
'''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) | |||
*noname= for a creature portrait without text | |||
<pre> | *name= for a custom naming | ||
{{ | |||
Writing code | |||
<pre>{{Test3|'creature name'}}</pre> | |||
{{ | |||
| | for example | ||
</noinclude> | <pre>{{Test3|Rogue}}</pre> | ||
will give<br><br> | |||
{{Test3|Rogue}} | |||
and<br> | |||
<pre>{{Test3|Rogue|noname=}}{{Test3|Halfling|name=Rogues and Halflings}}</pre> | |||
will give<br> | |||
{{Test3|Rogue|noname=}}{{Test3|Halfling|name=Rogues and Halflings}} | |||
---- | |||
<pre>{{Test3|Rogue|image=Orc Chieftain (HotA)}}</pre> | |||
{{Test3|Rogue|image=Orc Chieftain (HotA)}} | |||
[[Category: Table templates|Creature name]] | |||
__NOTOC__</noinclude> |