Template:CharacterStatTable: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
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|}}}/{{{maxAcc|}}}
|class="stat-accuracy"|{{{minAcc|}}}
!Evasion
!Evasion
|{{{minEva|}}}/{{{maxEva|}}}
|class="stat-evasion"|{{{minEva|}}}
!Critical Rate
!Critical Rate
|{{{minCRate|}}}/{{{maxCRate|}}}
|class="stat-critrate"|{{{minCRate|}}}
!Critical Damage
!Critical Damage
|{{{minCDmg|}}}%/{{{maxCDmg|}}}%
|class="stat-critdamage"|{{{minCDmg|}}}%
|-
|-
!Stability
!Stability
|{{{minStab|}}}/{{{maxStab|}}}
|class="stat-stability"|{{{minStab|}}}
!Firing Range
!Firing Range
|{{{minRange|}}}/{{{maxRange|}}}
|class="stat-firingrange"|{{{minRange|}}}
!CC Strength
!CC Strength
|{{{minCCStr|}}}/{{{maxCCStr|}}}
|class="stat-ccstrength"|{{{minCCStr|}}}
!CC Resistance
!CC Resistance
|{{{minCCRes|}}}/{{{maxCCRes|}}}
|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>