Template:UnitInfobox: Difference between revisions

From Mechabellum Wiki
m (test)
m (test)
Line 42: Line 42:
{{#if:{{{type|}}}|<p class="text-center h5">{{{type}}}</p>}}
{{#if:{{{type|}}}|<p class="text-center h5">{{{type}}}</p>}}
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
<div class="infobox-image" style="max-width: 150%; overflow: auto; background-color: #0003;">[[File:{{PAGENAME:{{{image}}}}}]]</div>}}
<div class="infobox-image" style="max-width:200%; overflow: auto; background-color: #0003;">[[File:{{PAGENAME:{{{image}}}}}]]</div>}}
<table class="infobox-table">
<table class="infobox-table">
<tr>
<tr>

Revision as of 04:04, 1 April 2025

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