Difference between revisions of "Template:AB"

Jump to navigation Jump to search
1,020 bytes added ,  21:53, 15 July 2022
Added an additional note usage in the example so that users will know how that looks.
(Added an additional note usage in the example so that users will know how that looks.)
 
(9 intermediate revisions by 2 users not shown)
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.
 
 
=== Arguments: ===
skillname * <br>
syntax <br>
cost <br>
description *<br>
notes <br>
<br>
(*required arguments)
 
Be sure to clear linebreaks from the description. If you're having trouble formatting, contact the Chief Chronicler.
 
----</noinclude>
== {{{skillname|Needs "skillname"!}}} ==
== {{{skillname|Needs "skillname"!}}} ==
{|
{|
Line 22: Line 6:
  {{!}} style="background:darkblue; color:white" {{!}} '''Syntax'''
  {{!}} style="background:darkblue; color:white" {{!}} '''Syntax'''
{{!}}-
{{!}}-
{{!}} style="background:lightblue"{{!}}<tt> {{{syntax|}}} </tt>
{{!}} style="background:lightblue"{{!}}<tt>{{{syntax|}}}</tt>
}}
}}
{{#if:{{{cost|}}}|
{{#if:{{{cost|}}}|
Line 28: Line 12:
  {{!}} style="background:pink {{!}} {{{cost|}}}
  {{!}} style="background:pink {{!}} {{{cost|}}}
}}
}}
|}
|}


{{{description|Needs "description"!}}}
{{{description|Needs "description"!}}}
Line 39: Line 23:
{{!}}-
{{!}}-
{{!}}}
{{!}}}
}}</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.
|notes = You will take damage if you do not have waterbreathing or fluidswim.
}}</pre>
{{AB
|skillname = Swimming
|syntax = SWIM <direction>
|description = Using this ability, you can swim in lakes, rivers, and the ocean, albeit slowly.
|notes = You will take health damage if you do not have waterbreathing or fluidswim.
}}
}}
[[Category: Templates]]</noinclude>
2,691

edits

Navigation menu