Template:UnitInfobox: Difference between revisions
From Mechabellum Wiki
No edit summary Tag: Manual revert |
(add max-width (mobile quick fix)) |
||
Line 1: | Line 1: | ||
<div class="infobox"> | <div class="infobox" style="max-width: 100%;"> | ||
<div class="infobox-title">{{PAGENAME}}</div>{{#if:{{{image|}}}| | <div class="infobox-title">{{PAGENAME}}</div>{{#if:{{{image|}}}| | ||
<div class="infobox-image">[[File:{{PAGENAME:{{{image}}}}}|300px]]</div>}} | <div class="infobox-image" style="max-width: 100%;overflow: auto;">[[File:{{PAGENAME:{{{image}}}}}|300px]]</div>}} | ||
<table class="infobox-table">{{#if:{{{mobility|}}}|<tr> | <table class="infobox-table">{{#if:{{{mobility|}}}|<tr> | ||
<th>Mobility</th> | <th>Mobility</th> |
Revision as of 18:54, 24 May 2023
UnitInfobox
Infobox for all ingame stats for this unit
Parameter | Description | Type | Status | |
---|---|---|---|---|
image | image | no description | Unknown | optional |
mobility | mobility | no description | Unknown | optional |
giant | giant | no description | Unknown | optional |
type | type | no description | Unknown | optional |
unlockcost | unlockcost | no description | Unknown | optional |
cost | cost | no description | Unknown | optional |
units | units | no description | Unknown | optional |
hp | hp | no description | Unknown | optional |
atk | atk | no description | Unknown | optional |
splashdmg | splashdmg | no description | Unknown | optional |
target | target | no description | Unknown | optional |
atkint | atkint | no description | Unknown | optional |
range | range | no description | Unknown | optional |
speed | speed | no description | Unknown | optional |
igdesc | igdesc | no description | Unknown | optional |