Template:H: Difference between revisions
Jump to navigation
Jump to search
(add himage= (set to "(HotA)" to show the hota image based on the content switch.) |
mNo edit summary |
||
Line 26: | Line 26: | ||
|- | |- | ||
| {{h|Vey|0=|himage=(HotA)}} | | {{h|Vey|0=|himage=(HotA)}} | ||
| <nowiki>{{h|Vey|0=(HotA)}}</nowiki> | | <nowiki>{{h|Vey|0=|himage=(HotA)}}</nowiki> | ||
|- | |- |
Revision as of 18:17, 11 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 (can use "Random")
- 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 |
---|---|
Mephala the Ranger | {{H|Mephala|Ranger}} |
Mephala | {{h|Mephala|0=}} |
Vey | {{h|Vey|0=|himage=(HotA)}} |
Yog the Wizard | {{h|Yog|image=Yog (Birth of a Barbarian)|hero_link=Yog (Birth of a Barbarian)|Wizard}} |
{{H|Clancy|noname=}} | |
: Lorem ipsum | {{H|Henrietta|noname=}} |
Henrietta: Lorem ipsum | {{H|Henrietta|0=}} |
Henrietta the Mercenary: Lorem ipsum | {{H|Henrietta|Mercenary}} |
Random Hero | {{H|Random}} |