Template:H: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
No edit summary
(examples added)
Line 6: Line 6:
# Hero class
# Hero class


For example, code <nowiki>{{H|Mephala|Ranger}}</nowiki> gives
For example, code
<nowiki>{{H|Mephala|Ranger}}</nowiki>
gives


{{H|Mephala|Ranger}}
{{H|Mephala|Ranger}}
<nowiki>{{h|Mephala|0=}}</nowiki>
gives
{{h|Mephala|0=}}
and code
<nowiki>{{h|Yog|image=Yog Wizard|hero_link=Yog (Birth of a Barbarian)|Wizard}}</nowiki>
gives
{{h|Yog|image=Yog Wizard|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 14:35, 21 September 2018

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 Wizard|hero_link=Yog (Birth of a Barbarian)|Wizard}}

gives

Yog Yog the Wizard