Template:HeroRosterCard: Difference between revisions

simplified variables to call for name from hero key
No edit summary
Line 34: Line 34:
{
{
"params": {
"params": {
"hero": {
"description": "The name of the Hero. Used to write the title, summary and get the render image.",
"example": "Abrams",
"default": "Abrams",
"required": true
},
"lang": {
"lang": {
"description": "Language of descriptions. Optional.",
"description": "Language of descriptions. Optional.",
Line 55: Line 49:
"Ability1": {
"Ability1": {
"description": "The name of the character's first ability.",
"description": "The name of the character's first ability.",
"example": "Siphon Life",
"example": "Siphon Life"
"required": true
},
},
"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
},
},
"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
},
},
"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
},
},
"key": {
"key": {
"description": "Internal name of the Hero, used to grab summary and role.",
"description": "Internal name of the Hero, used to fill all parameters.",
"example": "hero_atlas, hero_bebop"
"example": "hero_atlas, hero_bebop",
"required": true
},
},
"no_name": {
"no_name": {
Line 93: Line 84:
"paramOrder": [
"paramOrder": [
"key",
"key",
"hero",
"lang",
"lang",
"hero_link",
"hero_link",