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 | | ; 20 Tarantula | ||
}}{{#vardefine:pos | {{#sub:{{#var:names}} | {{#expr: {{#pos:{{#var:names}}| | ; 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 |
Infobox for all ingame stats for this unit
Parameter | Description | Type | Status | |
---|---|---|---|---|
Image | image | File name | String | suggested |
Unit Type | type | A short description of the purpose
| String | suggested |
Description | igdesc | The in-game description
| String | suggested |