Editing Template:H
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
<includeonly>[[File:Hero_{{{image|{{{1|}}}}}}_small.gif|{{{1}}}|link={{{hero_link|{{{1}}} | <includeonly>[[File:Hero_{{{image|{{{1|}}}}}}_small.gif|{{{1}}}|link={{{hero_link|{{{1}}}}}}]] [[{{{hero_link|{{{1}}}}}}|{{{1}}}]]{{{source|}}} {{{0|the [[{{{2|}}}]]}}}</includeonly><noinclude> | ||
'''H''' is short of '''H'''ero name. The template is used in lists to hero image and name with a link to it. | '''H''' is short of '''H'''ero name. The template is used in lists to hero image and name with a link to it. | ||
Line 6: | Line 6: | ||
# Hero class | # Hero class | ||
For example, code | |||
{| | <nowiki>{{H|Mephala|Ranger}}</nowiki> | ||
gives | |||
{{H|Mephala|Ranger}} | |||
<nowiki>{{h|Mephala|0=}}</nowiki> | |||
gives | |||
{{h|Mephala|0=}} | |||
and code | |||
<nowiki>{{h|Yog|image=Yog Wizard|hero_link=Yog (Birth of a Barbarian)|Wizard}}</nowiki> | |||
gives | |||
{{h|Yog|image=Yog Wizard|hero_link=Yog (Birth of a Barbarian)|Wizard}} | |||
| | |||
| | |||
[[Category: Hero templates]] | [[Category: Hero templates]] | ||
[[Category: Table templates|Hero name]]</noinclude> | [[Category: Table templates|Hero name]]</noinclude> |