|
|
Ligne 1 : |
Ligne 1 : |
| <includeonly>{{ImageLabel|Ability_{{#switch:{{{1}}} | | <includeonly>{{#invoke:Ability|main}}</includeonly><noinclude> |
| |? = Locked
| | Template invocation of [[Module:Ability]]. |
| |#default = {{{1}}}
| |
| }}.svg|{{if||{{{text|}}}|{{{text}}}|{{#ifeq:{{{icononly|false}}}|true||{{#ifeq:{{{1}}}|?||[[{{#switch:{{{1}}}|
| |
| |Recon = Recon (Ability){{!}}Recon
| |
| |#default = {{{1}}} | |
| }}]]}}}}}}|link={{#switch:{{{1}}}
| |
| |? = Ability
| |
| |Recon = Recon (Ability)
| |
| |#default = {{{1}}}
| |
| }}|title={{#switch:{{{1}}}
| |
| |? = Locked
| |
| |#default = {{{1}}}
| |
| }}|size={{{size|24px}}}|width={{{width|auto}}}|align={{{align|left}}}}}</includeonly><noinclude>
| |
| == Usage ==
| |
| <nowiki>{{</nowiki>Ability|''ability''}}
| |
| *''ability'' - The full name of the Ability, such as "Ninja Squid"
| |
| **Entering "?" as the ability will display the locked Ability icon and no text.
| |
|
| |
|
| '''Optional Parameters:'''
| | {{:Module:Ability/doc}} |
| *''size'' - If present, the size parameter for the <nowiki>[[File]]</nowiki> element.
| |
| *''text'' - If present, replaces the default ability link text with the specified text. Overrides icononly.
| |
| *''icononly'' - If present and set to "true", the text link will not appear.
| |
| | |
| == Examples ==
| |
| {{Ability|Bomb Range Up}}<br />
| |
| {{Ability|Bomb Sniffer}}<br />
| |
| {{Ability|Cold Blooded}}<br />
| |
| {{Ability|Comeback}}<br />
| |
| {{Ability|Damage Up}}<br />
| |
| {{Ability|Defense Up}}<br />
| |
| {{Ability|Haunt}}<br />
| |
| {{Ability|Ink Recovery Up}}<br />
| |
| {{Ability|Ink Resistance Up}}<br />
| |
| {{Ability|Ink Saver (Main)}}<br />
| |
| {{Ability|Ink Saver (Sub)}}<br />
| |
| {{Ability|Last-Ditch Effort}}<br />
| |
| {{Ability|Ninja Squid}}<br /> | |
| {{Ability|Opening Gambit}}<br />
| |
| {{Ability|Quick Respawn}}<br />
| |
| {{Ability|Quick Super Jump}}<br />
| |
| {{Ability|Recon}}<br />
| |
| {{Ability|Run Speed Up}}<br />
| |
| {{Ability|Special Charge Up}}<br />
| |
| {{Ability|Special Duration Up}}<br />
| |
| {{Ability|Special Saver}}<br />
| |
| {{Ability|Stealth Jump}}<br />
| |
| {{Ability|Swim Speed Up}}<br />
| |
| {{Ability|Tenacity}}<br />
| |
| {{Ability|Tenacity|size=50px}}<br />
| |
| {{Ability|Tenacity|size=50px|icononly=true}}<br />
| |
| {{Ability|Tenacity|size=50px|text=[[Tenacity]] is only available on [[Headgear]]}}<br />
| |
| {{Ability|?}}
| |
| </noinclude> | | </noinclude> |