User:ShushMaster/Test1: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 12: Line 12:
for example
for example
<pre>{{test1|Rogue}}</pre>
<pre>{{test1|Rogue}}</pre>
will give<br><br>
{{test1|Rogue}}
and<br>
<pre>{{test1|Rogue|noname=}}{{test1|Halfling|name=Rogues and Halflings}}</pre>


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


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

Revision as of 16:28, 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:Test1


and

{{test1|Rogue|noname=}}{{test1|Halfling|name=Rogues and Halflings}}

will give
Template:Test1Template:Test1