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

From Super Fantasy Kingdom Official Wiki
wgg>Cadaei
link to related table and template
wgg>Cadaei
second parameter
Line 1: Line 1:
{{doc/start}}
{{doc/start}}
Explains a [[Effects|status effect]] in a tooltip. The data is stored in the cargo table [[Special:CargoTables/Effects]] via [[Template:EffectStore]].
Explains a [[Effects|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==
==Example==
  <nowiki>{{effect|Taunt}}</nowiki>
  <nowiki>{{effect|Taunt}}</nowiki>
{{effect|Taunt}}
{{effect|Taunt}}
<nowiki>{{effect|Taunt|Taunted}}</nowiki>
{{effect|Taunt|Taunted}}
{{doc/end}}
{{doc/end}}

Revision as of 15:34, 21 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}}

Taunt

{{effect|Taunt|Taunted}}

Taunted