Template:CharacterStats: Difference between revisions

From MENACE Official Wiki
add template for displaying a characters stats and attributes
 
mNo edit summary
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 59: Line 59:
! 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>  

Revision as of 13:13, 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

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