Difference between revisions of "Template:UnitSidebar"

From 30 Minute Missions: Wargame
(Added Drone back and made it work)
 
(9 intermediate revisions by 2 users not shown)
Line 5: Line 5:
<table class="infobox-table">
<table class="infobox-table">
<tr>
<tr>
<th>Unit Type:</th><td>{{{UnitType|}}}</td>
<th>Unit Type:</th><td>{{#if:{{{Mech|}}}|Mech}}{{#if:{{{Vehicle|}}}|Vehicle}}</td>
</tr>
</tr>
<tr>
<tr>
<th>Core Type:</th><td>{{{CoreType|}}}</td>
<th>Core Type:</th><td>{{{CoreType|}}}</td>
</tr>
<tr>
<th>Total Defense:</th><td>{{{Total Defense|}}}</td>
</tr>
</tr>
<tr>
<tr>
<th>Classification:</th><td>{{{Classification|}}}</td>
<th>Classification:</th><td>{{{Classification|}}}</td>
</tr>
</tr>
{{#if:{{{Manufacturer|}}}|<tr>
{{#if:{{{Manufacturer|}}}|
<tr> <th> ~ </th> </tr>
<tr>
<th>Manufacturer(s):</th><td>{{{Manufacturer|}}}</td>
<th>Manufacturer(s):</th><td>{{{Manufacturer|}}}</td>
</tr>}}
</tr>}}
{{#if:{{{Accuracy|}}}|
<tr> <th> ~ </th> </tr>
<tr>
<tr>
{{#if:{{{HeadDurability|}}}|<th>HeadDurability:</th><td>{{{HeadDurability|}}}</td>
<th> Accuracy:</th><td>{{{Accuracy|}}}</td>
</tr>}}
</tr>
<tr>
<tr>
{{#if:{{{TorsoDurability|}}}|<th>TorsoDurability:</th><td>{{{TorsoDurability|}}}</td>
<th> Assault:</th><td>{{{Assault|}}}</td>
</tr>}}
</tr>
<tr>
{{#if:{{{LeftArmDurability|}}}|<th>LeftArmDurability:</th><td>{{{LeftArmDurability|}}}</td>
</tr>}}
<tr>
{{#if:{{{RightArmDurability|}}}|<th>RightArmDurability:</th><td>{{{RightArmDurability|}}}</td>
</tr>}}
<tr>
<tr>
{{#if:{{{LeftLegDurability|}}}|<th>LeftLegDurability:</th><td>{{{LeftLegDurability|}}}</td>
<th> Evasion:</th><td>{{{Evasion|}}}</td>
</tr>}}
</tr>}}
<tr>
<tr>
{{#if:{{{RightLegDurability|}}}|<th>RightLegDurability:</th><td>{{{RightLegDurability|}}}</td>
</tr>}}
{{#if:{{{System1|}}}|
<tr>
<th>Systems:</th>
<td>
*{{{System1|}}}
{{#if:{{{System2|}}}|*{{{System2|}}}}}
{{#if:{{{System3|}}}|*{{{System3|}}}}}
{{#if:{{{System4|}}}|*{{{System4|}}}}}
{{#if:{{{System5|}}}|*{{{System5|}}}}}
}}
</table>
</table>
</div>
</div>
Line 54: Line 43:
{{#if:{{{Warmongers|}}}|[[Category:Warmongers]]}}
{{#if:{{{Warmongers|}}}|[[Category:Warmongers]]}}
{{#if:{{{Peacemakers|}}}|[[Category:Peacemakers]]}}
{{#if:{{{Peacemakers|}}}|[[Category:Peacemakers]]}}
 
{{#if:{{{Mech|}}}|[[Category:Mech]]}}
{{#if:{{{Vehicle|}}}|[[Category:Vehicle]]}}
{{#if:{{{Drone|}}}|[[Category:Drone]]}}
<noinclude>
<noinclude>
=== Usage ===
=== Usage ===
Line 61: Line 52:
| Name =
| Name =
| UnitImg =
| UnitImg =
| UnitType =
| CoreType =
| CoreType =  
| Total Defense =
| Classification =
| Classification =
| Manufacturer =
| Manufacturer =
| HeadDurability =
| Accuracy =
| TorsoDurability=
| Assault =
| LeftArmDurability =
| Evasion =
| RightArmDurability =
 
| LeftLegDurability =
| RightLegDurability =
| System1 =
| System2 =
| System3 =
| System4 =
| System5 =
<!-- Pick One to put data in --!>
| Byron =
| Byron =
| Earth =
| Earth =
Line 83: Line 66:
| Warmongers =
| Warmongers =
| Peacemakers =
| Peacemakers =
| Mech =
| Vehicle =
| Drone =
}}
}}
</pre>
</pre>
Line 99: Line 86:
</tr>
</tr>
<tr>
<tr>
<td>UnitType:</td><td></td>
<td>CoreType:</td><td></td>
</tr>
</tr>
<tr>
<tr>
<td>CoreType:</td><td></td>
<td>Total Defense:</td><td></td>
</tr>
</tr>
<tr>
<tr>
Line 111: Line 98:
</tr>
</tr>
<tr>
<tr>
<td>HeadDurability:</td><td></td>
<tr><td>Accuracy</td><td></td></tr>
</tr>
<tr><td>Assault</td><td></td></tr>
<tr>
<tr><td>Evasion</td><td></td></tr>
<td>BodyDurability:</td><td></td>
<tr><td>Byron</td><td></td></tr>
</tr>
<tr><td>Earth</td><td></td></tr>
<tr>
<tr><td>Maxion</td><td></td></tr>
<td>LeftArmDurability:</td><td></td>
<tr><td>Mercenary</td><td></td></tr>
</tr>
<tr><td>Warmongers</td><td></td></tr>
<tr>
<tr><td>Peacemakers</td><td></td></tr>
<td>RightArmDurability:</td><td></td>
<tr><td>Mech</td><td></td></tr>
</tr>
<tr><td>Vehicle</td><td></td></tr>
<tr>
<tr><td>Drone</td><td></td></tr>
<td>LeftLegDurability:</td><td></td>
</tr>
<tr>
<td>RightLegDurability:</td><td></td>
</tr>
<tr>
<td>System1:</td><td></td>
</tr>
<tr>
<td>System2:</td><td></td>
</tr>
<tr>
<td>System3:</td><td></td>
</tr>
<tr>
<td>System4:</td><td></td>
</tr>
<tr>
<td>System5</td><td></td>
</tr>
</table>
</table>



Latest revision as of 22:18, 19 December 2023

UnitSidebar
Unit Type:
Core Type:
Total Defense:
Classification:






Usage

{{UnitSidebar
| Name =
| UnitImg =
| CoreType =
| Total Defense =
| Classification =
| Manufacturer =
| Accuracy =
| Assault =
| Evasion =

| Byron =
| Earth =
| Maxion =
| Mercenary =
| Warmongers =
| Peacemakers =

| Mech =
| Vehicle =
| Drone = 
}}

Parameters

ParameterExplanation
Name:
UnitImg:
CoreType:
Total Defense:
Classification:
Manufacturer:
Accuracy
Assault
Evasion
Byron
Earth
Maxion
Mercenary
Warmongers
Peacemakers
Mech
Vehicle
Drone