Template:UnitInfobox: Difference between revisions

From Mechabellum Wiki
(rework and update unit navigation)
No edit summary
 
(7 intermediate revisions by 2 users not shown)
Line 19: Line 19:
; 18 Overlord
; 18 Overlord
; 19 War Factory
; 19 War Factory
}}{{#vardefine:max | 19
; 20 Tarantula
}}{{#vardefine:pos | {{#sub:{{#var:names}} | {{#expr: {{#pos:{{#var:names}}|Crawler}} - 3}} | 3}}
; 21 Sandworm
; 22 Fire Badger
; 23 Sabertooth
; 24 Typhoon
; 25 Farseer
; 26 Larva
; 27 Spider Mine
}}{{#vardefine:max | 27
}}{{#vardefine:pos | {{#sub:{{#var:names}} | {{#expr: {{#pos:{{#var:names}}|{{PAGENAME}}}} - 3}} | 3}}
}}{{#vardefine:prev | {{#ifexpr: {{#var:pos}} = 1 | {{#var:max}} | {{#expr: {{#var:pos}} - 1}} }}
}}{{#vardefine:prev | {{#ifexpr: {{#var:pos}} = 1 | {{#var:max}} | {{#expr: {{#var:pos}} - 1}} }}
}}{{#vardefine:next | {{#ifexpr: {{#var:pos}} = {{#var:max}} | 1 | {{#expr: {{#var:pos}} + 1}} }}
}}{{#vardefine:next | {{#ifexpr: {{#var:pos}} = {{#var:max}} | 1 | {{#expr: {{#var:pos}} + 1}} }}

Latest revision as of 11:32, 19 October 2024

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