Template:UnitInfobox: Difference between revisions

From Mechabellum Wiki
No edit summary
No edit summary
Line 21: Line 21:
; 18 Tarantula
; 18 Tarantula
; 19 Sandworm
; 19 Sandworm
}}{{#vardefine:max | 19
}}{{#vardefine:max | 21
}}{{#vardefine:pos | {{#sub:{{#var:names}} | {{#expr: {{#pos:{{#var:names}}|{{PAGENAME}}}} - 3}} | 3}}
}}{{#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}} }}
Line 109: Line 109:
<caption style="padding:0;"></caption>
<caption style="padding:0;"></caption>
<tr style="border-top:1px solid #0002;line-height:1.1">
<tr style="border-top:1px solid #0002;line-height:1.1">
     <td colspan="2"><small>Values are normalized to the supply cost of the unit to make it easier to compare units.<br>The Splash Index tries to calculate the effectiveness vs spam by multiply attacks with slash area and a penalty for damage below 350.</small>
     <td colspan="2"><small>Values are normalized to the supply cost of the unit to make it easier to compare units.<br>The Splash Index tries to calculate the effectiveness vs spam by multiplying attacks with slash area and a penalty for damage below 350.</small>
     </td>
     </td>
</tr>
</tr>

Revision as of 14:35, 22 August 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