Template:Hng

From Heroes 3 wiki
Revision as of 18:32, 22 January 2025 by Phasma (talk | contribs) (Created page with "<includeonly>{{#switch: {{{1}}} | Random = link= Random Hero | {{swh|noicon=|[[File:Hero_{{{image|{{{1|}}}}}} {{{himage|}}}_small.png|{{{1}}}|link={{{hero_link|{{{1}}}}}}{{{img-style|}}}]]|[[File:Hero_{{{image|{{{1|}}}}}}_small.png|{{{1}}}|link={{{hero_link|{{{1}}}}}}{{{img-style|}}}]]}} {{{noname|{{gl|{{{hero_link|{{{1}}}}}}|{{{1}}}}}{{{source|}}}{{{0| the {{gl|{{{2|}}}}}}}}}}}}}</includeonly><noinclude> '''H''' is short of '''H'''ero name...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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 (can use "Random")
  2. Hero class
  • 0= (don't show the class)
  • hero_link= (link to a hero page that doesn't match the hero's name)
  • noname= (only show the picture)
  • image= (show a picture that does not match the hero's name)
  • himage= (set to (HotA) if there is a hota version of the image)

Examples

Result Code
MephalaMephala Mephala the Ranger {{hng|Mephala|Ranger}}
MephalaMephala Mephala {{hng|Mephala|0=}}
VeyVey Vey {{hng|Vey|0=|himage=(HotA)}}
YogYog Yog the Wizard {{hng|Yog|image=Yog (Wizard)|hero_link=Yog (Wizard)|Wizard}}
ClancyClancy {{hng|Clancy|noname=}}
HenriettaHenrietta: Lorem ipsum {{hng|Henrietta|noname=}}
HenriettaHenrietta Henrietta: Lorem ipsum {{hng|Henrietta|0=}}
HenriettaHenrietta Henrietta the Mercenary: Lorem ipsum {{hng|Henrietta|Mercenary}}
Random Hero {{hng|Random}}