Template:H: Difference between revisions
Jump to navigation
Jump to search
same change as on hng |
No edit summary |
||
| Line 7: | Line 7: | ||
* 0= (don't show the class) | * 0= (don't show the class) | ||
* hero_link= (link to a hero page that doesn't match the hero's name) | * hero_link= (link to a hero page that doesn't match the hero's name) | ||
* name= (replace the hero's name without changing the link) | |||
* noname= (only show the picture) | * noname= (only show the picture) | ||
* image= (show a picture that does not match the hero's name) | * image= (show a picture that does not match the hero's name) | ||
Latest revision as of 23:30, 5 April 2026
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)
- name= (replace the hero's name without changing the link)
- noname= (only show the picture)
- image= (show a picture that does not match the hero's name)
- name= (changes the name used in text; alternative to using that name as first parameter and overriding image and hero_link)
Examples[edit | hide | hide all]
| Result | Code |
|---|---|
| {{hng|Alamar|Warlock}} | |
| {{hng|Catherine|Knight}} | |
| {{H|Mephala|Ranger}} | |
| {{h|Mephala|0=}} | |
| {{h|Vey|0=}} | |
| {{h|Yog|image=Yog (Wizard)|hero_link=Yog (Wizard)|Wizard}} | |
| {{H|Clancy|noname=}} | |
| {{H|Henrietta|noname=}} | |
| {{H|Henrietta|0=}} | |
| {{H|Henrietta|Mercenary}} | |
| {{H|Random}} | |
| {{H|Jeremy|name=Jeremy Albatross|0=}} |