Template:CharacterStatTable: Difference between revisions
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{| class="wikitable" |
<includeonly>{| class="wikitable character-stattable" |
||
|+Stats |
|+Stats |
||
|- class="stattable-controls" style="display: none" |
|||
|colspan="8"|<span class="stattable-rarity-selector">[[File:Icon_star.png|20px|link=]]</span> |
|||
|- |
|- |
||
!Attack |
!Attack |
||
|{{{minAtk|}}}/{{{maxAtk|}}} |
|class="stat-attack"|{{{minAtk|}}}/{{{maxAtk|}}} |
||
!Defense |
!Defense |
||
|{{{minDef|}}}/{{{maxDef|}}} |
|class="stat-defense"|{{{minDef|}}}/{{{maxDef|}}} |
||
!HP |
!HP |
||
|{{{minHP|}}}/{{{maxHP|}}} |
|class="stat-hp"|{{{minHP|}}}/{{{maxHP|}}} |
||
!Healing |
!Healing |
||
|{{{minHealing|}}}/{{{maxHealing|}}} |
|class="stat-healing"|{{{minHealing|}}}/{{{maxHealing|}}} |
||
|- |
|- |
||
!Accuracy |
!Accuracy |
||
|{{{minAcc |
|class="stat-accuracy"|{{{minAcc|}}} |
||
!Evasion |
!Evasion |
||
|{{{minEva |
|class="stat-evasion"|{{{minEva|}}} |
||
!Critical Rate |
!Critical Rate |
||
|{{{minCRate |
|class="stat-critrate"|{{{minCRate|}}} |
||
!Critical Damage |
!Critical Damage |
||
|{{{minCDmg |
|class="stat-critdamage"|{{{minCDmg|}}}% |
||
|- |
|- |
||
!Stability |
!Stability |
||
|{{{minStab |
|class="stat-stability"|{{{minStab|}}} |
||
!Firing Range |
!Firing Range |
||
|{{{minRange |
|class="stat-firingrange"|{{{minRange|}}} |
||
!CC Strength |
!CC Strength |
||
|{{{minCCStr |
|class="stat-ccstrength"|{{{minCCStr|}}} |
||
!CC Resistance |
!CC Resistance |
||
|{{{minCCRes |
|class="stat-ccresistance"|{{{minCCRes|}}} |
||
<!-- Not included pending further clarification on "Cost Resilience". Affinity may be removed as it's included in a character's info box. |
|||
|}</includeonly><noinclude>__TOC__<templatedata> |
|||
|- |
|||
{ |
|||
!Cost resilience |
|||
"params": { |
|||
|{{{minCostRes|}}}/{{{maxCostRes|}}} |
|||
"minAtk": { |
|||
!Outdoors Affinity |
|||
"label": "Attack at level 1", |
|||
|{{{outAff|}}} |
|||
"description": "Preferably, internal value of AttackPower1 should be used here. Otherwise, starting Attack value as displayed by the game for non-acquired character.", |
|||
!Town/City Affinity |
|||
"type": "number" |
|||
|{{{cityAff|}}} |
|||
}, |
|||
!Indoors Affinity |
|||
"maxAtk": { |
|||
|{{{inAff|}}} |
|||
"label": "Attack at max level", |
|||
--> |
|||
"description": "Preferably, internal value of AttackPower100 should be used here. Otherwise, max Attack value as displayed by the game for non-acquired character.", |
|||
|} |
|||
"type": "number" |
|||
<noinclude> |
|||
}, |
|||
"minDef": { |
|||
"label": "Defense at level 1", |
|||
"description": "Preferably, internal value of DefensePower1 should be used here. Otherwise, starting Defense value as displayed by the game for non-acquired character.", |
|||
"type": "number" |
|||
}, |
|||
"maxDef": { |
|||
"label": "Defense at max level", |
|||
"description": "Preferably, internal value of DefensePower100 should be used here. Otherwise, max Defense value as displayed by the game for non-acquired character.", |
|||
"type": "number" |
|||
}, |
|||
"minHP": { |
|||
"label": "HP at level 1", |
|||
"description": "Preferably, internal value of MaxHP1 should be used here. Otherwise, starting HP value as displayed by the game for non-acquired character.", |
|||
"type": "number" |
|||
}, |
|||
"maxHP": { |
|||
"label": "HP at max level", |
|||
"description": "Preferably, internal value of MaxHP100 should be used here. Otherwise, max HP value as displayed by the game for non-acquired character.", |
|||
"type": "number" |
|||
}, |
|||
"minHealing": { |
|||
"label": "Healing at level 1", |
|||
"description": "Preferably, internal value of HealPower1 should be used here. Otherwise, starting Healing value as displayed by the game for non-acquired character.", |
|||
"type": "number" |
|||
}, |
|||
"maxHealing": { |
|||
"label": "Healing at max level", |
|||
"description": "Preferably, internal value of HealPower100 should be used here. Otherwise, max Healing value as displayed by the game for non-acquired character.", |
|||
"type": "number" |
|||
}, |
|||
"minAcc": {}, |
|||
"minEva": {}, |
|||
"minCRate": {}, |
|||
"minCDmg": {}, |
|||
"minStab": {}, |
|||
"minRange": {}, |
|||
"minCCStr": {}, |
|||
"minCCRes": {} |
|||
}, |
|||
"description": "CharacterStatCalc template enhances Template:CharacterStatTable functionality by providing an interactive character stats calculator for various levels/rarities of given character." |
|||
} |
|||
</templatedata> |
|||
== Blank Template == |
== Blank Template == |
||
<pre> |
<pre> |
||
{{CharacterStatCalc |
|||
{{CharacterStatTable |
|||
|minAtk= |
| minAtk = |
||
|maxAtk= |
| maxAtk = |
||
|minDef= |
| minDef = |
||
|maxDef= |
| maxDef = |
||
|minHP= |
| minHP = |
||
|maxHP= |
| maxHP = |
||
|minHealing= |
| minHealing = |
||
|maxHealing= |
| maxHealing = |
||
|minAcc= |
| minAcc = |
||
| minEva = |
|||
|maxAcc= |
|||
| minCRate = |
|||
|minEva= |
|||
| minCDmg = |
|||
|maxEva= |
|||
| minStab = |
|||
|minCRate= |
|||
| minRange = |
|||
|maxCRate= |
|||
| minCCStr = |
|||
|minCDmg= |
|||
| minCCRes = |
|||
|maxCDmg= |
|||
}}</pre> |
|||
|minStab= |
|||
|maxStab= |
|||
== Examples == |
|||
|minRange= |
|||
===Properly formatted table=== |
|||
|maxRange= |
|||
{{CharacterStatCalc |
|||
|minCCStr= |
|||
| minAtk = 369 |
|||
|maxCCStr= |
|||
| maxAtk = 3690 |
|||
|minCCRes= |
|||
| minDef = 19 |
|||
|maxCCRes= |
|||
| maxDef = 119 |
|||
|minCostRes= |
|||
| minHP = 2236 |
|||
|maxCostRes= |
|||
| maxHP = 19390 |
|||
|outAff= |
|||
| minHealing = 1408 |
|||
|cityAff= |
|||
| maxHealing = 4225 |
|||
|inAff= |
|||
| minAcc = 905 |
|||
}}</pre></noinclude> |
|||
| minEva = 201 |
|||
| minCRate = 201 |
|||
| minCDmg = 200 |
|||
| minStab = 1988 |
|||
| minRange = 750 |
|||
| minCCStr = 100 |
|||
| minCCRes = 100 |
|||
}} |
|||
===Ingame stats=== |
|||
Should the ingame-displayed min/max stats be used, calculator attempts to reverse those into raw numbers. Whenever possible, those numbers should be updated with actual raw internal data instead. |
|||
{{CharacterStatCalc |
|||
| minAtk = 451 |
|||
| maxAtk = 3397 |
|||
| minDef = 19 |
|||
| maxDef = 92 |
|||
| minHP = 2505 |
|||
| maxHP = 16478 |
|||
| minHealing = 1655 |
|||
| maxHealing = 4062 |
|||
| minAcc = 905 |
|||
| minEva = 201 |
|||
| minCRate = 201 |
|||
| minCDmg = 200 |
|||
| minStab = 1988 |
|||
| minRange = 750 |
|||
| minCCStr = 100 |
|||
| minCCRes = 100 |
|||
}} |
|||
===Fallback=== |
|||
Calculator functionality does not activate if any of mandatory fields are empty or filled with anything other than numbers. |
|||
{{CharacterStatCalc |
|||
| minAtk = 451 |
|||
| maxAtk = |
|||
| minDef = 19 |
|||
| maxDef = 92 |
|||
| minHP = 2505 |
|||
| maxHP = 16478 |
|||
| minHealing = 1655 |
|||
| maxHealing = 4062 |
|||
| minAcc = 905 |
|||
| minEva = 201 |
|||
| minCRate = 201 |
|||
| minCDmg = 200 |
|||
| minStab = 1988 |
|||
| minRange = 750 |
|||
| minCCStr = 100 |
|||
| minCCRes = 100 |
|||
}}</noinclude> |
Revision as of 20:47, 12 September 2021
CharacterStatCalc template enhances Template:CharacterStatTable functionality by providing an interactive character stats calculator for various levels/rarities of given character.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Attack at level 1 | minAtk | Preferably, internal value of AttackPower1 should be used here. Otherwise, starting Attack value as displayed by the game for non-acquired character. | Number | optional |
Attack at max level | maxAtk | Preferably, internal value of AttackPower100 should be used here. Otherwise, max Attack value as displayed by the game for non-acquired character. | Number | optional |
Defense at level 1 | minDef | Preferably, internal value of DefensePower1 should be used here. Otherwise, starting Defense value as displayed by the game for non-acquired character. | Number | optional |
Defense at max level | maxDef | Preferably, internal value of DefensePower100 should be used here. Otherwise, max Defense value as displayed by the game for non-acquired character. | Number | optional |
HP at level 1 | minHP | Preferably, internal value of MaxHP1 should be used here. Otherwise, starting HP value as displayed by the game for non-acquired character. | Number | optional |
HP at max level | maxHP | Preferably, internal value of MaxHP100 should be used here. Otherwise, max HP value as displayed by the game for non-acquired character. | Number | optional |
Healing at level 1 | minHealing | Preferably, internal value of HealPower1 should be used here. Otherwise, starting Healing value as displayed by the game for non-acquired character. | Number | optional |
Healing at max level | maxHealing | Preferably, internal value of HealPower100 should be used here. Otherwise, max Healing value as displayed by the game for non-acquired character. | Number | optional |
minAcc | minAcc | no description | Unknown | optional |
minEva | minEva | no description | Unknown | optional |
minCRate | minCRate | no description | Unknown | optional |
minCDmg | minCDmg | no description | Unknown | optional |
minStab | minStab | no description | Unknown | optional |
minRange | minRange | no description | Unknown | optional |
minCCStr | minCCStr | no description | Unknown | optional |
minCCRes | minCCRes | no description | Unknown | optional |
Blank Template
{{CharacterStatCalc | minAtk = | maxAtk = | minDef = | maxDef = | minHP = | maxHP = | minHealing = | maxHealing = | minAcc = | minEva = | minCRate = | minCDmg = | minStab = | minRange = | minCCStr = | minCCRes = }}
Examples
Properly formatted table
Ingame stats
Should the ingame-displayed min/max stats be used, calculator attempts to reverse those into raw numbers. Whenever possible, those numbers should be updated with actual raw internal data instead. Template:CharacterStatCalc
Fallback
Calculator functionality does not activate if any of mandatory fields are empty or filled with anything other than numbers. Template:CharacterStatCalc