Template:HeroRosterCard: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Mixorio (talk | contribs)
mNo edit summary
QuinnBinn (talk | contribs)
Added links to hero images
 
(4 intermediate revisions by 3 users not shown)
Line 3: Line 3:
{|- 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;"
{|- 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 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>
| 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; font-family: 'Forevs Demo Medium'; background-color: #FEF6E7; height:20px; font-size:25px; line-height:8px;" 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: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';"
| {{Summary_hero|{{{hero|Abrams}}}|{{{lang|English}}}}}
| {{#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}}}|{{{lang|English}}}}}
| {{#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": {
"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",
"example": "Abrams"
},
"hero_loc": {
"description": "Override hero name. Optional.",
"example": "Abrams"
},
},
"Ability1": {
"Ability1": {
Line 63: Line 71:
},
},
"Ability2": {
"Ability2": {
            "description": "The name of the character's second ability.",
"description": "The name of the character's second ability.",
"example": "Shoulder Charge",
"example": "Shoulder Charge",
            "default": "Shoulder Charge",
"default": "Shoulder Charge",
            "required": true
"required": true
},
},
"Ability3": {
"Ability3": {
            "description": "The name of the character's third ability.",
"description": "The name of the character's third ability.",
"example": "Infernal Resilience",
"example": "Infernal Resilience",
            "default": "Infernal Resilience",
"default": "Infernal Resilience",
            "required": true
"required": true
},
},
"Ability4": {
"Ability4": {
            "description": "The name of the character's ultimate.",
"description": "The name of the character's ultimate.",
"example": "Seismic Impact",
"example": "Seismic Impact",
            "default": "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