User:ShushMaster/Test1: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>[[File: Creature portrait {{{image|{{{1}}}}}} small.gif|{{{border|}}}|{{{1}}}|link={{{2|{{{1}}}}}}]]{{-}}[[{{{2|{{{1}}}}}}|{{{name|{{{1}}}}}}]]</includeonly><noinclude>
<includeonly>[[File: Creature portrait {{{image|{{{1}}}}}} small.gif|{{{1}}}|link={{{2|{{{1}}}}}}]]{{-}}[[{{{2|{{{1}}}}}}|{{{name|{{{1}}}}}}]]</includeonly><noinclude>
'''test1''' is short of creature name.
'''test1''' is short of creature name.


Line 14: Line 14:


will give<br>
will give<br>
{{test1|Rogue|name={{-}}}}{{test1|Halfling|name=Rogues and Halflings}}
{{test1|Rogue|name= }}{{test1|Halfling|name=Rogues and Halflings}}




[[Category: Table templates|Creature name]]
[[Category: Table templates|Creature name]]
__NOTOC__</noinclude>
__NOTOC__</noinclude>

Revision as of 11:50, 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