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/doc

From Super Fantasy Kingdom Official Wiki
Revision as of 23:52, 11 October 2023 by wgg>Cadaei (stat gain example)

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
  • 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

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
| first = Base
| second = Level 10
| hp = 20.5
| hp2 = 25
| hpGain = 2
| ra = 8.33 m
| ra2 = 16 m
| raGain = 3
| cd = 1.2 s
| cd2 = 1.2 s
| cdGain = 0
| cr = 2%
| cr2 = 2.5%
| crGain = 1
}}
BaseLevel 10
20.525
2%2.5%
1.2s1.2s
8.33m16m