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:Effect: Difference between revisions

From Super Fantasy Kingdom Official Wiki
wgg>Cadaei
changed effect info source to cargo table
wgg>Cadaei
info for unknown effects
Line 4: Line 4:
|default=
|default=
}}}}<!--
}}}}<!--
-->{{#if:{{#var:effectText}}||{{#vardefine:effectText|unknown effect}}
-->{{#if:{{#var:effectText}}||{{#vardefine:effectText|{{{1|}}} is an unknown effect, you can add effects on the Effects page or use one of the following available names: <!--
[[Category:Unknown effect template call]]}}
-->{{#cargo_query:table=Effects
[[Effects|{{Tooltip|{{{1|}}}|{{#var:effectText}}}}]]</includeonly><noinclude>{{doc}}
|fields=name
}}}}
[[Category:Unknown effect template call]]
}}<!--
-->[[Effects|{{Tooltip|{{{1|}}}|{{#var:effectText}}}}]]</includeonly><noinclude>{{doc}}
[[Category:Formatting templates]]
[[Category:Formatting templates]]
[[Category:Cargo query templates]]</noinclude>
[[Category:Cargo query templates]]</noinclude>

Revision as of 09:58, 21 October 2023

File:Template-info.svg Documentation Edit this documentation at Template:Effect/doc.
(edit • history • purge)

Explains a status effect in a tooltip. A second optional parameter can be used to display a different text. The data is stored in the cargo table Special:CargoTables/Effects via Template:EffectStore.

Example

{{effect|Taunt}}

Taunt

{{effect|Taunt|Taunted}}

Taunt

{{effect|Taunt|inline=1}}

Taunt