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

From Super Fantasy Kingdom Official Wiki
File:Template-info.svg Documentation Edit this documentation at Template:Stats/doc.
(edithistorypurge)

Displays stats for units. Call with Template:Stats, code is in Module:Stats.

Parameters

  • inline: If not empty stats will be shown in one line, else in a table format
  • align: Optional, valid values are left, center or right. It will display the stats in a simple column with the stated alignment.
  • 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

Examples

{{stats|hp=33|dm=8|sh=4|cr=2%|pd=20%|md=10%}}
33
4
2%
20%
10%
8
{{stats|hp=20.5|ra=8.33 m|cd=1.2 s|cr=2%}}
20.5
2%
1.2s
8.33m
{{stats|hp=33|dm=8|sh=4|cr=2%|pd=20%|md=10%|inline=1}}

 33 •  4 •  2% •  20% •  10% •  8

{{stats|hp=33|dm=8|sh=4|cr=2%|pd=20%|md=10%|align=center}}
 33
 4
 2%
 20%
 10%
 8
{{stats
| first = Base stats
| second = Maxed<br/>Base stats
| dm = 5
| dm2 = 6.25
| dmGain = 1
| hp = 11
| hp2 = 14.3
| hpGain = 1
| sh = 13 m
| sh2 = 16.9 m
| shGain = 2
| cr = 5%
| cr2 = 5.63%
| crGain = 1
| pd = 0%
| pd2 = 15%
| pdGain = 3
| md = 0%
| md2 = 15%
| mdGain = 3
}}
Base statsMaxed
Base stats
1114.3
13m16.9m
5%5.63%
0%15%
0%15%
56.25