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
cleanup in hopes of fixing tooltips in secondary cargo tables |
add named arg for fix? |
||
| Line 3: | Line 3: | ||
|fields=effect | |fields=effect | ||
|default= | |default= | ||
|named args=yes | |||
}}}}<!-- | }}}}<!-- | ||
-->{{#if:{{#var:effectText}}{{{inline|}}}||{{#vardefine:effectText|{{{1|}}} is an unknown effect, you can add effects on the Effects page or use one of the following available names: <!-- | -->{{#if:{{#var:effectText}}{{{inline|}}}||{{#vardefine:effectText|{{{1|}}} is an unknown effect, you can add effects on the Effects page or use one of the following available names: <!-- | ||
-->{{#cargo_query:table=Effects | -->{{#cargo_query:table=Effects | ||
|fields=name | |fields=name | ||
|named args=yes | |||
}}}}}}<!-- | }}}}}}<!-- | ||
-->[[{{{1|}}}|{{#if:{{{inline|}}} | -->[[{{{1|}}}|{{#if:{{{inline|}}} | ||
Latest revision as of 18:50, 11 May 2026
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}}
{{effect|Taunt|Taunted}}
{{effect|Taunt|inline=1}}
Taunt Taunt attracts targets for 5s


