Template:HeroRosterCard: Difference between revisionsGive feedback
Jump to navigation
Jump to search
Gammaton32 (talk | contribs) removed div class to not conflict with hero navbox |
Gammaton32 (talk | contribs) No edit summary |
||
| Line 11: | Line 11: | ||
| <!-- 2nd Parameter: Other Languages --> | | <!-- 2nd Parameter: Other Languages --> | ||
'''[[{{{hero_link|{{#var:hero}}}}}{{If_lang}}|<span style=color:#000000>{{{hero_loc|{{#var:hero}}}}}</span>]]''' | '''[[{{{hero_link|{{#var:hero}}}}}{{If_lang}}|<span style=color:#000000>{{{hero_loc|{{#var:hero}}}}}</span>]]''' | ||
}} <div style="height: 280px; display: flex; align-items: center; justify-content: center;">[[File:{{{name|{{#var:hero}}}}} Render.png|270x280px|link={{#var:hero}}{{If_lang}}]]</div> | }} <div class="HeroRosterCard" style="height: 280px; display: flex; align-items: center; justify-content: center;">[[File:{{{name|{{#var:hero}}}}} Render.png|270x280px|link={{#var:hero}}{{If_lang}}]]</div> | ||
|- | |- | ||
|{{#ifeq: {{{no_tags|}}}|true | |{{#ifeq: {{{no_tags|}}}|true | ||
Revision as of 18:09, 16 May 2026
Template for roster cards in the Hero page. This template should be used with Template:Roster.
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| key | key | Internal name of the Hero, used to fill all parameters.
| Unknown | required |
| no_name | no_name | Use plain text for hero name instead of image (localized names don't use image by default)
| Boolean | optional |
| no_tags | no_tags | Don't use hero tags
| Boolean | optional |
| lang | lang | Language of descriptions. Optional.
| Unknown | optional |
| hero_link | hero_link | Link for hero page. Optional
| Unknown | optional |
| hero_loc | hero_loc | Override hero name. Optional.
| Unknown | optional |
| Ability1 | Ability1 | The name of the character's first ability.
| Unknown | optional |
| Ability2 | Ability2 | The name of the character's second ability.
| Unknown | optional |
| Ability3 | Ability3 | The name of the character's third ability.
| Unknown | optional |
| Ability4 | Ability4 | The name of the character's ultimate.
| Unknown | optional |