Difference between revisions of "Template:Sub"

214 bytes added ,  04:52, 10 July 2022
Cleaning up this documentation page. Hopefully the <includeonly> tags won't change existing behavior.
m (Removing whitespace)
(Cleaning up this documentation page. Hopefully the <includeonly> tags won't change existing behavior.)
 
(One intermediate revision by one other user not shown)
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 [[Enchantment]] 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