Template:UnitInfobox: Difference between revisions

From Mechabellum Wiki
(add link to Template:UnitData)
(rename splashdmg to splash)
Line 43: Line 43:
<tr>
<tr>
     <th>Splash Damage</th>
     <th>Splash Damage</th>
     <td>{{#ifeq:{{#var:splashdmg|0}}|0|No|{{#var:splashdmg}}m }}</td>
     <td>{{#ifeq:{{#var:splash|0}}|0|No|{{#var:splash}}m }}</td>
</tr>
</tr>
<tr>
<tr>

Revision as of 15:37, 8 June 2023

Error: Unit "UnitInfobox" undefined!

UnitInfobox


Mobility Ground
Giant No
Cost 0
Unlock cost Free
Units 1
HP 0
Attack 0
Target Ground Only
Attack Interval 1s
Splash Damage No
Burst Damage Minimal
Max DPS 0
Range Melee
Speed 0m/s

v1.0

Infobox for all ingame stats for this unit

Template parameters

ParameterDescriptionTypeStatus
Imageimage

File name

Stringsuggested
Unit Typetype

A short description of the purpose

Example
"Light aircraft" or "High-speed anti-unit bot"
Stringsuggested
Descriptionigdesc

The in-game description

Example
A high-speed and high HP unit that attacks enemies at close range with a laser beam that gradually grows in size. The bane of all high HP units
Stringsuggested