Template:UnitInfobox

From Mechabellum Wiki
Revision as of 13:52, 28 May 2023 by HUBA (talk | contribs) (Undo revision 462 by HUBA (talk))
UnitInfobox


Mobility Ground
Giant No
Unlock cost Free
Units 1
Target Ground Only
Splash Damage No
Burst Damage Minimal
Max DPS 0
Range Melee

Infobox for all ingame stats for this unit

Template parameters

ParameterDescriptionTypeStatus
Imageimage

File name

Stringsuggested
Mobilitymobility

Air or Ground unit, defaults to Ground if not set

Suggested values
Ground Air
Default
Ground
Auto value
Ground
Stringsuggested
Giantgiant

Is unit a Giant? No if not set

Suggested values
Yes No
Default
No
Auto value
No
Stringsuggested
Unit Typetype

A short description of the purpose

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

The cost for unlocking the unit. Defaults to 0=Free if not set

Default
Free
Auto value
0
Numbersuggested
Costcost

Purchase cost

Numberrequired
Unitsunits

Number of units. Default 1 if not set

Default
1
Auto value
1
Numbersuggested
HPhp

Hit Points

Numberrequired
Attackatk

Damage of the unit. Usually a number for the damage of one unit. Can have a range or a multiplier.

Example
"9001" or "1 - 1000" or "555 * 4"
Stringrequired
Splash Damagesplashdmg

The AOE in meter, Defaults to 0=No if not set

Default
No
Auto value
0
Numbersuggested
Targettarget

Can attack ground and/or air units? Default "Ground Only" if not set

Suggested values
Ground Only Air Only Ground & Air
Default
Ground Only
Auto value
Ground Only
Stringsuggested
Attack Intervalatkint

Time between shots

Numbersuggested
Rangerange

Range of the unit. Defaults to 0=Melee if not set

Default
Melee
Auto value
0
Numbersuggested
Speedspeed

The Speed in meter per second (m/s)

Numbersuggested
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