Template:UnitInfobox: Difference between revisions
From Mechabellum Wiki
(rework and update unit navigation) |
mNo edit summary |
||
Line 20: | Line 20: | ||
; 19 War Factory | ; 19 War Factory | ||
}}{{#vardefine:max | 19 | }}{{#vardefine:max | 19 | ||
}}{{#vardefine:pos | {{#sub:{{#var:names}} | {{#expr: {{#pos:{{#var:names}}| | }}{{#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}} }} |
Revision as of 19:49, 18 January 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 |