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 added inline option to not use tooltip but effect text in parenthesis |
wgg>Cadaei link to effect section |
||
| Line 9: | Line 9: | ||
}}}}}}<!-- | }}}}}}<!-- | ||
-->{{#if:{{{inline|}}} | -->{{#if:{{{inline|}}} | ||
|[[Effects|{{{2|{{{1|}}}}}}]] ({{#var:effectText}}) | |[[Effects#{{{1|}}}|{{{2|{{{1|}}}}}}]] ({{#var:effectText}}) | ||
|[[Effects|{{Tooltip|{{{2|{{{1|}}}}}}|{{#var:effectText}}}}]] | |[[Effects#{{{1|}}}|{{Tooltip|{{{2|{{{1|}}}}}}|{{#var:effectText}}}}]] | ||
}}</includeonly><noinclude>{{doc}} | }}</includeonly><noinclude>{{doc}} | ||
[[Category:Formatting templates]] | [[Category:Formatting templates]] | ||
[[Category:Cargo query templates]]</noinclude> | [[Category:Cargo query templates]]</noinclude> | ||
Revision as of 09:53, 28 January 2024
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)


