Template:H2: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly>[[File:{{{2}}}_portrait.gif|{{{2}}}|link={{{2}}}]]{{-}}[[File:Hero_{{{image|{{{1|}}}}}}_small.gif|{{{1}}}|link={{{hero_link|{{{1}}}}}}]] {{{hero_link|{{{1}}}}}}...") |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 11: | Line 11: | ||
{{H2|Mephala|Ranger}} | {{H2|Mephala|Ranger}} | ||
<nowiki>{{H2|Gem|Druid|0=}}</nowiki> | |||
gives | |||
{{H2|Gem|Druid|0=}} | |||
and code | and code | ||
<nowiki>{{h2|Yog|image=Yog | <nowiki>{{h2|Yog|image=Yog (Birth of a Barbarian)|hero_link=Yog (Birth of a Barbarian)|Wizard}}</nowiki> | ||
gives | gives | ||
{{h2|Yog|image=Yog | {{h2|Yog|image=Yog (Birth of a Barbarian)|hero_link=Yog (Birth of a Barbarian)|Wizard}} | ||
==See also:== | ==See also:== |
Latest revision as of 00:17, 20 April 2021
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
{{H2|Mephala|Ranger}}
gives
{{H2|Gem|Druid|0=}}
gives
and code
{{h2|Yog|image=Yog (Birth of a Barbarian)|hero_link=Yog (Birth of a Barbarian)|Wizard}}
gives