Difference between revisions of "Template:Ability"
(Created page with "<noinclude> ==Usage== Format the name of a keyword or icon ability, including a link to its description. ==Example== The following shorthand: <pre><nowiki> {{Ability|First St...") |
|||
Line 2: | Line 2: | ||
==Usage== | ==Usage== | ||
Format the name of a keyword or icon ability, including a link to its description. | Format the name of a keyword or icon ability, including a link to its description. | ||
+ | |||
+ | The first parameter is the name of the ability. | ||
+ | |||
+ | The second parameter (optional) is the text to display for the ability, which should be limited to the ability name in a different word form. The default value is the first parameter. | ||
==Example== | ==Example== | ||
Line 7: | Line 11: | ||
<pre><nowiki> | <pre><nowiki> | ||
{{Ability|First Strike}} | {{Ability|First Strike}} | ||
+ | |||
+ | {{Ability|Raid|Raided}} | ||
</nowiki></pre> | </nowiki></pre> | ||
Line 13: | Line 19: | ||
{{Ability|First Strike}} | {{Ability|First Strike}} | ||
− | </noinclude><includeonly>[[Abilities#{{{1}}}|''{{{1}}}'']]</includeonly> | + | {{Ability|Raid|Raided}} |
+ | |||
+ | </noinclude><includeonly>[[Abilities#{{{1}}}|''{{{2|{{{1}}}}}}'']]</includeonly> |
Revision as of 09:49, 15 March 2019
Usage
Format the name of a keyword or icon ability, including a link to its description.
The first parameter is the name of the ability.
The second parameter (optional) is the text to display for the ability, which should be limited to the ability name in a different word form. The default value is the first parameter.
Example
The following shorthand:
{{Ability|First Strike}} {{Ability|Raid|Raided}}
Produces: