Template:H: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#switch: {{{1}}} | Random = [[File:Hero_Random_small. | <includeonly>{{#switch: {{{1}}} | Random = [[File:Hero_Random_small.png|link=]] Random Hero | [[File:Hero_{{{image|{{{1|}}}}}}_small.png|{{{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 [[:Category:Hero_portraits|hero image]] and name with a link to it. | '''H''' is short of '''H'''ero name. The template is used in lists to [[:Category:Hero_portraits|hero image]] and name with a link to it. | ||
Line 20: | Line 20: | ||
|- | |- | ||
| {{h|Yog|image=Yog ( | | {{h|Yog|image=Yog (Wizard)|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> | | <nowiki>{{h|Yog|image=Yog (Birth of a Barbarian)|hero_link=Yog (Birth of a Barbarian)|Wizard}}</nowiki> | ||
Revision as of 19:54, 2 October 2024
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 |
---|---|
![]() |
{{H|Mephala|Ranger}} |
![]() |
{{h|Mephala|0=}} |
![]() |
{{h|Yog|image=Yog (Birth of a Barbarian)|hero_link=Yog (Birth of a Barbarian)|Wizard}} |
![]() |
{{H|Clancy|noname=}} |
![]() |
{{H|Henrietta|noname=}} |
![]() |
{{H|Henrietta|0=}} |
![]() |
{{H|Henrietta|Mercenary}} |
![]() |
{{H|Random}} |