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: Difference between revisions
From Super Fantasy Kingdom Official Wiki
wgg>Cadaei link to module, more examples |
wgg>Cadaei updated with more stats |
||
| Line 1: | Line 1: | ||
{{doc/start}} | {{doc/start}} | ||
Displays stats for units. [[Module:Stats]]. | Displays stats for units. [[Module:Stats]]. | ||
==Parameters== | |||
* <code>inline</code>: If not empty stats will be shown in one line, else in a table format | |||
* <code>hp</code>: Health | |||
* <code>sh</code>: Shield | |||
* <code>pd</code>: Physical Defense | |||
* <code>md</code>: Magical Defense | |||
* <code>dm</code>: Damage | |||
* <code>cr</code>: Critical Chance | |||
* <code>ra</code>: Range | |||
* <code>cd</code>: Cooldown | |||
* <code>ar</code>: Area | |||
* <code>kb</code>: Knockback | |||
* <code>sp</code>: Speed | |||
* <code>du</code>: Duration | |||
* <code>gr</code>: Greed | |||
* <code>rr</code>: Reroll | |||
* <code>ba</code>: Banish | |||
* <code>cu</code>: Curse | |||
==Examples== | ==Examples== | ||
<nowiki>{{stats|hp=33| | <nowiki>{{stats|hp=33|dm=8|sh=4|cr=2%|pd=20%|md=10%}}</nowiki> | ||
{{stats|hp=33| | {{stats|hp=33|dm=8|sh=4|cr=2%|pd=20%|md=10%}} | ||
<nowiki>{{stats|hp=20| | <nowiki>{{stats|hp=20|ra=8 m|cd=1.2 s|cr=2%}}</nowiki> | ||
{{stats|hp=20| | {{stats|hp=20|ra=8 m|cd=1.2 s|cr=2%}} | ||
<nowiki>{{stats|hp=33| | <nowiki>{{stats|hp=33|dm=8|sh=4|cr=2%|pd=20%|md=10%|inline=1}}</nowiki> | ||
{{stats|hp=33| | {{stats|hp=33|dm=8|sh=4|cr=2%|pd=20%|md=10%|inline=1}} | ||
{{doc/end}} | {{doc/end}} | ||
Revision as of 14:22, 15 July 2023
Displays stats for units. Module:Stats.
Parameters
inline: If not empty stats will be shown in one line, else in a table formathp: Healthsh: Shieldpd: Physical Defensemd: Magical Defensedm: Damagecr: Critical Chancera: Rangecd: Cooldownar: Areakb: Knockbacksp: Speeddu: Durationgr: Greedrr: Rerollba: Banishcu: Curse
Examples
{{stats|hp=33|dm=8|sh=4|cr=2%|pd=20%|md=10%}}
| 33 | |||
| 4 | |||
| 2 | % | ||
| 20 | % | ||
| 10 | % | ||
| 8 |
{{stats|hp=20|ra=8 m|cd=1.2 s|cr=2%}}
| 20 | |||
| 2 | % | ||
| 1 | .2 | s | |
| 8 | m |
{{stats|hp=33|dm=8|sh=4|cr=2%|pd=20%|md=10%|inline=1}}


