Template:UnitInfobox: Difference between revisions

From Mechabellum Wiki
m (fix melting burst damage)
(use Unit Type as subtitle)
Line 1: Line 1:
<div class="infobox" style="max-width: 100%;">
<div class="infobox" style="max-width: 100%;">
<div class="infobox-title">{{PAGENAME}}</div>{{#if:{{{image|}}}|
<div class="infobox-title">{{PAGENAME}}</div>
{{#if:{{{type|}}}|<p class="text-center h5">{{{type}}}</p>}}
{{#if:{{{image|}}}|
<div class="infobox-image" style="max-width: 100%; overflow: auto; background-color: #0003;">[[File:{{PAGENAME:{{{image}}}}}]]</div>}}
<div class="infobox-image" style="max-width: 100%; overflow: auto; background-color: #0003;">[[File:{{PAGENAME:{{{image}}}}}]]</div>}}
<table class="infobox-table">
<table class="infobox-table">
Line 11: Line 13:
     <td>{{{giant|No}}}</td>
     <td>{{{giant|No}}}</td>
</tr>
</tr>
{{#if:{{{type|}}}|<tr>
    <th>Unit Type</th>
    <td>{{{type}}}</td>
</tr>
}}
{{#if:{{{cost|}}}|<tr>
{{#if:{{{cost|}}}|<tr>
     <th>Cost</th>
     <th>Cost</th>

Revision as of 13:07, 28 May 2023

UnitInfobox


Mobility Ground
Giant No
Unlock cost Free
Units 1
Target Ground Only
Splash Damage No
Burst Damage Minimal
Max DPS 0
Range Melee

Infobox for all ingame stats for this unit

Template parameters

ParameterDescriptionTypeStatus
imageimage

no description

Unknownoptional
mobilitymobility

no description

Default
Ground
Unknownoptional
giantgiant

no description

Default
No
Unknownoptional
typetype

no description

Unknownoptional
unlockcostunlockcost

no description

Default
Free
Unknownoptional
costcost

no description

Unknownoptional
unitsunits

no description

Default
1
Unknownoptional
hphp

no description

Unknownoptional
atkatk

no description

Unknownoptional
splashdmgsplashdmg

no description

Default
No
Unknownoptional
targettarget

no description

Default
Ground Only
Unknownoptional
atkintatkint

no description

Unknownoptional
rangerange

no description

Default
Melee
Unknownoptional
speedspeed

no description

Unknownoptional
igdescigdesc

no description

Unknownoptional