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

From Super Fantasy Kingdom Official Wiki
wgg>Cadaei
rg=Rage
wgg>Cadaei
added Mana
Line 1: Line 1:
<includeonly>{{#switch: {{{1|}}}
<includeonly>{{#switch: {{{1|}}}
| hp = [[File:Health.png|16x16px|link=Health]]{{#if:{{{2|}}}|{{tooltip|&nbsp;{{{2}}}|Health (HP), i.e. how much damage a unit can receive until it is downed.}}}}
| hp = [[File:Health.png|16x16px|link=Health]]{{#if:{{{2|}}}|{{tooltip|&nbsp;{{{2}}}|Health (HP), i.e. how much damage a unit can receive until it is downed.}}}}
| ma = [[File:Mana.png|16x16px|link=Mana]]{{#if:{{{2|}}}|{{tooltip|&nbsp;{{{2}}}|Some units use Mana instead of health and use it to perform attacks.}}}}
| sh = [[File:Shield.png|16x16px|link=Shield]]{{#if:{{{2|}}}|{{tooltip|&nbsp;{{{2}}}|Shield, reduces incoming damage.}}}}
| sh = [[File:Shield.png|16x16px|link=Shield]]{{#if:{{{2|}}}|{{tooltip|&nbsp;{{{2}}}|Shield, reduces incoming damage.}}}}
| pd = [[File:Physical Defense.png|16x16px|link=Physical Defense]]{{#if:{{{2|}}}|{{tooltip|&nbsp;{{{2}}}|Physical Defense, i.e. resistance versus physical damage.}}}}
| pd = [[File:Physical Defense.png|16x16px|link=Physical Defense]]{{#if:{{{2|}}}|{{tooltip|&nbsp;{{{2}}}|Physical Defense, i.e. resistance versus physical damage.}}}}
Line 22: Line 23:
* The first parameter must be one of the following list
* The first parameter must be one of the following list
** <code>hp</code>: Health
** <code>hp</code>: Health
** <code>ma</code>: Mana
** <code>sh</code>: Shield
** <code>sh</code>: Shield
** <code>pd</code>: Physical Defense
** <code>pd</code>: Physical Defense

Revision as of 23:25, 6 November 2023

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
    • ma: Mana
    • 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
    • rg: Rage
    • 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