Template:H: Difference between revisions
Jump to navigation
Jump to search
ShushMaster (talk | contribs) No edit summary |
ShushMaster (talk | contribs) (examples added) |
||
Line 6: | Line 6: | ||
# Hero class | # Hero class | ||
For example, code <nowiki>{{H|Mephala|Ranger}}</nowiki> gives | For example, code | ||
<nowiki>{{H|Mephala|Ranger}}</nowiki> | |||
gives | |||
{{H|Mephala|Ranger}} | {{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> |
Revision as of 14:35, 21 September 2018
H is short of Hero name. The template is used in lists to hero image and name with a link to it.
Variables:
- Hero name
- Hero class
For example, code
{{H|Mephala|Ranger}}
gives
{{h|Mephala|0=}}
gives
and code
{{h|Yog|image=Yog Wizard|hero_link=Yog (Birth of a Barbarian)|Wizard}}
gives