Template:Effect/doc: Difference between revisions

Jerimee (talk | contribs)
move doc to doc subpage
Jerimee (talk | contribs)
Add H3 headers. Remove confusing and redundant phrase "The fourth is effect type in base 2."
 
Line 4: Line 4:
{{#cargo_declare:_table=Effects|DisplayName=Wikitext|PlainName=String|Description=Wikitext|EffectID=String|Type=String|DamageTypes=String|DontIndex=Boolean}}
{{#cargo_declare:_table=Effects|DisplayName=Wikitext|PlainName=String|Description=Wikitext|EffectID=String|Type=String|DamageTypes=String|DontIndex=Boolean}}


The first argument is the name of the effect, and the second argument is the description. The third is id. The fourth is effect type in base 2.
=== Parameters ===
You can also used named parameters.
 
The first argument is the name of the effect, and the second argument is the description. The third is id. You can also used named parameters.
{| class="wikitable"
{| class="wikitable"
! Parameter name
! Parameter name
Line 35: Line 36:
|}
|}


;Usage:
===Usage===
<pre>
<pre>
{{Effect
{{Effect