Template:H2:修订间差异

无编辑摘要
无编辑摘要
 
第1行: 第1行:
<includeonly>[[File:{{{2}}}_portrait.gif|{{{2}}}|link={{{2}}}]]{{-}}[[File:Hero_{{{image|{{{1|}}}}}}_small.gif|{{{1}}}|link={{{hero_link|{{{1}}}}}}]] [[{{{hero_link|{{{1}}}}}}|{{{1}}}]]{{{source|}}} {{{0|- [[{{class_en|{{{2|}}}}}]]}}}</includeonly><noinclude>
<includeonly>[[File:{{{2}}}_portrait.gif|{{{2}}}|link={{{2}}}]]{{-}}[[File:Hero_{{{image|{{{1|}}}}}}_small.gif|{{{1}}}|link={{{hero_link|{{{1}}}}}}]] [[{{{hero_link|{{{1}}}}}}|{{{1}}}]]{{{source|}}} {{{0|- [[{{class/en|{{{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.



2023年9月5日 (二) 16:17的最新版本

H is short of Hero name. The template is used in lists to hero image and name with a link to it.

Variables:

  1. Hero name
  2. Hero class

For example, code

{{H2|Mephala|Ranger}}

gives

Ranger Mephala Mephala - 巡逻兵

{{H2|Gem|Druid|0=}}

gives

Druid Gem Gem

and code

{{h2|Yog|image=Yog (Birth of a Barbarian)|hero_link=Yog (Birth of a Barbarian)|Wizard}}

gives

Wizard Yog Yog - 术士

See also:

Template:H