User:ShushMaster/Test3: 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|{{{1}}}|link={{{2|{{{1}}}}}}]]{{-}}{{{noname|[[{{{2|{{{1}}}}}}|{{{name|{{{1}}}}}}]]}}}</includeonly><noinclude>
<includeonly>[[File: Creature portrait {{{image|{{{1}}}}}} small.gif|{{{1}}}|link={{{2|{{{1}}}}}}{{{border|}}}]]{{-}}{{{noname|[[{{{2|{{{1}}}}}}|{{{name|{{{1}}}}}}]]}}}</includeonly><noinclude>
'''Cn''' is short of creature name.
'''Cn''' is short of creature name.


Line 35: Line 35:


[[Category: Table templates|Creature name]]
[[Category: Table templates|Creature name]]
----
{{test3|Imp|noname=|border={{!}}border}}
{{Creature bank}}
{{Creature bank row|30 %|Iron Golem|40|{{Test3|Giant|noname=}}<br>1 [[Giant]]||T1=}}
__NOTOC__</noinclude>
__NOTOC__</noinclude>

Revision as of 05:14, 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:

  1. = Creature name
  2. = 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)}}

Template:Test3


Template:Test3

ShushMaster/Test3
Picture
File:ShushMaster/Test3.gif
% Guards Content XP
Visiting scheme
File:ShushMaster/Test3 (vs).png

|  30 %  | valign=middle align=middle |

Iron Golem
40

| Template:Test3
1 Giant | Experience
|-