Template:H: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(Add noname param and clean up examples) |
||
Line 1: | Line 1: | ||
<includeonly>[[File:Hero_{{{image|{{{1|}}}}}}_small.gif|{{{1}}}|link={{{hero_link|{{{1}}}}}}{{{img-style|}}}]] [[{{{hero_link|{{{1}}}}}}|{{{1}}}]]{{{source|}}} {{{0|the [[{{{2|}}}]]}}}</includeonly><noinclude> | <includeonly>[[File:Hero_{{{image|{{{1|}}}}}}_small.gif|{{{1}}}|link={{{hero_link|{{{1}}}}}}{{{img-style|}}}]] {{{noname|[[{{{hero_link|{{{1}}}}}}|{{{1}}}]]{{{source|}}} {{{0|the [[{{{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. | ||
Line 6: | Line 6: | ||
# Hero class | # Hero class | ||
==Examples== | |||
{| class="wikitable" | |||
! Result | |||
! Code | |||
{{H|Mephala|Ranger}} | |- | ||
| {{H|Mephala|Ranger}} | |||
| <nowiki>{{H|Mephala|Ranger}}</nowiki> | |||
|- | |||
| {{h|Mephala|0=}} | |||
| <nowiki>{{h|Mephala|0=}}</nowiki> | |||
{{h| | |- | ||
| {{h|Yog|image=Yog (Birth of a Barbarian)|hero_link=Yog (Birth of a Barbarian)|Wizard}} | |||
| <nowiki>{{h|Yog|image=Yog (Birth of a Barbarian)|hero_link=Yog (Birth of a Barbarian)|Wizard}}</nowiki> | |||
|- | |||
| {{H|Clancy|noname=}} | |||
| <nowiki>{{H|Clancy|noname=}}</nowiki> | |||
|} | |||
[[Category: Hero templates]] | [[Category: Hero templates]] | ||
[[Category: Table templates|Hero name]]</noinclude> | [[Category: Table templates|Hero name]]</noinclude> |
Revision as of 01:54, 19 December 2023
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
Examples
Result | Code |
---|---|
Mephala Mephala the Ranger | {{H|Mephala|Ranger}} |
Mephala Mephala | {{h|Mephala|0=}} |
Yog Yog the Wizard | {{h|Yog|image=Yog (Birth of a Barbarian)|hero_link=Yog (Birth of a Barbarian)|Wizard}} |
Clancy | {{H|Clancy|noname=}} |