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

From Super Fantasy Kingdom Official Wiki
changed damage to power
No edit summary
 
(One intermediate revision by the same user not shown)
Line 11: Line 11:
|sh=13|sh10=100
|sh=13|sh10=100
|cr=5%
|cr=5%
|pd=0%
|pd=0
|md=0%
|md=0
}}</nowiki>
}}</nowiki>
{{LevelStats
{{LevelStats
Line 19: Line 19:
|sh=13|sh10=100
|sh=13|sh10=100
|cr=5%
|cr=5%
|pd=0%
|pd=0
|md=0%
|md=0
}}
}}


Line 29: Line 29:
|sh=19|sh10=116
|sh=19|sh10=116
|cr=0%
|cr=0%
|pd=0%
|pd=0
|md=0%
|md=0
}}</nowiki>
}}</nowiki>
{{LevelStats
{{LevelStats
Line 38: Line 38:
|sh=19|sh10=116
|sh=19|sh10=116
|cr=0%
|cr=0%
|pd=0%
|pd=0
|md=0%
|md=0
}}
}}


Line 50: Line 50:
|sh=19|sh10=116
|sh=19|sh10=116
|cr=0%
|cr=0%
|pd=0%
|pd=0
|md=0%
|md=0
}}</nowiki>
}}</nowiki>
{{LevelStats
{{LevelStats
Line 61: Line 61:
|sh=19|sh10=116
|sh=19|sh10=116
|cr=0%
|cr=0%
|pd=0%
|pd=0
|md=0%
|md=0
}}
}}
<nowiki>for copy pasting units
{{LevelStats
|exp=true
|baseIndicator=true
|gainIndicator=true
|pw=  |pw10=
|hp=  |hp10=
|ma=  |ma10=
|sh=  |sh10=
|rg=  |rg10=
|cr=0%
|pd=0
|md=0
}}</nowiki>


Code at [[Module:LevelStats]], doc at [[Template:LevelStats/doc]].<noinclude>[[Category:Template documentation]]</noinclude>
Code at [[Module:LevelStats]], doc at [[Template:LevelStats/doc]].<noinclude>[[Category:Template documentation]]</noinclude>

Latest revision as of 22:58, 27 November 2025

Displays a stat table for units for multiple levels. Parameter names are the stat abbreviations, for the first level just the two letters, for the 10th level the stat abbreviation with suffix 10, e.g. dm=5 for damage 5 in level 1 and dm10=20 for damage 20 in level 10. Values are interpreted linerarly for the other levels.

For units use exp=true for exponential stat growth.

To display a gain indicator, use gainIndicator=true.

{{LevelStats
|pw=5|pw10=53
|hp=11|hp10=50
|sh=13|sh10=100
|cr=5%
|pd=0
|md=0
}}
Stats12345678910
Power5101621263237424853
Health11152024283337414650
Shield132332425261718190100
Critical Chance5%5%5%5%5%5%5%5%5%5%
Armor0000000000
Resistance0000000000
{{LevelStats
|exp=true
|pw=5|pw10=63
|hp=10|hp10=68
|sh=19|sh10=116
|cr=0%
|pd=0
|md=0
}}
Stats12345678910
Power581318243138465463
Health10131823293643515968
Shield1925324151627588101116
Critical Chance0%0%0%0%0%0%0%0%0%0%
Armor0000000000
Resistance0000000000
{{LevelStats
|exp=true
|baseIndicator=true
|gainIndicator=true
|pw=5|pw10=63
|hp=10|hp10=68
|sh=19|sh10=116
|cr=0%
|pd=0
|md=0
}}
StatsBase Gain12345678910
Power 581318243138465463
Health 10131823293643515968
Shield 1925324151627588101116
Critical Chance 0%0%0%0%0%0%0%0%0%0%
Armor 0000000000
Resistance 0000000000
for copy pasting units

{{LevelStats
|exp=true
|baseIndicator=true
|gainIndicator=true
|pw=  |pw10=
|hp=  |hp10=
|ma=  |ma10=
|sh=  |sh10=
|rg=  |rg10=
|cr=0%
|pd=0
|md=0
}}

Code at Module:LevelStats, doc at Template:LevelStats/doc.