Changes

Jump to: navigation, search

Template:Abilities list formatted

1,879 bytes added, 03:10, 15 February 2019
Created page with "<noinclude> ==Usage== Given a comma-separated list of card abilities, produce a formatted list with one ability per line, suitable for inclusion in an infobox. The list will..."
<noinclude>
==Usage==

Given a comma-separated list of card abilities, produce a formatted list with one ability per line, suitable for inclusion in an infobox. The list will be sorted to a standard order: Icon abilities alphabetically, followed by keyword abilities alphabetically.

* Each word of each ability should be capitalised.
* Only the first 10 abilities will be processed.

==Example==

The following shorthand:
<pre><nowiki>
{{Abilities list formatted|Activate,Double Strike,Flying,Trample,Vigilance}}
</nowiki></pre>

Produces:
{{Abilities list formatted|Activate,Double Strike,Flying,Trample,Vigilance}}

</noinclude><includeonly><!--
-->{{Ability icon formatted|{{#explode:{{{1}}}|,|0}}}}<!--
-->{{Ability icon formatted|{{#explode:{{{1}}}|,|1}}}}<!--
-->{{Ability icon formatted|{{#explode:{{{1}}}|,|2}}}}<!--
-->{{Ability icon formatted|{{#explode:{{{1}}}|,|3}}}}<!--
-->{{Ability icon formatted|{{#explode:{{{1}}}|,|4}}}}<!--
-->{{Ability icon formatted|{{#explode:{{{1}}}|,|5}}}}<!--
-->{{Ability icon formatted|{{#explode:{{{1}}}|,|6}}}}<!--
-->{{Ability icon formatted|{{#explode:{{{1}}}|,|7}}}}<!--
-->{{Ability icon formatted|{{#explode:{{{1}}}|,|8}}}}<!--
-->{{Ability icon formatted|{{#explode:{{{1}}}|,|9}}}}<!--
-->{{Ability keyword formatted|{{#explode:{{{1}}}|,|0}}}}<!--
-->{{Ability keyword formatted|{{#explode:{{{1}}}|,|1}}}}<!--
-->{{Ability keyword formatted|{{#explode:{{{1}}}|,|2}}}}<!--
-->{{Ability keyword formatted|{{#explode:{{{1}}}|,|3}}}}<!--
-->{{Ability keyword formatted|{{#explode:{{{1}}}|,|4}}}}<!--
-->{{Ability keyword formatted|{{#explode:{{{1}}}|,|5}}}}<!--
-->{{Ability keyword formatted|{{#explode:{{{1}}}|,|6}}}}<!--
-->{{Ability keyword formatted|{{#explode:{{{1}}}|,|7}}}}<!--
-->{{Ability keyword formatted|{{#explode:{{{1}}}|,|8}}}}<!--
-->{{Ability keyword formatted|{{#explode:{{{1}}}|,|9}}}}<!--
--></includeonly>

Navigation menu