Template:HeroRosterCard: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Sur (talk | contribs)
m didnt work, going to remove link from render entirely then, the name being linked can suffice
QuinnBinn (talk | contribs)
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';"
| {{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": {
"hero_link": {
"description": "Link for hero page. Optional",
"description": "Link for hero page. Optional",
"example": "Abrams"
"example": "Abrams"
},
},
        "hero_loc": {
"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.",
"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>

Revision as of 00:59, 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