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

m added inputs to produce examples
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=== Overview ===
== Overview ==
Display element for an alternate ability, similar to main box attributes. Can be any number of these on an ability card
Display element for an alternate ability attribute, similar to main box attributes. Can be any number of these on an ability card


=== Examples ===
=== Examples ===
Line 39: Line 39:
==== In an Ability Card ====
==== In an Ability Card ====
<pre><nowiki>{{Ability card v2
<pre><nowiki>{{Ability card v2
| hero_name=Abrams
| hero_name=Vindicta
| ability_num=2
| ability_num=3
| notes=
* At base duration, Shoulder Charge travels approximately 17.5m.
}}</nowiki></pre>
}}</nowiki></pre>
{{Ability card v2
{{Ability card v2
| hero_name=Abrams
| hero_name=Vindicta
| ability_num=2
| ability_num=3
| notes=
* At base duration, Shoulder Charge travels approximately 17.5m.
}}
}}
<templatedata>
<templatedata>
Line 54: Line 50:
"params": {
"params": {
"scale_type": {
"scale_type": {
"description": "Type of attribute scaling (other scalings exist, but only \"spirit\" is currently supported)",
"description": "Type of attribute scaling",
"example": "spirit",
"example": "spirit",
"type": "string",
"type": "string",
"suggestedvalues": [
"suggestedvalues": [
"spirit"
"spirit",
                "weapon_power"
]
]
},
},