Template:CharacterStats: Difference between revisions

From MENACE Official Wiki
mNo edit summary
add ability to display additional stats
Line 49: Line 49:
</div>
</div>


| "width="50%" valign="top" |
{{#if: {{{PT|}}} | {{#if: {{{GP|}}}| {{#if: {{{SC|}}}|
<div style="text-align: center;">'''Add'l. Base Stats'''</div>
<div style="display: flex;">
<div style="flex: 1;text-align: right;margin-right: 10px;min-width: 145px">
<div style="color: white;">Promotion Tax</div>
<div style="color: white;">Growth Potential</div>
<div style="color: white;">Supply Cost</div>
</div>
<div style="flex: 1;text-align: left;">
<div style="color: #c7aa3f;">{{{PT}}}</div>
<div style="color: #c7aa3f;">{{{GP}}}</div>
<div style="color: #c7aa3f;">{{{SC}}}</div>
</div>
</div>
||}}||}}||}}
|}
|}
</div>
</div>
Line 62: Line 78:
|-
|-
| <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>
|}
|}


Line 98: Line 116:


----
----
To show additional stats, use this:
<pre>
{{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
|PT=15|GP=5|SC=40
}}
</pre>
To get 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
|PT=15|GP=5|SC=40
}}

Revision as of 20:52, 5 February 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
PT, GP, SC optional Show additional stats (Prom. Tax, Growth Pot. and Supply Cost PT=15

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
|PT=15|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
Promotion Tax
Growth Potential
Supply Cost
15
5
40