Difference between revisions of "Template:PilotSidebar"

From 30 Minute Missions: Wargame
(Created page with " <noinclude> Category:TemplateCategory:Incomplete </noinclude> Category:Pilot")
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="infobox">
<div class="infobox-title">{{{title|{{#if:{{{Name|}}}|{{{Name}}}|{{PAGENAME}}}}}}}</div>
{{#if:{{{PilotImg|}}}|
<div class="infobox-image">[[File:{{{PilotImg}}}|225px]]</div>}}
<table class"infobox-table">
{{#if:{{{Rank|}}}|
<tr>
<th>Rank:</th><td>{{{Rank}}}</td>
</tr>
}}
{{#if:{{{Faction|}}}|
<tr>
<th>Faction:</th><td>{{{Faction}}}</td>
</tr>
}}
{{#if:{{{Squad|}}}|
<tr>
<th>Squad:</th><td>{{{Squad}}}</td>
</tr>
}}
{{#if:{{{Age|}}}|
<tr>
<th>Age:</th><td>{{{Age}}}</td>
</tr>
}}
{{#if:{{{Height|}}}|
<tr>
<th>Height:</th><td>{{{Height}}}</td>
</tr>
}}
{{#if:{{{Weight|}}}|
<tr>
<th>Weight:</th><td>{{{Weight}}}</td>
</tr>
}}
{{#if:{{{Trait1|}}}|
<tr>
<th>Traits:</th><td>
*{{{Trait1|}}}
{{#if:{{{Trait2|}}}|*{{{Trait2|}}}}}
</td>
</tr>
}}
{{#if:{{{Mod1|}}}|
<tr>
<th>Mods:</th><td>
*{{{Mod1|}}}
{{#if:{{{Mod2|}}}|*{{{Mod2|}}}}}
{{#if:{{{Mod3|}}}|*{{{Mod3|}}}}}
</td>
</tr>
}}
</table>
</div>


<noinclude>
=== Usage ===
<pre>
{{UnitSidebar
| Name =
| PilotImg =
| Rank =
| Faction =
| Squad =
| Age =
| Height =
| Weight =
| Trait1 =
| Trait2 =
| Mod1 =
| Mod2 =
| Mod3 =
}}
</pre>
=== Parameters ===
<table class="wikitable">
<tr>
<th>Parameter</th><th>Explanation</th>
</tr>
<tr>
<td>Name:</td><td></td>
</tr>
<tr>
<td>PilotImg:</td><td></td>
</tr>
<tr>
<td>Rank:</td><td></td>
</tr>
<tr>
<td>Faction:</td><td></td>
</tr>
<tr>
<td>Squad:</td><td></td>
</tr>
<tr>
<td>Age:</td><td></td>
</tr>
<tr>
<td>Height:</td><td></td>
</tr>
<tr>
<td>Weight:</td><td></td>
</tr>
<tr>
<td>Trait1:</td><td></td>
</tr>
<tr>
<td>Trait2:</td><td></td>
</tr>
<tr>
<td>Mod1:</td><td></td>
</tr>
<tr>
<td>Mod2:</td><td></td>
</tr>
<tr>
<td>Mod3:</td><td></td>
</tr>
</table>


<noinclude>
[[Category:Template]][[Category:Incomplete]]
[[Category:Template]][[Category:Incomplete]]
</noinclude>
</noinclude>
[[Category:Pilot]]
[[Category:Pilot]]

Revision as of 23:33, 21 October 2021

PilotSidebar


Usage

{{UnitSidebar
| Name =
| PilotImg =
| Rank =
| Faction = 
| Squad =
| Age =
| Height =
| Weight =
| Trait1 =
| Trait2 =
| Mod1 =
| Mod2 =
| Mod3 =
}}

Parameters

ParameterExplanation
Name:
PilotImg:
Rank:
Faction:
Squad:
Age:
Height:
Weight:
Trait1:
Trait2:
Mod1:
Mod2:
Mod3: