Difference between revisions of "Template:PilotSidebar"

From 30 Minute Missions: Wargame
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<table class"wikitable">
<div class="infobox">
{{#if:{{{CurrentPilot|}}}|
<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>
<tr>
<th>Current Pilot(s):</th><td>{{{CurrentPilot|}}}</td>
<th>Rank:</th><td>{{{Rank}}}</td>
</tr>
</tr>
}}
{{#if:{{{Faction|}}}|
<tr>
<th>Faction:</th><td>{{{Faction}}}</td>
</tr>
}}
{{#if:{{{Squad|}}}|
<tr>
<th>Squad:</th><td>{{{Squad}}}</td>
</tr>
}}
{{#if:{{{Title|}}}|
<tr>
<th>Title:</th><td>{{{Title}}}</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|}}}|
{{#if:{{{Trait1|}}}|
<tr>
<tr>
Line 21: Line 56:
</tr>
</tr>
}}
}}
</table>
</div>
<noinclude>
=== Usage ===
<pre>
{{UnitSidebar
| Name =
| PilotImg =
| Rank =
| Faction =
| Squad =
| Title =
| 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]]

Latest revision as of 12:37, 4 November 2023

PilotSidebar


Usage

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

Parameters

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