无编辑摘要 |
无编辑摘要 |
||
(未显示同一用户的2个中间版本) | |||
第1行: | 第1行: | ||
<includeonly> | <includeonly>[[File:{{{2}}}_portrait.gif|{{{2}}}|link={{{2}}}]]{{-}}[[File:Hero_{{#ifeq:{{{3}}}|{{{name}}}|{{{1}}}|{{{3}}}}}_small.gif|{{{1}}}|link={{{hero_link|{{{1}}}}}}]] [[{{{hero_link|{{{1}}}}}}|{{{1}}}]]{{{source|}}} {{{0|- [[{{class/en|{{{2|}}}}}]]}}} {{{4}}}</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. | ||
第27行: | 第27行: | ||
[[Category: Hero templates]] | [[Category: Hero templates]] | ||
[[Category: Table templates|Hero name]]</noinclude> | [[Category: Table templates|Hero name]] | ||
[[Category: Cargo化模板]]</noinclude> |
2023年7月14日 (五) 07:46的最新版本
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