Template:UnitInfobox: Difference between revisions

From Mechabellum Wiki
(changed image)
(smaller layout, prepare parameter changes (WIP))
Line 39: Line 39:
</tr>}}{{#if:{{{splashdmg|}}}|<tr>
</tr>}}{{#if:{{{splashdmg|}}}|<tr>
     <th>Splash Damage</th>
     <th>Splash Damage</th>
     <td>{{{splashdmg}}}</td>
     <td>{{#ifeq:{{{splashdmg}}}|0|No|{{{splashdmg}}} }}</td>
</tr>
</tr>
</tr>}}{{#if:{{{range|}}}|<tr>
</tr>}}{{#if:{{{range|}}}|<tr>
Line 50: Line 50:
</tr>
</tr>
</tr>}}{{#if:{{{igdesc|}}}|<tr>
</tr>}}{{#if:{{{igdesc|}}}|<tr>
     <th>Description</th>
     <td colspan="2">
    <td>{{{igdesc}}}</td>
        <dt>Description</dt>
        <dd>{{{igdesc}}}</dd>
    </td>
</tr>
</tr>
}}</table>
}}</table>
Line 60: Line 62:
"params": {
"params": {
"image": {},
"image": {},
"giant": {},
"giant": {"default":"No"},
"type": {},
"type": {},
"cost": {},
"cost": {},
"units": {},
"units": {"default":"1"},
"hp": {},
"hp": {},
"atk": {},
"atk": {},
"target": {},
"target": {"default":"Ground Only"},
"atkint": {},
"atkint": {},
"range": {},
"range": {},
"speed": {},
"speed": {},
"igdesc": {},
"igdesc": {},
"mobility": {},
"mobility": {"default":"Ground"},
"unlockcost": {},
"unlockcost": {},
"splashdmg": {}
"splashdmg": {"default":"0"}
},
},
"description": "Infobox for all ingame stats for this unit",
"description": "Infobox for all ingame stats for this unit",

Revision as of 00:25, 28 May 2023

UnitInfobox

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

Unknownoptional
costcost

no description

Unknownoptional
unitsunits

no description

Default
1
Unknownoptional
hphp

no description

Unknownoptional
atkatk

no description

Unknownoptional
splashdmgsplashdmg

no description

Default
0
Unknownoptional
targettarget

no description

Default
Ground Only
Unknownoptional
atkintatkint

no description

Unknownoptional
rangerange

no description

Unknownoptional
speedspeed

no description

Unknownoptional
igdescigdesc

no description

Unknownoptional