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 space fix |
wgg>Cadaei space fix |
||
| Line 9: | Line 9: | ||
| wet = {{#vardefine:effectText|+10 % cooldown, -10 % movement speed}} | | wet = {{#vardefine:effectText|+10 % cooldown, -10 % movement speed}} | ||
| bleeding = {{#vardefine:effectText|unknown effect, a text can be added at Template:Effect}} | | bleeding = {{#vardefine:effectText|unknown effect, a text can be added at Template:Effect}} | ||
| {{#vardefine:effectText|unknown effect, a text can be added at Template:Effect}} | | #default = [[Category:Unknown effect template call]] {{#vardefine:effectText|unknown effect, a text can be added at Template:Effect}} | ||
}}[[Effects|{{Tooltip|{{{1|}}}|{{#var:effectText}}}}]]</includeonly><noinclude>{{doc}} | }}[[Effects|{{Tooltip|{{{1|}}}|{{#var:effectText}}}}]]</includeonly><noinclude>{{doc}} | ||
[[category:formatting templates]]</noinclude> | [[category:formatting templates]]</noinclude> | ||
Revision as of 22:04, 18 October 2023
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}}


