Template:UnitInfobox: Difference between revisions
From Mechabellum Wiki
(smaller title for Sledgehammer) |
(move value calculation to UnitData) |
||
Line 83: | Line 83: | ||
<th>Unit Cost</th> | <th>Unit Cost</th> | ||
<td> | <td> | ||
{{#var:min_cost}} | |||
{{#ifeq:{{#var:unlockcost}} | 0 || - | {{#ifeq:{{#var:unlockcost}} | 0 || - {{#var:max_cost}} }} | ||
</td> | </td> | ||
</tr> | </tr> | ||
Line 90: | Line 90: | ||
<th>HP Value</th> | <th>HP Value</th> | ||
<td> | <td> | ||
{{#ifeq:{{#var:unlockcost}} | 0 || | {{#ifeq:{{#var:unlockcost}} | 0 || {{#var:min_hp_val}} - }} | ||
{{#var:max_hp_val}} | |||
</td> | </td> | ||
</tr> | </tr> | ||
Line 97: | Line 97: | ||
<th>Burst Value</th> | <th>Burst Value</th> | ||
<td> | <td> | ||
{{#ifeq:{{#var:unlockcost}} | 0 || | {{#ifeq:{{#var:unlockcost}} | 0 || {{#var:min_burst_val}} - }} | ||
{{#var:max_burst_val}} | |||
</td> | </td> | ||
</tr> | </tr> | ||
Line 104: | Line 104: | ||
<th>DPS Value</th> | <th>DPS Value</th> | ||
<td> | <td> | ||
{{#ifeq:{{#var:unlockcost}} | 0 || | {{#ifeq:{{#var:unlockcost}} | 0 || {{#var:min_dps_val}} - }} | ||
{{#var:max_dps_val}} | |||
</td> | </td> | ||
</tr> | </tr> | ||
Line 111: | Line 111: | ||
<th>Splash Index</th> | <th>Splash Index</th> | ||
<td> | <td> | ||
{{#var:splash_index}} | |||
}} | |||
</td> | </td> | ||
</tr> | </tr> |
Revision as of 17:39, 16 July 2023
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 |