Difference between revisions of "Template:UnitSidebar"

From 30 Minute Missions: Wargame
Line 17: Line 17:
</tr>}}
</tr>}}
<tr>
<tr>
{{#if:{{{ServiceHistory|}}}|<tdhService History:</th><td>{{{ServiceHistory|}}}</td>
{{#if:{{{HeadDurability|}}}|<th>HeadDurability:</th><td>{{{HeadDurability|}}}</td>
</tr>}}
</tr>}}
{{#if:{{{PastPilots|}}}|
<tr>
<tr>
<th>Past Pilot(s):</th><td>{{{PastPilots|}}}</td>
{{#if:{{{TorsoDurability|}}}|<th>TorsoDurability:</th><td>{{{TorsoDurability|}}}</td>
</tr>
</tr>}}
}}
<tr>
{{#if:{{{CurrentPilot|}}}|
{{#if:{{{LeftArmDurability|}}}|<th>LeftArmDurability:</th><td>{{{LeftArmDurability|}}}</td>
</tr>}}
<tr>
<tr>
<th>Current Pilot(s):</th><td>{{{CurrentPilot|}}}</td>
{{#if:{{{RightArmDurability|}}}|<th>RightArmDurability:</th><td>{{{RightArmDurability|}}}</td>
</tr>
</tr>}}
{{#if:{{{Trait1|}}}|
<tr>
<tr>
<th>Traits:</th><td>
{{#if:{{{LeftLegDurability|}}}|<th>LeftLegDurability:</th><td>{{{LeftLegDurability|}}}</td>
*{{{Trait1|}}}
</tr>}}
{{#if:{{{Trait2|}}}|*{{{Trait2|}}}}}
</td>
</tr>
}}
{{#if:{{{Mod1|}}}|
<tr>
<tr>
<th>Mods:</th><td>
{{#if:{{{RightLegDurability|}}}|<th>RightLegDurability:</th><td>{{{RightLegDurability|}}}</td>
*{{{Mod1|}}}
</tr>}}
{{#if:{{{Mod2|}}}|*{{{Mod2|}}}}}
{{#if:{{{Mod3|}}}|*{{{Mod3|}}}}}
</td>
</tr>
}}
}}
{{#if:{{{System1|}}}|
{{#if:{{{System1|}}}|
<tr>
<tr>
Line 59: Line 47:
</div>
</div>
</div>
</div>
{{#if:{{{Byron|}}}|[[Category:Byron]]}}
{{#if:{{{Earth|}}}|[[Category:Earth]]}}
{{#if:{{{Maxion|}}}|[[Category:Maxion]]}}
{{#if:{{{Mercenary|}}}|[[Category:Mercenary]]}}
{{#if:{{{Warmongers|}}}|[[Category:Warmongers]]}}
{{#if:{{{Peacemakers|}}}|[[Category:Peacemakers]]}}


<noinclude>
<noinclude>
Line 70: Line 65:
| Classification =
| Classification =
| Manufacturer =
| Manufacturer =
| ServiceHistory =
| HeadDurability =
| PastPilots =
| TorsoDurability=
| CurrentPilot =
| LeftArmDurability =
 
| RightArmDurability =
| LeftLegDurability =
| RightLegDurability =
| System1 =
| System2 =
| System3 =
| System4 =
| System5 =
<!-- Pick One to put data in --!>
| Byron =
| Earth =
| Maxion =
| Mercenary =
| Warmongers =
| Peacemakers =
}}
}}
</pre>
</pre>
Line 102: Line 111:
</tr>
</tr>
<tr>
<tr>
<td>ServiceHistory:</td><td></td>
<td>HeadDurability:</td><td></td>
</tr>
<tr>
<td>PastPilots:</td><td></td>
</tr>
<tr>
<td>CurrentPilot:</td><td></td>
</tr>
</tr>
<tr>
<tr>
<td>Trait1:</td><td></td>
<td>BodyDurability:</td><td></td>
</tr>
</tr>
<tr>
<tr>
<td>Trait2:</td><td></td>
<td>LeftArmDurability:</td><td></td>
</tr>
</tr>
<tr>
<tr>
<td>Mod1:</td><td></td>
<td>RightArmDurability:</td><td></td>
</tr>
</tr>
<tr>
<tr>
<td>Mod2:</td><td></td>
<td>LeftLegDurability:</td><td></td>
</tr>
</tr>
<tr>
<tr>
<td>Mod3:</td><td></td>
<td>RightLegDurability:</td><td></td>
</tr>
</tr>
<tr>
<tr>

Revision as of 17:48, 20 April 2023

UnitSidebar
Unit Type:
Core Type:
Classification:





Usage

{{UnitSidebar
| Name =
| UnitImg =
| UnitType =
| CoreType = 
| Classification =
| Manufacturer =
| HeadDurability =
| TorsoDurability=
| LeftArmDurability =
| RightArmDurability =
| LeftLegDurability =
| RightLegDurability =
| System1 = 
| System2 =
| System3 =
| System4 =
| System5 =
<!-- Pick One to put data in --!>
| Byron =
| Earth =
| Maxion =
| Mercenary =
| Warmongers =
| Peacemakers =
}}

Parameters

ParameterExplanation
Name:
UnitImg:
UnitType:
CoreType:
Classification:
Manufacturer:
HeadDurability:
BodyDurability:
LeftArmDurability:
RightArmDurability:
LeftLegDurability:
RightLegDurability:
System1:
System2:
System3:
System4:
System5