无编辑摘要 |
无编辑摘要 |
||
第1行: | 第1行: | ||
<includeonly>*[[File:Hero_{{#ifeq:{{{3}}}|{{{name}}}|{{{1}}}|{{{3}}}}}_small.gif|{{{1}}}|link={{{1}}}]] [[{{{1}}}]] - {{{2}}}{{-}}{{{4}}}<br/></includeonly><noinclude> | <includeonly>*[[File:Hero_{{#ifeq:{{{3}}}|{{{name}}}|{{{1}}}|{{{3}}}}}_small.gif|{{{1}}}|link={{{1}}}]] [[{{{1}}}]] - [[{{{2}}}]]{{#if:{{{4|}}}|{{-}}{{{4}}}}}<br/></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. | ||
2023年7月14日 (五) 07:41的版本
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 (Birth of a Barbarian)|hero_link=Yog (Birth of a Barbarian)|Wizard}}
gives