Template:Ability: Difference between revisions

From Warma-wiki
Jump to navigation Jump to search
(Created page with "<includeonly> [[:Category:{{{ability}}}|{{{ability}}}]] </includeonly> <noinclude> Ability template. The Ability template creates the category if one isn't already done, and also creates a clarification category for the ability. This is what it looks like: {{Ability | ability = Defense Formation}} This is what you copy into the block. <pre> {{Ability | ability = Defense Formation}} </pre> </noinclude>")
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
  [[:Category:{{{ability}}}|{{{ability}}}]]
<tr>
    <td>  [[:Category:{{{ability}}}|{{{ability}}}]] </td>
    <td>  {{#ifexist: [[:Category:ERRATA-{{{ability}}}]] | errata | }}  </td>
</tr>
[[Category:{{{ability}}}]]
</includeonly>
</includeonly>


<noinclude>
<noinclude>
Ability template. The Ability template creates the category if one isn't already done, and also creates a clarification category for the ability.  
Ability template. Creates a table row for the block, which contains links to the ability category page. If there is an errata page, it will link to that too.  
=Example=
This is what it looks like: {{Ability | ability = example ability}}


This is what it looks like: {{Ability | ability = Defense Formation}}
=Usage=
This is what you copy into the block.  
This is what you copy into the block.  
<pre>    {{Ability | ability = Defense Formation}} </pre>
<pre>    {{Ability | ability = example ability}} </pre>




</noinclude>
</noinclude>

Latest revision as of 23:50, 27 December 2023


Ability template. Creates a table row for the block, which contains links to the ability category page. If there is an errata page, it will link to that too.

Example

This is what it looks like:

example ability

Usage

This is what you copy into the block.

    {{Ability | ability = example ability}}