Difference between revisions of "Template:EnemyUnitStats"
Jump to navigation
Jump to search
(Boss classification shall not show x5 value for life (it's scary!)) |
|||
Line 1: | Line 1: | ||
<includeonly>{| class="gf-table stattable" cellspacing=0 | <includeonly>{| class="gf-table stattable" cellspacing=0 | ||
! colspan=4 | {{{title|Table Header}}} | ! colspan=4 | {{{title|Table Header}}} | ||
+ | <!-- Cost for Assimilated units -->{{#if:{{{cost|}}}| | ||
+ | {{!}}- | ||
+ | {{!}} colspan=2 class="statlabel" style="background-color:rgba(127,127,127,0.4)"{{!}}Deployment Cost | ||
+ | {{!}} colspan=2 class="statvalue"{{!}} {{{cost}}} | ||
+ | }} | ||
|- | |- | ||
| colspan=2 class="statlabel statlabelgradient"|[[File:Icon_hp.png|25px|link=||Health]] Health | | colspan=2 class="statlabel statlabelgradient"|[[File:Icon_hp.png|25px|link=||Health]] Health | ||
Line 14: | Line 19: | ||
|class="statlabel"|[[File:Icon_rof.png|25px|link=||Rate of Fire]] Rate of Fire | |class="statlabel"|[[File:Icon_rof.png|25px|link=||Rate of Fire]] Rate of Fire | ||
|class="statvalue"|{{{rof|?}}} | |class="statvalue"|{{{rof|?}}} | ||
+ | <!-- Needed for Assimilated units -->{{#if:{{{critrate|}}}| | ||
+ | {{!}}- | ||
+ | {{!}}class="statlabel"{{!}}[[File:Icon_crit.png{{!}}25px{{!}}link={{!}}Critical Hit Rate]] Crit. Rate | ||
+ | {{!}}class="statvalue"{{!}}{{{crit|?}}} | ||
+ | {{!}}class="statlabel"{{!}}[[File:Icon_critdmg.png{{!}}25px{{!}}link={{!}}Critical Hit Damage]] Crit. Damage | ||
+ | {{!}}class="statvalue"{{!}}{{{critdmg|?}}} | ||
+ | }} | ||
|- | |- | ||
|class="statlabel"|[[File:Icon_mov.png|25px|link=||Movement Speed]] Move Speed | |class="statlabel"|[[File:Icon_mov.png|25px|link=||Movement Speed]] Move Speed |
Revision as of 10:40, 22 March 2023
This template provides a simple table with several values describing the stats of an enemy unit.
Usage
Syntax:{{EnemyUnitStats |title=Title of the stats (unit name/variant) |classification=boss (this is optional) |max_hp=1000 |dmg=1 |eva=2 |acc=3 |rof=4 |mov=5 |armor=6 |range=4 |penetration=7 |cost=For Assimilated units |crit=For Assimilated units |critrate=For Assimilated units |repair=For Assimilated units |comment=Some text }}
If comment
is left unset or empty, the whole comment-row will not be shown.
The above documentation is transcluded from Template:EnemyUnitStats/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |