Template:HeroRosterCard: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Saag (talk | contribs)
Added links to hero names
QuinnBinn (talk | contribs)
Added links to hero images
 
(9 intermediate revisions by 5 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-color: #F9DFB1; border-collapse:collapse; border-radius: 55px; font-size: 12px; font-family: 'PT Serif','Palatino','Georgia',serif;"
{|- 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">[[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:11px" colspan="2" | '''[[{{{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:8px; text-align:center; font-weight:bold;"
|- style="background-color: #FEF6E7; font-size:14px; height:5px; text-align:center; font-weight:bold; font-family: 'Retail Demo';"
| {{Summary_hero|{{{hero|Abrams}}}}}
| {{#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;"
| {{Description_hero|{{{hero|Abrams}}}}}
| {{#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": {
"description": "The name of the first character's ability.",
"description": "The name of the character's first ability.",
"example": "Siphon Life",
"example": "Siphon Life",
"default": "Siphon Life",
"required": true
"required": true
},
},
"Ability2": {
"Ability2": {
"description": "The name of the character's second ability.",
"example": "Shoulder Charge",
"default": "Shoulder Charge",
"required": true
"required": true
},
},
"Ability3": {
"Ability3": {
"description": "The name of the character's third ability.",
"example": "Infernal Resilience",
"default": "Infernal Resilience",
"required": true
"required": true
},
},
"Ability4": {
"Ability4": {
"description": "The name of the character's ultimate.",
"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

Abrams


Bebop
Dynamo
Grey Talon
Haze

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
keykey

Internal name of the Hero, used to grab summary and role.

Example
hero_atlas, hero_bebop
Unknownoptional
herohero

The name of the Hero. Used to write the title, summary and get the render image.

Default
Abrams
Example
Abrams
Unknownrequired
langlang

Language of descriptions. Optional.

Default
English
Example
English
Unknownoptional
hero_linkhero_link

Link for hero page. Optional

Example
Abrams
Unknownoptional
hero_lochero_loc

Override hero name. Optional.

Example
Abrams
Unknownoptional
Ability1Ability1

The name of the character's first ability.

Example
Siphon Life
Unknownrequired
Ability2Ability2

The name of the character's second ability.

Default
Shoulder Charge
Example
Shoulder Charge
Unknownrequired
Ability3Ability3

The name of the character's third ability.

Default
Infernal Resilience
Example
Infernal Resilience
Unknownrequired
Ability4Ability4

The name of the character's ultimate.

Default
Seismic Impact
Example
Seismic Impact
Unknownrequired