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
wgg>Cadaei example for base indicator |
No edit summary |
||
| (5 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
Displays a stat table for units for multiple levels. | 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. <code>dm=5</code> for damage 5 in level 1 and <code>dm10=20</code> for damage 20 in level 10. Values are interpreted linerarly for the other 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. <code>dm=5</code> for damage 5 in level 1 and <code>dm10=20</code> for damage 20 in level 10. Values are interpreted linerarly for the other levels. | ||
| Line 8: | Line 7: | ||
<nowiki>{{LevelStats | <nowiki>{{LevelStats | ||
| | |pw=5|pw10=53 | ||
|hp=11|hp10=50 | |hp=11|hp10=50 | ||
|sh=13|sh10=100 | |sh=13|sh10=100 | ||
|cr=5% | |cr=5% | ||
|pd=0 | |pd=0 | ||
|md=0 | |md=0 | ||
}}</nowiki> | }}</nowiki> | ||
{{LevelStats | {{LevelStats | ||
| | |pw=5|pw10=53 | ||
|hp=11|hp10=50 | |hp=11|hp10=50 | ||
|sh=13|sh10=100 | |sh=13|sh10=100 | ||
|cr=5% | |cr=5% | ||
|pd=0 | |pd=0 | ||
|md=0 | |md=0 | ||
}} | }} | ||
<nowiki>{{LevelStats | <nowiki>{{LevelStats | ||
|exp=true | |exp=true | ||
| | |pw=5|pw10=63 | ||
|hp=10|hp10=68 | |hp=10|hp10=68 | ||
|sh=19|sh10=116 | |sh=19|sh10=116 | ||
|cr=0% | |cr=0% | ||
|pd=0 | |pd=0 | ||
|md=0 | |md=0 | ||
}}</nowiki> | }}</nowiki> | ||
{{LevelStats | {{LevelStats | ||
|exp=true | |exp=true | ||
| | |pw=5|pw10=63 | ||
|hp=10|hp10=68 | |hp=10|hp10=68 | ||
|sh=19|sh10=116 | |sh=19|sh10=116 | ||
|cr=0% | |cr=0% | ||
|pd=0 | |pd=0 | ||
|md=0 | |md=0 | ||
}} | }} | ||
| Line 47: | Line 46: | ||
|baseIndicator=true | |baseIndicator=true | ||
|gainIndicator=true | |gainIndicator=true | ||
| | |pw=5|pw10=63 | ||
|hp=10|hp10=68 | |hp=10|hp10=68 | ||
|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 58: | Line 57: | ||
|baseIndicator=true | |baseIndicator=true | ||
|gainIndicator=true | |gainIndicator=true | ||
| | |pw=5|pw10=63 | ||
|hp=10|hp10=68 | |hp=10|hp10=68 | ||
|sh=19|sh10=116 | |sh=19|sh10=116 | ||
|cr=0% | |cr=0% | ||
|pd=0 | |pd=0 | ||
|md=0 | |md=0 | ||
}} | }} | ||
Code at [[Module:LevelStats]], doc at [[Template:LevelStats/doc]]. | <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> | |||
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
}}
| Stats | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
|---|---|---|---|---|---|---|---|---|---|---|
| 5 | 10 | 16 | 21 | 26 | 32 | 37 | 42 | 48 | 53 | |
| 11 | 15 | 20 | 24 | 28 | 33 | 37 | 41 | 46 | 50 | |
| 13 | 23 | 32 | 42 | 52 | 61 | 71 | 81 | 90 | 100 | |
| 5% | 5% | 5% | 5% | 5% | 5% | 5% | 5% | 5% | 5% | |
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
{{LevelStats
|exp=true
|pw=5|pw10=63
|hp=10|hp10=68
|sh=19|sh10=116
|cr=0%
|pd=0
|md=0
}}
| Stats | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
|---|---|---|---|---|---|---|---|---|---|---|
| 5 | 8 | 13 | 18 | 24 | 31 | 38 | 46 | 54 | 63 | |
| 10 | 13 | 18 | 23 | 29 | 36 | 43 | 51 | 59 | 68 | |
| 19 | 25 | 32 | 41 | 51 | 62 | 75 | 88 | 101 | 116 | |
| 0% | 0% | 0% | 0% | 0% | 0% | 0% | 0% | 0% | 0% | |
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
{{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
}}
| Stats | Base Gain | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 5 | 8 | 13 | 18 | 24 | 31 | 38 | 46 | 54 | 63 | ||
| 10 | 13 | 18 | 23 | 29 | 36 | 43 | 51 | 59 | 68 | ||
| 19 | 25 | 32 | 41 | 51 | 62 | 75 | 88 | 101 | 116 | ||
| 0% | 0% | 0% | 0% | 0% | 0% | 0% | 0% | 0% | 0% | ||
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
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.


