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) wording |
||
| (3 intermediate revisions by the same user not shown) | |||
| 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=* This is a note for Siphon Life. | |||
}}</nowiki> | |||
</pre>{{Ability tabs | |||
| name=Abrams | |||
| ability1_notes=* This is a note for Siphon Life. | |||
}} | |||
<templatedata> | |||
{ | |||
"params": { | |||
"name": { | |||
"description": "Hero name", | |||
"example": "Abrams", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"ability1_notes": { | |||
"description": "Notes on 1st ability", | |||
"type": "string" | |||
}, | |||
"ability2_notes": { | |||
"description": "Notes on 2nd ability", | |||
"type": "string" | |||
}, | |||
"ability3_notes": { | |||
"description": "Notes on 3rd ability", | |||
"type": "string" | |||
}, | |||
"ability4_notes": { | |||
"description": "Notes on 4th ability (ultimate)", | |||
"type": "string" | |||
} | |||
}, | |||
"paramOrder": [ | |||
"name", | |||
"ability1_notes", | |||
"ability2_notes", | |||
"ability3_notes", | |||
"ability4_notes" | |||
], | |||
"description": " " | |||
} | |||
</templatedata> | |||
<noinclude>[[Category:Template documentation]]</noinclude> | |||