Template:H: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
(examples added)
No edit summary
Line 18: Line 18:


and code
and code
  <nowiki>{{h|Yog|image=Yog Wizard|hero_link=Yog (Birth of a Barbarian)|Wizard}}</nowiki>
  <nowiki>{{h|Yog|image=Yog (Birth of a Barbarian)|hero_link=Yog (Birth of a Barbarian)|Wizard}}</nowiki>
gives
gives


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


[[Category: Hero templates]]
[[Category: Hero templates]]
[[Category: Table templates|Hero name]]</noinclude>
[[Category: Table templates|Hero name]]</noinclude>

Revision as of 00:16, 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:

  1. Hero name
  2. Hero class

For example, code

{{H|Mephala|Ranger}}

gives

Mephala Mephala the Ranger

{{h|Mephala|0=}}

gives

Mephala Mephala

and code

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

gives

Yog Yog the Wizard