Difference between revisions of "Template:Sub"

Jump to navigation Jump to search
202 bytes added ,  04:52, 10 July 2022
Cleaning up this documentation page. Hopefully the <includeonly> tags won't change existing behavior.
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>
2,691

edits

Navigation menu