Please note that some information on this wiki is still based on the demo version.
If you notice any errors, feel free to correct them.

Template:EffectStore: Difference between revisions

From Super Fantasy Kingdom Official Wiki
wgg>Cadaei
Created page with "<includeonly>{{{1|}}} {{#if:{{#var:noCargo}}||{{#cargo_store:_table=Effects |name={{{name|}}} |effect={{{1|}}} }}}}</includeonly><noinclude> This is a template to store info about a status effect, the effect text is also displayed. Using it like <pre> {{EffectStore | name = Stun | effect = Stun immobilizes target for 1 s. }} </pre> will display the effect text and store the effect in the cargo table Special:CargoTables/Effects. {{#cargo_declare:_table=Eff..."
 
m 4 revisions imported
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>{{{1|}}}
<includeonly>{{{effect|{{{1|}}}}}}{{#if:{{#var:noCargo}}||{{#if:{{{effect|{{{1|}}}}}}|{{#cargo_store:_table=Effects
{{#if:{{#var:noCargo}}||{{#cargo_store:_table=Effects
|name={{{name|}}}
|name={{{name|}}}
|effect={{{1|}}}
|effect={{{effect|{{{1|}}}}}}
}}}}</includeonly><noinclude>
}}}}}}</includeonly><noinclude>
This is a template to store info about a [[Effects|status effect]], the effect text is also displayed.
This is a template to store info about a [[Effects|status effect]], the effect text is also displayed.
The stored info is used by the [[Template:Effect]].
Using it like
Using it like
<pre>
<pre>

Latest revision as of 23:46, 21 October 2025

This is a template to store info about a status effect, the effect text is also displayed.

The stored info is used by the Template:Effect.

Using it like

{{EffectStore
| name = Stun
| effect = Stun immobilizes target for 1 s.
}}

will display the effect text and store the effect in the cargo table Special:CargoTables/Effects. This template defines the table "Effects". View table.