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| {{{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| {{{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| {{{2}}}|Some units use Mana instead of health and use it to perform attacks.}}}} | |||
| sh = [[File:Shield.png|16x16px|link=Shield]]{{#if:{{{2|}}}|{{tooltip| {{{2}}}|Shield, reduces incoming damage.}}}} | | sh = [[File:Shield.png|16x16px|link=Shield]]{{#if:{{{2|}}}|{{tooltip| {{{2}}}|Shield, reduces incoming damage.}}}} | ||
| pd = [[File:Physical Defense.png|16x16px|link=Physical Defense]]{{#if:{{{2|}}}|{{tooltip| {{{2}}}|Physical Defense, i.e. resistance versus physical damage.}}}} | | pd = [[File:Physical Defense.png|16x16px|link=Physical Defense]]{{#if:{{{2|}}}|{{tooltip| {{{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: Healthma: Manash: Shieldpd: Physical Defensemd: Magical Defensedm: Damagecr: Critical Chancera: Rangecd: Cooldownar: Areakb: Knockbacksp: Speeddu: Durationrg: Ragegr: Greedrr: Rerollba: Banishcu: Curse
- The second parameter is optional and can represent a value or change of that stat
Examples
{{stat|hp}}
{{stat|pd|10 %}}
{{stat|sh|+10}}


