Template:HeroRosterCard: Difference between revisions
Jump to navigation
Jump to search
m didnt work, going to remove link from render entirely then, the name being linked can suffice |
Changed role and playstyle to grab from lang |
||
Line 5: | Line 5: | ||
| 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="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:5px; text-align:center; font-weight:bold; font-family: 'Retail Demo';" | |- 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 52: | Line 52: | ||
"required": true | "required": true | ||
}, | }, | ||
"lang": { | |||
"description": "Language of descriptions. Optional.", | "description": "Language of descriptions. Optional.", | ||
"example": "English", | "example": "English", | ||
"default": "English" | "default": "English" | ||
}, | }, | ||
"hero_link": { | |||
"description": "Link for hero page. Optional", | "description": "Link for hero page. Optional", | ||
"example": "Abrams" | "example": "Abrams" | ||
}, | }, | ||
"hero_loc": { | |||
"description": "Override hero name. Optional.", | "description": "Override hero name. Optional.", | ||
"example": "Abrams" | "example": "Abrams" | ||
Line 71: | 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> |
Revision as of 00:59, 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 |