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 info for unknown effects |
wgg>Cadaei link to effects page |
||
| Line 1: | Line 1: | ||
<includeonly>{{#switch:{{lc:{{{1|}}}}} | <includeonly>{{#switch:{{lc:{{{1|}}}}} | ||
| bless = {{ | | bless = {{#vardefine:effectText|Holy Damage}} | ||
| rejuvenate = {{ | | rejuvenate = {{#vardefine:effectText|Rejuvenate X: Regenerate X health per second}} | ||
| shock | shocked = {{ | | shock | shocked = {{#vardefine:effectText|Shock increases chance to receive critical hits by 25 %}} | ||
| stun | stunned = {{ | | stun | stunned = {{#vardefine:effectText|Stun immobilizes target for 1 s}} | ||
| taunt | taunted = {{ | | taunt | taunted = {{#vardefine:effectText|Taunt attracts targets for 5 s}} | ||
| wet = {{ | | wet = {{#vardefine:effectText|+10 % cooldown, -10 % movement speed}} | ||
| {{ | | bleeding = {{#vardefine:effectText|}} | ||
}}</includeonly><noinclude>{{doc}} | | {{#vardefine:effectText|unknown effect, a text can be added at Template:Effect}} | ||
}}[[Effects|{{Tooltip|{{{1|}}}|{{#var:effectText}}}}]]</includeonly><noinclude>{{doc}} | |||
[[category:formatting templates]]</noinclude> | [[category:formatting templates]]</noinclude> | ||
Revision as of 12:18, 14 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}}


