Template:HeroRosterCard: Difference between revisionsGive feedback
Jump to navigation
Jump to search
Gammaton32 (talk | contribs) No edit summary |
Gammaton32 (talk | contribs) made bottom left corner sharp to better fit image style |
||
| Line 2: | Line 2: | ||
{{#vardefine:hero|{{#invoke:Lang|get_string|{{{key}}}|lang_code_override=en}}}}<!-- | {{#vardefine:hero|{{#invoke:Lang|get_string|{{{key}}}|lang_code_override=en}}}}<!-- | ||
--><div style="display:inline-block; margin: 15px 10px; width: 100%; max-width: 720px; box-sizing: border-box;"> | --><div style="display:inline-block; margin: 15px 10px; width: 100%; max-width: 720px; box-sizing: border-box;"> | ||
{|- style="table-layout: fixed; width: 100%; text-align:left; background-image: linear-gradient(30deg, #e8be86, #fdf5e8); border-collapse:collapse; border-radius: 55px; font-size: 12px; color:#000000; font-family:'Valve Pulp','Retail Demo Regular','Open Sans', 'PT Serif','Palatino','Georgia',serif;" | {|- style="table-layout: fixed; width: 100%; text-align:left; background-image: linear-gradient(30deg, #e8be86, #fdf5e8); border-collapse:collapse; border-radius: 55px; border-bottom-left-radius: 0px; font-size: 12px; color:#000000; font-family:'Valve Pulp','Retail Demo Regular','Open Sans', 'PT Serif','Palatino','Georgia',serif;" | ||
| rowspan="3" style="width: 38%; min-width: 120px; overflow: hidden;" | <div class="HeroCard2 hide-parent-td-mobile" style="height: 280px; display: flex; align-items: center; justify-content: center; transition: 0.08s transform ease-in-out;">[[File:{{#var:hero}} Render.png|270x280px|link={{#var:hero}}{{If_lang}}]]</div> | | rowspan="3" style="width: 38%; min-width: 120px; overflow: hidden;" | <div class="HeroCard2 hide-parent-td-mobile" style="height: 280px; display: flex; align-items: center; justify-content: center; transition: 0.08s transform ease-in-out;">[[File:{{#var:hero}} Render.png|270x280px|link={{#var:hero}}{{If_lang}}]]</div> | ||
| style="text-align:center; background-color: #FCEED4; height:45px; font-size: clamp(24px, 5vw, 40px); color:#000000; line-height:8px; vertical-align: middle; border-top-right-radius: 55px;" colspan="2" | {{If lang | | style="text-align:center; background-color: #FCEED4; height:45px; font-size: clamp(24px, 5vw, 40px); color:#000000; line-height:8px; vertical-align: middle; border-top-right-radius: 55px;" colspan="2" | {{If lang | ||
Revision as of 06:44, 14 April 2026
| Error: Unknown name . - Error: Unknown name . - Error: Unknown name . | |
|
|
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 |