Template:CharacterStatTable: Difference between revisions

StatCalc update
No edit summary
(StatCalc update)
 
(14 intermediate revisions by the same user not shown)
Line 1:
<includeonly>{| class="wikitable character-stattable" data-source="{{{dataSource|}}}"
|+Stats
|- class="stattable-controls" style="display: none"
|colspan="8"|<span class="stattable-rarity-selector"><span class="star-character">[[File:Icon_star.png|20px|link=]]</span><span class="star-weapon">[[File:Icon_blue_star.png|20px|link=]]</span></span>
|- class="stattable-stats"
|-
!Attack
|class="stat-attack"|{{{minAtk|}}}/{{{maxAtk|}}}
Line 12:
!Healing
|class="stat-healing"|{{{minHealing|}}}/{{{maxHealing|}}}
|- class="stattable-stats"
|-
!Accuracy
|class="stat-accuracy"|{{{minAcc|}}}
Line 18:
|class="stat-evasion"|{{{minEva|}}}
!Critical Rate
|class="stat-critratecrit_rate"|{{{minCRate|}}}
!Critical Damage
|class="stat-critdamagecrit_damage"|{{{minCDmg|}}}%
|- class="stattable-stats"
|-
!Stability
|class="stat-stability"|{{{minStab|}}}
!Firing Range
|class="stat-firingrangerange"|{{{minRange|}}}
!CC Strength
|class="stat-ccstrengthcc_str"|{{{minCCStr|}}}
!CC Resistance
|class="stat-ccresistancecc_res"|{{{minCCRes|}}}
 
|- class="stattable-stats"
!Attack speed
|class="stat-attack_speed"|{{{AttackSpeed|10000}}}
!Movement speed
|class="stat-move_speed"|{{{MoveSpeed|}}}
!Cost Recovery
|class="stat-regen_cost"|{{{RegenCost|}}}
!Ammo
|class="stat-ammo"|{{{AmmoCount|}}}/{{{AmmoCost|}}}
|}</includeonly><noinclude>__TOC__<templatedata>
{
"params": {
"minAtk": {
"label": "Attack at level 1",
"description": "Preferably, internal value of AttackPower1 should be used here. Otherwise, starting Attack value as displayed by the game for non-acquired character.",
"type": "number"
},
},
"maxAtk": {
"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"
},
},
"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": {},
"AttackSpeed": {},
},
"MoveSpeed": {},
"description": "CharacterStatCalc template enhances Template:CharacterStatTable functionality by providing an interactive character stats calculator for various levels/rarities of given character."
"AmmoCount": {},
"AmmoCost": {},
"RegenCost": {},
"dataSource": {
"label": "dataSource",
"description": "Provide information on how data was obtained. Data sources, in order of decreasing preference: raw numbers from internal game files, estimated raw values based on ingame numbers, or min/max numbers as shown on non-owned student screen ingame. Values are one of: raw, estimated, ingame",
"example": "estimated",
"type": "string"
}
},
"description": "Generates character stat table. If all necessary data is provided, displays interactive character stats calculator for various levels/rarities of given character."
}
</templatedata>
Line 89 ⟶ 109:
== Blank Template ==
<pre>
{{CharacterStatTable
{{CharacterStatCalc
| minAtk =
| maxAtk =
Line 106 ⟶ 126:
| minCCStr =
| minCCRes =
| AttackSpeed =
| MoveSpeed =
| AmmoCount =
| AmmoCost =
| RegenCost =
| dataSource =
}}</pre>
 
== ExamplesRemarks ==
===Properly formatted table===
{{CharacterStatCalc
| minAtk = 369
| maxAtk = 3690
| minDef = 19
| maxDef = 119
| minHP = 2236
| maxHP = 19390
| minHealing = 1408
| maxHealing = 4225
| minAcc = 905
| 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''dataSource attempts= ingame'' should be specified so the calculator towould 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.
</noinclude>
{{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>