User:ShushMaster/Test1: Difference between revisions
Jump to navigation
Jump to search
ShushMaster (talk | contribs) (still cannot choose the prefix style) |
ShushMaster (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{| | <includeonly>[[File: Creature portrait {{{image|{{{1}}}}}} small.gif|{{{1}}}|link={{{2|{{{1}}}}}}]]{{-}}[[{{{2|{{{1}}}}}}|{{{name|{{{1}}}}}}]]</includeonly><noinclude> | ||
| | '''test1''' 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: | |||
1 = Creature name | |||
2 = Link (if needed) | |||
[[Category: | Writing code | ||
<pre>{{test1|'creature name'}}</pre> | |||
for example | |||
<pre>{{test1|Rogue}}</pre> | |||
will give<br> | |||
{{test1|Rogue|name=}}{{test1|Halfling|name=Rogues and Halflings}} | |||
[[Category: Table templates|Creature name]] | |||
__NOTOC__</noinclude> |
Revision as of 11:42, 28 July 2018
test1 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: 1 = Creature name 2 = Link (if needed)
Writing code
{{test1|'creature name'}}
for example
{{test1|Rogue}}
will give
Template:Test1Template:Test1