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:Stat

From Super Fantasy Kingdom Official Wiki
Revision as of 17:48, 15 July 2023 by wgg>Cadaei (Created page with "<includeonly>{{#switch: {{{1|}}} | hp = 16x16px|link=Health{{#if:{{{2|}}}|{{tooltip| {{{2}}}|Health (HP), i.e. how much damage a unit can receive until it is downed.}}}} | sh = 16x16px|link=Shield{{#if:{{{2|}}}|{{tooltip| {{{2}}}|Shield, reduces incoming damage.}}}} | pd = 16x16px|link=Physical Defense{{#if:{{{2|}}}|{{tooltip| {{{2}}}|Physical Defense, i.e. resistance versus physical dam...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Displays the icon of a stat with an explanatory tooltip if a value is given.

Parameters

  • The first parameter must be one of the following list
    • hp: Health
    • sh: Shield
    • pd: Physical Defense
    • md: Magical Defense
    • dm: Damage
    • cr: Critical Chance
    • ra: Range
    • cd: Cooldown
    • ar: Area
    • kb: Knockback
    • sp: Speed
    • du: Duration
    • gr: Greed
    • rr: Reroll
    • ba: Banish
    • cu: Curse
  • The second parameter is optional and can represent a value or change of that stat

Examples

{{stat|hp}}

{{stat|pd|10 %}}

 10 %

{{stat|sh|+10}}

 +10