Template:UnitInfobox: Difference between revisions
From Mechabellum Wiki
(Created page with "<div class="infobox"> <div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| <div class="infobox-image">[[File:{{PAGENAME:{{{image}}}}}|300px]]</div>}} <table class="infobox-table">{{#if:{{{param1|}}}|<tr> <th>Ground/Air</th> <td>{{{groundair}}}</td> </tr>}}{{#if:{{{groundair|}}}|<tr> <th>Giant</th> <td>{{{giant}}}</td> </tr>}}{{#if:{{{param3|}}}|<tr> <th>Parameter 3</th> <td>{{{param3}}}</td> </tr>}}{{#if:{{{param4|}}}|<tr>...") |
No edit summary |
||
Line 8: | Line 8: | ||
<th>Giant</th> | <th>Giant</th> | ||
<td>{{{giant}}}</td> | <td>{{{giant}}}</td> | ||
</tr>}}{{#if:{{{ | </tr>}}{{#if:{{{type|}}}|<tr> | ||
<th> | <th>Unit Type</th> | ||
<td>{{{ | <td>{{{type}}}</td> | ||
</tr>}}{{#if:{{{ | </tr>}}{{#if:{{{cost|}}}|<tr> | ||
<th> | <th>Cost</th> | ||
<td>{{{ | <td>{{{cost}}}</td> | ||
</tr>}}{{#if:{{{ | </tr>}}{{#if:{{{units|}}}|<tr> | ||
<th> | <th>Units</th> | ||
<td>{{{ | <td>{{{units}}}</td> | ||
</tr>}}</table> | </tr> | ||
</tr>}}{{#if:{{{hp|}}}|<tr> | |||
<th>HP</th> | |||
<td>{{{hp}}}</td> | |||
</tr> | |||
</tr>}}{{#if:{{{atk|}}}|<tr> | |||
<th>Attack</th> | |||
<td>{{{atk}}}</td> | |||
</tr> | |||
</tr>}}{{#if:{{{target|}}}|<tr> | |||
<th>Target</th> | |||
<td>{{{target}}}</td> | |||
</tr> | |||
</tr>}}{{#if:{{{atkint|}}}|<tr> | |||
<th>Attack Interval</th> | |||
<td>{{{atkint}}}</td> | |||
</tr> | |||
</tr>}}{{#if:{{{range|}}}|<tr> | |||
<th>Range</th> | |||
<td>{{{range}}}</td> | |||
</tr> | |||
</tr>}}{{#if:{{{speed|}}}|<tr> | |||
<th>Speed</th> | |||
<td>{{{speed}}}</td> | |||
</tr> | |||
</tr>}}{{#if:{{{igdesc|}}}|<tr> | |||
<th>Description</th> | |||
<td>{{{igdesc}}}</td> | |||
</tr> | |||
}}</table> | |||
</div> | </div> | ||
<noinclude> | |||
<templatedata> | |||
{ | |||
"params": {}, | |||
"description": "Infobox for all ingame stats for this unit" | |||
} | |||
</templatedata> | |||
</noinclude> |
Revision as of 12:25, 30 March 2023
UnitInfobox
Infobox for all ingame stats for this unit
Parameter | Description | Type | Status | |||
---|---|---|---|---|---|---|
No parameters specified |