Difference between revisions of "Template:AB"

330 bytes added ,  21:11, 11 July 2022
Moved the template code to the top of the page; added an example section.
(Instead of the preformatted text box, I have made this more in line with wiki style.)
(Moved the template code to the top of the page; added an example section.)
Line 1: Line 1:
<noinclude>
<includeonly>
This template should be used in conjunction with the [[Template:Sub|Sub Template]] for all AB entries, so that future style changes can be made across the entire wiki at once.
 
== Parameters: ==
<code>skillname</code> *    - Self Explanatory. Make sure to use the same case and formatting as its shortname from the TOC<br>
<code>syntax</code>        - Separate Syntaxes with <<nowiki />br> tags.<br>
<code>cost</code>          - This argument holds both the cost and effect blocks. See [[Style Guide]].<br>
<code>description</code> *  - Obvious. If there are SYNTAXes in the text, surround them in <<nowiki />tt> tags.<br>
<code>notes</code>          - For editorial comments explaining the effect pool or details on how the skill actually works. <br>
 
(*required arguments)
 
Be sure to clear linebreaks from the description. If you're having trouble formatting, contact the Chief Chronicler.
[[Category: Templates]]
</noinclude><includeonly>
== {{{skillname|Needs "skillname"!}}} ==
== {{{skillname|Needs "skillname"!}}} ==
{|
{|
Line 37: Line 23:
{{!}}-
{{!}}-
{{!}}}
{{!}}}
}}</includeonly>
}}</includeonly><noinclude>
This template should be used in conjunction with the [[Template:Sub|Sub Template]] for all AB entries, so that future style changes can be made across the entire wiki at once.
 
== Parameters: ==
<code>skillname</code> *    - Self Explanatory. Make sure to use the same case and formatting as its shortname from the TOC<br>
<code>syntax</code>        - Separate Syntaxes with <<nowiki />br> tags.<br>
<code>cost</code>          - This argument holds both the cost and effect blocks. See [[Style Guide]].<br>
<code>description</code> *  - Obvious. If there are SYNTAXes in the text, surround them in <<nowiki />tt> tags.<br>
<code>notes</code>          - For editorial comments explaining the effect pool or details on how the skill actually works. <br>
 
(*required arguments)
 
Be sure to clear linebreaks from the description. If you're having trouble formatting, contact the Chief Chronicler.
 
== Example ==
<pre>{{AB
|skillname = Swimming
|syntax = SWIM <direction>
|description = Using this ability, you can swim in lakes, rivers, and the ocean, albeit slowly.
}}</pre>
{{AB
|skillname = Swimming
|syntax = SWIM <direction>
|description = Using this ability, you can swim in lakes, rivers, and the ocean, albeit slowly.
}}
[[Category: Templates]]</noinclude>
2,563

edits