Template:HeroRosterCard: Difference between revisionsGive feedback
Jump to navigation
Jump to search
Gammaton32 (talk | contribs) idk why this works |
Gammaton32 (talk | contribs) No edit summary |
||
| Line 2: | Line 2: | ||
{{#vardefine:quotemark|"}} | {{#vardefine:quotemark|"}} | ||
{{#vardefine:hero|{{#invoke:Lang|get_string|{{{key}}}|lang_code_override=en}}}}<!-- | {{#vardefine:hero|{{#invoke:Lang|get_string|{{{key}}}|lang_code_override=en}}}}<!-- | ||
--><div class="nav-bg" style="display:inline-block; margin: | --><div class="nav-bg" style="display:inline-block; margin: 3px 5px; max-width:300px; border-radius: 20px;"> | ||
{|- style="table-layout: fixed; text-align:center; font-size: 12px; margin: | {|- style="table-layout: fixed; text-align:center; font-size: 12px; margin:10px; font-family:'Valve Occult','Retail Demo Regular','Open Sans', 'PT Serif','Palatino','Georgia',serif;" | ||
| {{If lang | | {{If lang | ||
| <!-- 1st Parameter: English/Default --> | | <!-- 1st Parameter: English/Default --> | ||
Revision as of 00:22, 2 June 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 |