Template:CharacterStats: Difference between revisions

From MENACE Official Wiki
add ability to display additional stats
Updated templace to replace Promotion Tax (PT) with Promotion Cost Factor (PCF)
 
Line 50: Line 50:


| "width="50%" valign="top" |
| "width="50%" valign="top" |
{{#if: {{{PT|}}} | {{#if: {{{GP|}}}| {{#if: {{{SC|}}}|
{{#if: {{{PCF|}}} | {{#if: {{{GP|}}}| {{#if: {{{SC|}}}|
<div style="text-align: center;">'''Add'l. Base Stats'''</div>
<div style="text-align: center;">'''Add'l. Base Stats'''</div>
<div style="display: flex;">
<div style="display: flex;">
<div style="flex: 1;text-align: right;margin-right: 10px;min-width: 145px">
<div style="flex: 1;text-align: right;margin-right: 10px;min-width: 145px">
<div style="color: white;">Promotion Tax</div>
<div style="color: white;">Prom. Cost Factor</div>
<div style="color: white;">Growth Potential</div>
<div style="color: white;">Growth Potential</div>
<div style="color: white;">Supply Cost</div>
<div style="color: white;">Supply Cost</div>
</div>
</div>
<div style="flex: 1;text-align: left;">
<div style="flex: 1;text-align: left;">
<div style="color: #c7aa3f;">{{{PT}}}</div>
<div style="color: #c7aa3f;">{{{PCF}}}</div>
<div style="color: #c7aa3f;">{{{GP}}}</div>
<div style="color: #c7aa3f;">{{{GP}}}</div>
<div style="color: #c7aa3f;">{{{SC}}}</div>
<div style="color: #c7aa3f;">{{{SC}}}</div>
Line 79: Line 79:
| <code>Pilot</code> || optional || Is the character a pilot? || <code>Pilot=yes</code> or <code>Pilot=y</code>  
| <code>Pilot</code> || optional || Is the character a pilot? || <code>Pilot=yes</code> or <code>Pilot=y</code>  
|-
|-
| <code>PT, GP, SC</code> || optional || Show additional stats (Prom. Tax, Growth Pot. and Supply Cost  || <code>PT=15</code>
| <code>PCF, GP, SC</code> || optional || Show additional stats (Prom. Cost Factor, Growth Pot. and Supply Cost  || <code>PCF=1.3</code>
|}
|}


Line 121: Line 121:
|AP=110|ACC=80|DIS=75|DR=0|HP=8|CC=5|DEF=12
|AP=110|ACC=80|DIS=75|DR=0|HP=8|CC=5|DEF=12
|AGI=88|WS=80|VAL=70|TOU=50|VIT=40|PRE=20|POS=75
|AGI=88|WS=80|VAL=70|TOU=50|VIT=40|PRE=20|POS=75
|PT=15|GP=5|SC=40
|PCF=1.3|GP=5|SC=40
}}
}}
</pre>
</pre>
Line 129: Line 129:
|AP=110|ACC=80|DIS=75|DR=0|HP=8|CC=5|DEF=12
|AP=110|ACC=80|DIS=75|DR=0|HP=8|CC=5|DEF=12
|AGI=88|WS=80|VAL=70|TOU=50|VIT=40|PRE=20|POS=75
|AGI=88|WS=80|VAL=70|TOU=50|VIT=40|PRE=20|POS=75
|PT=15|GP=5|SC=40
|PCF=1.3|GP=5|SC=40
}}
}}

Latest revision as of 04:03, 5 May 2026

Overview

This template displays a character's stats and attributes in a style and format that mirrors the in-game version.

Parameters

Parameter Description Example
AP, ACC, DIS, DR, HP, CC, DEF
AGI, WS, VAL, TOU, VIT, PRE, POS
required 7x Stats and 7x Attributes
(5x Stats and 5x Attributes for Pilots)
AP=110
Pilot optional Is the character a pilot? Pilot=yes or Pilot=y
PCF, GP, SC optional Show additional stats (Prom. Cost Factor, Growth Pot. and Supply Cost PCF=1.3

Examples

For a normal squad lead, use this:

{{CharacterStats
|AP=110|ACC=80|DIS=75|DR=0|HP=8|CC=5|DEF=12
|AGI=88|WS=80|VAL=70|TOU=50|VIT=40|PRE=20|POS=75
}}

To get this:

Base Stats
Action Points
Accuracy
Discipline
Damage Reduction
Hitpoints
Critical Chance
Defense
110
80
75
0%
8
5%
12%
Base Attributes
Agility
Weapon Skill
Valour
Toughness
Vitality
Precision
Positioning
88
80
70
50
40
20
75



For a pilot, use this:

{{CharacterStats
|AP=110|ACC=80|DIS=75|CC=5|DEF=12
|AGI=88|WS=80|VAL=70|PRE=20|POS=75
|Pilot=yes
}}

To get this:

Base Stats
Action Points
Accuracy
Discipline
Critical Chance
Defense
110
80
75
5%
12%
Base Attributes
Agility
Weapon Skill
Valour
Precision
Positioning
88
80
70
20
75



To show additional stats, use this:

{{CharacterStats
|AP=110|ACC=80|DIS=75|DR=0|HP=8|CC=5|DEF=12
|AGI=88|WS=80|VAL=70|TOU=50|VIT=40|PRE=20|POS=75
|PCF=1.3|GP=5|SC=40
}}

To get this:

Base Stats
Action Points
Accuracy
Discipline
Damage Reduction
Hitpoints
Critical Chance
Defense
110
80
75
0%
8
5%
12%
Base Attributes
Agility
Weapon Skill
Valour
Toughness
Vitality
Precision
Positioning
88
80
70
50
40
20
75
Add'l. Base Stats
Prom. Cost Factor
Growth Potential
Supply Cost
1.3
5
40