Template:CharacterStats: Difference between revisions

From MENACE Official Wiki
add template for displaying a characters stats and attributes
 
Updated templace to replace Promotion Tax (PT) with Promotion Cost Factor (PCF)
 
(2 intermediate revisions by one other user not shown)
Line 3: Line 3:
| valign="top" |
| valign="top" |


<div style="text-align: center;">'''Stats'''</div>
<div style="text-align: center;">'''Base Stats'''</div>
<div style="display: flex;">
<div style="display: flex;">
<div style="flex: 1;text-align: right;margin-right: 10px;min-width: 150px">
<div style="flex: 1;text-align: right;margin-right: 10px;min-width: 145px">
<div style="color: white;">Action Points</div>
<div style="color: white;">Action Points</div>
<div style="color: white;">Accuracy</div>
<div style="color: white;">Accuracy</div>
Line 18: Line 18:
<div style="color: #c7aa3f;">{{{ACC}}}</div>
<div style="color: #c7aa3f;">{{{ACC}}}</div>
<div style="color: #c7aa3f;">{{{DIS}}}</div>
<div style="color: #c7aa3f;">{{{DIS}}}</div>
{{#if: {{{Pilot|}}}||<div style="color: #c7aa3f;">{{{DR}}}</div>
{{#if: {{{Pilot|}}}||<div style="color: #c7aa3f;">{{{DR}}}%</div>
<div style="color: #c7aa3f;">{{{HP}}}</div>|}}
<div style="color: #c7aa3f;">{{{HP}}}</div>|}}
<div style="color: #c7aa3f;">{{{CC}}}</div>
<div style="color: #c7aa3f;">{{{CC}}}%</div>
<div style="color: #c7aa3f;">{{{DEF}}}</div>
<div style="color: #c7aa3f;">{{{DEF}}}%</div>
</div>
</div>
</div>
</div>
Line 27: Line 27:
| "width="50%" valign="top" |
| "width="50%" valign="top" |


<div style="text-align: center;">'''Attributes'''</div>
<div style="text-align: center;">'''Base Attributes'''</div>
<div style="display: flex;">
<div style="display: flex;">
<div style="flex: 1;text-align: right;margin-right: 10px;min-width: 150px">
<div style="flex: 1;text-align: right;margin-right: 10px;min-width: 145px">
<div style="color: white;">Agility</div>
<div style="color: white;">Agility</div>
<div style="color: white;">Weapon Skill</div>
<div style="color: white;">Weapon Skill</div>
Line 49: Line 49:
</div>
</div>


| "width="50%" valign="top" |
{{#if: {{{PCF|}}} | {{#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;">Prom. Cost Factor</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;">{{{PCF}}}</div>
<div style="color: #c7aa3f;">{{{GP}}}</div>
<div style="color: #c7aa3f;">{{{SC}}}</div>
</div>
</div>
||}}||}}||}}
|}
|}
</div>
</div>
Line 59: Line 75:
! colspan="2"| Parameter !! Description !! Example
! colspan="2"| Parameter !! Description !! Example
|-
|-
| <code>AP, ACC, DIS, DR, HP, CC, DEF, <br> AGI, WS, VAL, TOU, VIT, PRE, POS</code> || required || 7x Stats and 7x Attributes <br>(5x Stats and 5x Attributes for Pilots) || <code>AP=110</code>
| <code>AP, ACC, DIS, DR, HP, CC, DEF</code> <br> <code>AGI, WS, VAL, TOU, VIT, PRE, POS</code> || required || 7x Stats and 7x Attributes <br>(5x Stats and 5x Attributes for Pilots) || <code>AP=110</code>
|-
|-
| <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>PCF, GP, SC</code> || optional || Show additional stats (Prom. Cost Factor, Growth Pot. and Supply Cost  || <code>PCF=1.3</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
|PCF=1.3|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
|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