Template:Ability tabs/doc: Difference between revisionsGive feedback
Gammaton32 (talk | contribs) Created page with "== Overview == This template uses Template:Ability_card_v2 to generate ability cards and tabs for hero pages." |
Gammaton32 (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
== Overview == | == Overview == | ||
This template uses [[Template:Ability_card_v2]] to generate ability cards and tabs for hero pages. | This template uses [[Template:Ability_card_v2]] to generate ability cards and tabs for hero pages. | ||
=== Example === | |||
<pre> | |||
<nowiki>{{Ability tabs | |||
| name=Abrams | |||
| ability1_notes=* At base duration, Shoulder Charge travels approximately 17.5m. | |||
}}</nowiki> | |||
</pre>{{Ability tabs | |||
| name=Abrams | |||
| ability1_notes=* At base duration, Shoulder Charge travels approximately 17.5m. | |||
}} | |||
<templatedata> | |||
{ | |||
"params": { | |||
"name": { | |||
"description": "Hero name (page name by default)", | |||
"example": "Abrams", | |||
"type": "string" | |||
}, | |||
"ability1_notes": { | |||
"description": "Notes on ability 1", | |||
"type": "string" | |||
}, | |||
"ability2_notes": { | |||
"description": "Notes on ability 2", | |||
"type": "string" | |||
}, | |||
"ability3_notes": { | |||
"description": "Notes on ability 3", | |||
"type": "string" | |||
}, | |||
"ability4_notes": { | |||
"description": "Notes on ability 4", | |||
"type": "string" | |||
} | |||
}, | |||
"paramOrder": [ | |||
"name", | |||
"ability1_notes", | |||
"ability2_notes", | |||
"ability3_notes", | |||
"ability4_notes" | |||
], | |||
"description": " " | |||
} | |||
</templatedata> | |||
<noinclude>[[Category:Template documentation]]</noinclude> | |||