Difference between revisions of "Template:AB"

m
(Added an additional note usage in the example so that users will know how that looks.)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
<includeonly>
<pre>
 
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 *    - Self Explanatory. Make sure to use the same case and formatting as its shortname from the TOC<br>
syntax        - Separate Syntaxes with <br> tags.<br>
cost          - This argument holds both the cost and effect blocks. See [[Style Guide]].<br>
description *  - Obvious. If there are SYNTAXes in the text, surround them in <nowiki><tt></nowiki> tags.<br>
notes          - For editorial comments explaining the effect pool or details on how the skill actually works. <br>
<br>
(*required arguments)
 
Be sure to clear linebreaks from the description. If you're having trouble formatting, contact the Chief Chronicler.
</pre>
----</noinclude>
== {{{skillname|Needs "skillname"!}}} ==
== {{{skillname|Needs "skillname"!}}} ==
{|
{|
Line 23: 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 29: Line 12:
  {{!}} style="background:pink {{!}} {{{cost|}}}
  {{!}} style="background:pink {{!}} {{{cost|}}}
}}
}}
|}
|}


{{{description|Needs "description"!}}}
{{{description|Needs "description"!}}}
Line 40: 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>

Latest revision as of 21:53, 15 July 2022

This template should be used in conjunction with the Sub Template for all AB entries, so that future style changes can be made across the entire wiki at once.

Parameters:

skillname * - Self Explanatory. Make sure to use the same case and formatting as its shortname from the TOC
syntax - Separate Syntaxes with <br> tags.
cost - This argument holds both the cost and effect blocks. See Style Guide.
description * - Obvious. If there are SYNTAXes in the text, surround them in <tt> tags.
notes - For editorial comments explaining the effect pool or details on how the skill actually works.

(*required arguments)

Be sure to clear linebreaks from the description. If you're having trouble formatting, contact the Chief Chronicler.

Example

{{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.
}}

Swimming

Syntax
SWIM <direction>

Using this ability, you can swim in lakes, rivers, and the ocean, albeit slowly.

Additional Notes:
You will take health damage if you do not have waterbreathing or fluidswim.