Difference between revisions of "Template:Sub"

From Archives of Lusternian Lore
Jump to navigation Jump to search
m
(Cleaning up this documentation page. Hopefully the <includeonly> tags won't change existing behavior.)
 
Line 1: Line 1:
 
<includeonly>
{|
{|
  {{!}}-
  {{!}}-
Line 9: Line 9:
  {{!}} style="background:pink {{!}} {{{cost|}}}
  {{!}} style="background:pink {{!}} {{{cost|}}}
}}
}}
  |}
  |}</includeonly>
<noinclude>
<noinclude>
----
This template should be used within the [[Template:AB|Ability]] template to create syntax/cost boxes within the body of the description. See [[Ecology#Rebirth|Ecology - Rebirth]] for example usage.  
This template should be used within the [[Template:AB|Ability]] template to create syntax/cost boxes within the body of the description. See [[Ecology#Rebirth|Rebirth]] for example usage.  


Fields: syntax and cost.
==Parameters==
*<code>syntax</code>
*<code>cost</code> - Optional.


[[Category:Templates]]</noinclude>
==Example==
<pre>{{sub
|syntax = EVOKE HOD
|cost = Power: 3 (any)
}}</pre>
{{Sub
|syntax = EVOKE HOD
|cost = Power: 3 (any)
}}
[[Category: Templates]]</noinclude>

Latest revision as of 04:52, 10 July 2022


This template should be used within the Ability template to create syntax/cost boxes within the body of the description. See Ecology - Rebirth for example usage.

Parameters

  • syntax
  • cost - Optional.

Example

{{sub
|syntax = EVOKE HOD
|cost = Power: 3 (any)
}}
Syntax
EVOKE HOD
Power: 3 (any)