Template:UnitOverviewRow: Difference between revisions

From Mechabellum Wiki
(set data and output one row)
 
(add rare unit)
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{UnitData|{{{1|Fortress}}} }}
{{UnitData|{{{1|Fortress}}} }}
|[[{{{1}}}]]
|[[{{{1}}}]]
|{{#var:mobility}}
|{{#ifeq:{{#var:mobility}}|Air|✔️|❌}}
|{{#ifeq:{{#var:giant}}|Yes|✔️|❌}}
|{{#ifeq:{{#var:giant}}|Yes|✔️|❌}}
|{{#ifeq:{{#var:rare}}|Yes|✔️|❌}}
|{{#var:cost}}
|{{#var:cost}}
|{{#var:unlockcost}}
|{{#var:unlockcost}}
Line 8: Line 9:
|{{#var:hp}}
|{{#var:hp}}
|{{#expr: {{#var:hp}} * {{#var:units}} }}
|{{#expr: {{#var:hp}} * {{#var:units}} }}
|data-sort-value="{{#expr:{{#var:atk}}}}"|{{#var:atk}}
|data-sort-value="{{#expr:{{#var:atk}}}}"|{{#replace:{{#replace:{{#var:atk}}|| }}|*|×}}
|{{#var:burst}}
|{{#var:burst}}
|{{#var:dps}}
|{{#var:dps}}
|{{#var:target}}
|style="white-space:nowrap;"|{{#ifeq:{{#var:target}}|Ground Only
  |<i class="fas fa-truck-pickup"></i>
  |<sup class="fas fa-fighter-jet"></sup><sub class="fas fa-truck-pickup"></sub>
}}
|{{#var:atkint}}
|{{#var:atkint}}
|{{#var:splash}}
|{{#var:splash}}
|{{#ifeq:{{#var:range}} | 0 | data-sort-value="0"{{!}}Melee | {{#var:range}} }}
|{{#ifeq:{{#var:range}} | 0 | data-sort-value="0"{{!}}Melee | {{#var:range}} }}
|{{#var:speed}}
|{{#var:speed}}
|{{#var:min_cost}}{{#ifeq:{{#var:unlockcost}} | 0 || &nbsp;-&nbsp;{{#var:max_cost}} }}
|{{#ifeq:{{#var:unlockcost}} | 0 || {{#var:min_hp_val}}&nbsp;-&nbsp;}}{{#var:max_hp_val}}
|{{#ifeq:{{#var:unlockcost}} | 0 || {{#var:min_burst_val}}&nbsp;-&nbsp;}}{{#var:max_burst_val}}
|{{#ifeq:{{#var:unlockcost}} | 0 || {{#var:min_dps_val}}&nbsp;-&nbsp;}}{{#var:max_dps_val}}
|{{#var:splash_index}}
|-
|-

Latest revision as of 19:32, 4 September 2024

|[[{{{1}}}]] |❌ |✔️ |❌ |400 |200 |1 |43938 |43938 |data-sort-value="6177"|6177 |6177 |3432 |style="white-space:nowrap;"| |1.8 |5.0 |100 |6 |400 - 600 |73.2 - 109.8 |10.3 - 15.4 |5.7 - 8.6 |2.8 |-