Difference between revisions of "Template:UnitSidebar"

From 30 Minute Missions: Wargame
(Added Drone back and made it work)
 
(13 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:{{{ServiceHistory|}}}|<tdhService History:</th><td>{{{ServiceHistory|}}}</td>
<th> Accuracy:</th><td>{{{Accuracy|}}}</td>
</tr>}}
{{#if:{{{PastPilots|}}}|
<tr>
<th>Past Pilot(s):</th><td>{{{PastPilots|}}}</td>
</tr>
</tr>
}}
{{#if:{{{CurrentPilot|}}}|
<tr>
<tr>
<th>Current Pilot(s):</th><td>{{{CurrentPilot|}}}</td>
<th> Assault:</th><td>{{{Assault|}}}</td>
</tr>
</tr>
{{#if:{{{Trait1|}}}|
<tr>
<tr>
<th>Traits:</th><td>
<th> Evasion:</th><td>{{{Evasion|}}}</td>
*{{{Trait1|}}}
</tr>}}
{{#if:{{{Trait2|}}}|*{{{Trait2|}}}}}
</td>
</tr>
}}
{{#if:{{{Mod1|}}}|
<tr>
<th>Mods:</th><td>
*{{{Mod1|}}}
{{#if:{{{Mod2|}}}|*{{{Mod2|}}}}}
{{#if:{{{Mod3|}}}|*{{{Mod3|}}}}}
</td>
</tr>
}}
}}
{{#if:{{{System1|}}}|
<tr>
<tr>
<th>Systems:</th>
<td>
*{{{System1|}}}
{{#if:{{{System2|}}}|*{{{System2|}}}}}
{{#if:{{{System3|}}}|*{{{System3|}}}}}
{{#if:{{{System4|}}}|*{{{System4|}}}}}
{{#if:{{{System5|}}}|*{{{System5|}}}}}
}}
</table>
</table>
</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]]}}
{{#if:{{{Mech|}}}|[[Category:Mech]]}}
{{#if:{{{Vehicle|}}}|[[Category:Vehicle]]}}
{{#if:{{{Drone|}}}|[[Category:Drone]]}}
<noinclude>
<noinclude>
=== Usage ===
=== Usage ===
Line 66: Line 52:
| Name =
| Name =
| UnitImg =
| UnitImg =
| UnitType =
| CoreType =
| CoreType =  
| Total Defense =
| Classification =
| Classification =
| Manufacturer =
| Manufacturer =
| ServiceHistory =
| Accuracy =
| PastPilots =
| Assault =
| CurrentPilot =
| Evasion =
 
| Byron =
| Earth =
| Maxion =
| Mercenary =
| Warmongers =
| Peacemakers =


| Mech =
| Vehicle =
| Drone =
}}
}}
</pre>
</pre>


=== Parameters ===
=== Parameters ===
<table class="wikitable">
<tr>
<th>Parameter</th><th>Explanation</th>
</tr>
<tr>
<td>Name:</td><td></td>
</tr>
<tr>
<td>UnitImg:</td><td></td>
</tr>
<tr>
<td>CoreType:</td><td></td>
</tr>
<tr>
<td>Total Defense:</td><td></td>
</tr>
<tr>
<td>Classification:</td><td></td>
</tr>
<tr>
<td>Manufacturer:</td><td></td>
</tr>
<tr>
<tr><td>Accuracy</td><td></td></tr>
<tr><td>Assault</td><td></td></tr>
<tr><td>Evasion</td><td></td></tr>
<tr><td>Byron</td><td></td></tr>
<tr><td>Earth</td><td></td></tr>
<tr><td>Maxion</td><td></td></tr>
<tr><td>Mercenary</td><td></td></tr>
<tr><td>Warmongers</td><td></td></tr>
<tr><td>Peacemakers</td><td></td></tr>
<tr><td>Mech</td><td></td></tr>
<tr><td>Vehicle</td><td></td></tr>
<tr><td>Drone</td><td></td></tr>
</table>


[[Category:Template]]
[[Category:Template]]
</noinclude>
</noinclude>
[[Category:Units]]
[[Category:Units]]

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