Template:Ability card v2/Card/MainBox/doc: Difference between revisions

Created page with "<templatedata> { "params": { "title": { "description": "Title that appears above the container", "example": "On Hit:", "type": "string" }, "scale_type": { "description": "Type of attribute scaling (other scalings exist, but only \"spirit\" is currently supported)", "example": "spirit", "type": "string", "suggestedvalues": [ "spirit" ] }, "scale_value": { "description": "Multiplier for the scaling", "example": "0.5", "type":..."
 
m Reordered and added description
Line 69: Line 69:
},
},
"key": {
"key": {
"label": "Attribute key",
"description": "Will retrieve the attribute label from localization data based on the current selected language using \"<key>_label\"",
"description": "Will retrieve the label from localization data based on the current selected language using \"<key>_label\"",
"type": "string",
"type": "string",
"suggested": true
"suggested": true
Line 78: Line 77:
"type": "string"
"type": "string"
}
}
}
},
"description": "Display element for a main ability attribute, of which heroes usually have between 1 and 3 in their ability cards",
"paramOrder": [
"key",
"value",
"type",
"scale_type",
"scale_value",
"label",
"title",
"icon",
"icon_color",
"icon_size",
"icon_link"
]
}
}
</templatedata>
</templatedata>
<noinclude>[[Category:Template documentation]]</noinclude>
<noinclude>[[Category:Template documentation]]</noinclude>