User:ShushMaster/Test3: Difference between revisions
Jump to navigation
Jump to search
ShushMaster (talk | contribs) No edit summary |
ShushMaster (talk | contribs) No edit summary |
||
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 | |||
*name= for a custom naming | |||
Writing code | |||
<pre>{{Test3|'creature name'}}</pre> | |||
for example | |||
<pre>{{Test3|Rogue}}</pre> | |||
{{ | will give<br><br> | ||
{{Test3|Rogue}} | |||
</noinclude> | |||
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> |
Revision as of 05:07, 28 August 2018
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
- name= for a custom naming
Writing code
{{Test3|'creature name'}}
for example
{{Test3|Rogue}}
will give
Template:Test3
and
{{Test3|Rogue|noname=}}{{Test3|Halfling|name=Rogues and Halflings}}
will give
Template:Test3Template:Test3
{{Test3|Rogue|image=Orc Chieftain (HotA)}}