Template:HeroRosterCard: Difference between revisions
Jump to navigation
Jump to search
Objectionist (talk | contribs) finished <templatedata> parameters |
Added links to hero images |
||
(7 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<onlyinclude> | <onlyinclude> | ||
<div style="display:inline-block; margin: 15px 10px 15px 10px; width:min(768px, 90vw);"> | <div style="display:inline-block; margin: 15px 10px 15px 10px; width:min(768px, 90vw);"> | ||
{|- style="text-align:left; background- | {|- style="text-align:left; background-image: linear-gradient(30deg, #F9DFB1, #fdf5e8); border-collapse:collapse; border-radius: 55px; font-size: 12px; font-family: 'PT Serif','Palatino','Georgia',serif;" | ||
| rowspan="4" | <div class="HeroCard2" style="width: min(256px, 15vw); padding: 10px 25px 10px 5px; transition: 0.08s transform ease-in-out;">[[File:{{{hero|Abrams}}} Render.png|256px|link={{{hero|Abrams}}}]]</div> | | rowspan="4" | <div class="HeroCard2 hide-parent-td-mobile" style="width: min(256px, 15vw); padding: 10px 25px 10px 5px; transition: 0.08s transform ease-in-out;">[[File:{{{hero|Abrams}}} Render.png|256px|link={{{hero|Abrams}}}]]</div> | ||
| style="text-align:center; background-color: #FEF6E7; height:20px; font-size:25px; line-height: | | style="text-align:center; font-family: 'Forevs Demo Medium'; background-color: #FEF6E7; height:20px; font-size:25px; line-height:8px;" colspan="2" | '''[[{{{hero_link|{{{hero|Abrams}}}}}}|{{{hero_loc|{{{hero|Abrams}}}}}}]]''' | ||
|- style="background-color: #FEF6E7; font-size:14px; height: | |- style="background-color: #FEF6E7; font-size:14px; height:5px; text-align:center; font-weight:bold; font-family: 'Retail Demo';" | ||
| {{ | | {{#invoke:Lang|get_string|{{{key}}}_role}} | ||
|- style="background-color:#FCEED4; font-size:14px; height:50px; text-align:center;" | |- style="background-color:#FCEED4; font-size:14px; height:50px; text-align:center;" | ||
| {{ | | {{#invoke:Lang|get_string|{{{key}}}_playstyle}} | ||
|- style="background-color:#FCEED4; font-size:14px; height:50px; text-align:center;" | |- style="background-color:#FCEED4; font-size:14px; height:50px; text-align:center;" | ||
| {{AbilityCircle|name={{{Ability1|Siphon Life}}}|iconsize=48|bgsize=69}} {{AbilityCircle|name={{{Ability2|Shoulder Charge}}}|iconsize=48|bgsize=69}} {{AbilityCircle|name={{{Ability3|Infernal Resilience}}}|iconsize=48|bgsize=69}} {{AbilityCircle|name={{{Ability4|Seismic Impact}}}|iconsize=48|bgsize=69}} | | {{AbilityCircle|name={{{Ability1|Siphon Life}}}|iconsize=48|bgsize=69}} {{AbilityCircle|name={{{Ability2|Shoulder Charge}}}|iconsize=48|bgsize=69}} {{AbilityCircle|name={{{Ability3|Infernal Resilience}}}|iconsize=48|bgsize=69}} {{AbilityCircle|name={{{Ability4|Seismic Impact}}}|iconsize=48|bgsize=69}} | ||
Line 51: | Line 51: | ||
"default": "Abrams", | "default": "Abrams", | ||
"required": true | "required": true | ||
}, | |||
"lang": { | |||
"description": "Language of descriptions. Optional.", | |||
"example": "English", | |||
"default": "English" | |||
}, | |||
"hero_link": { | |||
"description": "Link for hero page. Optional", | |||
"example": "Abrams" | |||
}, | |||
"hero_loc": { | |||
"description": "Override hero name. Optional.", | |||
"example": "Abrams" | |||
}, | }, | ||
"Ability1": { | "Ability1": { | ||
Line 58: | Line 71: | ||
}, | }, | ||
"Ability2": { | "Ability2": { | ||
"description": "The name of the character's second ability.", | |||
"example": "Shoulder Charge", | "example": "Shoulder Charge", | ||
"default": "Shoulder Charge", | |||
"required": true | |||
}, | }, | ||
"Ability3": { | "Ability3": { | ||
"description": "The name of the character's third ability.", | |||
"example": "Infernal Resilience", | "example": "Infernal Resilience", | ||
"default": "Infernal Resilience", | |||
"required": true | |||
}, | }, | ||
"Ability4": { | "Ability4": { | ||
"description": "The name of the character's ultimate.", | |||
"example": "Seismic Impact", | "example": "Seismic Impact", | ||
"default": "Seismic Impact", | |||
"required": true | "required": true | ||
}, | |||
"key": { | |||
"description": "Internal name of the Hero, used to grab summary and role.", | |||
"example": "hero_atlas, hero_bebop" | |||
} | } | ||
} | }, | ||
"paramOrder": [ | |||
"key", | |||
"hero", | |||
"lang", | |||
"hero_link", | |||
"hero_loc", | |||
"Ability1", | |||
"Ability2", | |||
"Ability3", | |||
"Ability4" | |||
] | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |
Latest revision as of 01:08, 25 October 2024
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
key | key | Internal name of the Hero, used to grab summary and role.
| Unknown | optional |
hero | hero | The name of the Hero. Used to write the title, summary and get the render image.
| Unknown | required |
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 | required |
Ability2 | Ability2 | The name of the character's second ability.
| Unknown | required |
Ability3 | Ability3 | The name of the character's third ability.
| Unknown | required |
Ability4 | Ability4 | The name of the character's ultimate.
| Unknown | required |