Difference between revisions of "Template:AB"

From Archives of Lusternian Lore
Jump to navigation Jump to search
(Created page with '==Clotting== {| |- | style="background:darkblue; color:white"|'''Syntax:''' |- | style="background:lightblue"|<tt>CLOT</tt> |- |} This will permit you to partially clot your ble…')
 
(Added an additional note usage in the example so that users will know how that looks.)
 
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Clotting==
<includeonly>
 
== {{{skillname|Needs "skillname"!}}} ==
{|
{|
|-
{{#if:{{{syntax|}}}|
| style="background:darkblue; color:white"|'''Syntax:'''
{{!}}-
|-
{{!}} style="background:darkblue; color:white" {{!}} '''Syntax'''
| style="background:lightblue"|<tt>CLOT</tt>
{{!}}-
|-
{{!}} style="background:lightblue"{{!}}<tt>{{{syntax|}}}</tt>
}}
{{#if:{{{cost|}}}|
{{!}}-
{{!}} style="background:pink {{!}} {{{cost|}}}
}}
|}
|}
This will permit you to partially clot your bleeding.


{|
{{{description|Needs "description"!}}}
|-
{{#if:{{{notes|}}}|
| style="background:darkgreen; color:white"|'''Additional Notes:'''
{{{!}}
|-
{{!}}-
| style="background:lightgreen"|Each clot will stop 20 bleeding at a cost of 40-60 mana.
{{!}} style="background:darkgreen; color:white"{{!}}'''Additional Notes:'''
|-
{{!}}-
|}
{{!}} style="background:lightgreen"{{!}}{{{notes|}}}
{{!}}-
{{!}}}
}}</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.