Difference between revisions of "Template:Infobox Ship/v2"

From Holocron - Star Wars Combine
Jump to: navigation, search
(testing additional variables)
Line 2: Line 2:
 
<tr><td width="100%" colspan="2" style="background-color: #21314c; font-size: 16px; text-align: center;"><font color="white"><b>{{{name}}}</b></font></td></tr>
 
<tr><td width="100%" colspan="2" style="background-color: #21314c; font-size: 16px; text-align: center;"><font color="white"><b>{{{name}}}</b></font></td></tr>
 
<tr><td width="100%" colspan="2" style="text-align: center;">{{{image}}}</td></tr>{{
 
<tr><td width="100%" colspan="2" style="text-align: center;">{{{image}}}</td></tr>{{
#if:{{{Class|}}}|<tr><td width="31%" valign="top">Class</td><td width="69%">{{{Class}}}</td></tr>}}{{
+
#if:{{{Class|}}}|<tr><td width="35%" valign="top">Class</td><td width="65%">{{{Class}}}</td></tr>}}{{
#if:{{{Estimated RM Price|}}}|<tr><td width="31%" valign="top">Estimated RM Price</td><td width="69%">{{{Estimated RM Price}}} {{cr}}</td></tr>}}{{
+
#if:{{{Estimated RM Price|}}}|<tr><td width="35%" valign="top">Estimated RM Price</td><td width="65%">{{{Estimated RM Price}}} {{cr}}</td></tr>}}{{
#if:{{{Affiliation|}}}|<tr><td width="31%" valign="top">Affiliation</td><td width="69%">{{{Affiliation}}}</td></tr>}}{{
+
#if:{{{Affiliation|}}}|<tr><td width="35%" valign="top">Affiliation</td><td width="65%">{{{Affiliation}}}</td></tr>}}{{
 
#if:{{{Hyperspeed|}}}{{{Sublight Speed|}}}{{{Max Speed|}}}{{{Manoeuvrability|}}}{{{Sensors|}}}{{{ECM|}}}|<tr><td width="100%" colspan="2" style="background-color: #21314c; text-align: left; color: white"><b>Navigational Stats:</b></td></tr>}}{{
 
#if:{{{Hyperspeed|}}}{{{Sublight Speed|}}}{{{Max Speed|}}}{{{Manoeuvrability|}}}{{{Sensors|}}}{{{ECM|}}}|<tr><td width="100%" colspan="2" style="background-color: #21314c; text-align: left; color: white"><b>Navigational Stats:</b></td></tr>}}{{
#if:{{{Hyperspeed|}}}|<tr><td width="31%" valign="top">Hyperspeed</td><td width="69%">{{{Hyperspeed}}}</td></tr>}}{{
+
#if:{{{Hyperspeed|}}}|<tr><td width="35%" valign="top">Hyperspeed</td><td width="65%">{{{Hyperspeed}}}</td></tr>}}{{
#if:{{{Sublight Speed|}}}|<tr><td width="31%" valign="top">Sublight Speed</td><td width="69%">{{{Sublight Speed}}} MGLT</td></tr>}}{{
+
#if:{{{Sublight Speed|}}}|<tr><td width="35%" valign="top">Sublight Speed</td><td width="65%">{{{Sublight Speed}}} MGLT</td></tr>}}{{
#if:{{{Max Speed|}}}|<tr><td width="31%" valign="top">Max Speed</td><td width="69%">{{{Max Speed}}} km/h</td></tr>}}{{
+
#if:{{{Max Speed|}}}|<tr><td width="35%" valign="top">Max Speed</td><td width="65%">{{{Max Speed}}} km/h</td></tr>}}{{
#if:{{{Manoeuvrability|}}}|<tr><td width="31%" valign="top">Manoeuvrability</td><td width="69%">{{{Manoeuvrability}}}</td></tr>}}{{
+
#if:{{{Manoeuvrability|}}}|<tr><td width="35%" valign="top">Manoeuvrability</td><td width="65%">{{{Manoeuvrability}}}</td></tr>}}{{
#if:{{{Sensors|}}}|<tr><td width="31%" valign="top">Sensors</td><td width="69%">{{{Sensors}}}</td></tr>}}{{
+
#if:{{{Sensors|}}}|<tr><td width="35%" valign="top">Sensors</td><td width="65%">{{{Sensors}}}</td></tr>}}{{
#if:{{{ECM|}}}|<tr><td width="31%" valign="top">ECM</td><td width="69%">{{{ECM}}}</td></tr>}}{{
+
#if:{{{ECM|}}}|<tr><td width="35%" valign="top">ECM</td><td width="65%">{{{ECM}}}</td></tr>}}{{
 
#if:{{{Proton Torpedo Launchers|}}}{{{Ion Cannons|}}}{{{Heavy Lasers|}}}{{{Concussion Missile Launchers|}}}{{{Tractor Beams|}}}{{{Turbo Lasers|}}}{{{Quad Lasers|}}}|<tr><td width="100%" colspan="2" style="background-color: #21314c; text-align: left; color: white"><b>Weapons:</b></td></tr>}}{{
 
#if:{{{Proton Torpedo Launchers|}}}{{{Ion Cannons|}}}{{{Heavy Lasers|}}}{{{Concussion Missile Launchers|}}}{{{Tractor Beams|}}}{{{Turbo Lasers|}}}{{{Quad Lasers|}}}|<tr><td width="100%" colspan="2" style="background-color: #21314c; text-align: left; color: white"><b>Weapons:</b></td></tr>}}{{
#if:{{{Turbo Lasers|}}}|<tr><td width="31%" valign="top">Turbo Lasers</td><td width="69%">{{{Turbo Lasers}}}</td></tr>}}{{
+
#if:{{{Turbo Lasers|}}}|<tr><td width="35%" valign="top">Turbo Lasers</td><td width="65%">{{{Turbo Lasers}}}</td></tr>}}{{
#if:{{{Tractor Beams|}}}|<tr><td width="31%" valign="top">Tractor Beams</td><td width="69%">{{{Tractor Beams}}}</td></tr>}}{{
+
#if:{{{Tractor Beams|}}}|<tr><td width="35%" valign="top">Tractor Beams</td><td width="65%">{{{Tractor Beams}}}</td></tr>}}{{
#if:{{{Proton-Torpedo Launchers|}}}|<tr><td width="31%" valign="top">Proton-Torpedo Launchers</td><td width="69%">{{{Proton-Torpedo Launchers}}}</td></tr>}}{{
+
#if:{{{Proton-Torpedo Launchers|}}}|<tr><td width="35%" valign="top">Proton-Torpedo Launchers</td><td width="65%">{{{Proton-Torpedo Launchers}}}</td></tr>}}{{
#if:{{{Ion Batteries|}}}|<tr><td width="31%" valign="top">Ion Batteries</td><td width="69%">{{{Ion Batteries}}}</td></tr>}}{{
+
#if:{{{Ion Batteries|}}}|<tr><td width="35%" valign="top">Ion Batteries</td><td width="65%">{{{Ion Batteries}}}</td></tr>}}{{
#if:{{{Ion Cannons|}}}|<tr><td width="31%" valign="top">Ion Cannons</td><td width="69%">{{{Ion Cannons}}}</td></tr>}}{{
+
#if:{{{Ion Cannons|}}}|<tr><td width="35%" valign="top">Ion Cannons</td><td width="65%">{{{Ion Cannons}}}</td></tr>}}{{
#if:{{{Concussion Missile Launchers|}}}|<tr><td width="31%" valign="top">Concussion Missile Launchers</td><td width="69%">{{{Concussion Missile Launchers}}}</td></tr>}}{{
+
#if:{{{Concussion Missile Launchers|}}}|<tr><td width="31%" valign="top">Concussion Missile Launchers</td><td width="65%">{{{Concussion Missile Launchers}}}</td></tr>}}{{
#if:{{{Quad Lasers|}}}|<tr><td width="31%" valign="top">Quad Lasers</td><td width="69%">{{{Quad Lasers}}}</td></tr>}}{{
+
#if:{{{Quad Lasers|}}}|<tr><td width="35%" valign="top">Quad Lasers</td><td width="65%">{{{Quad Lasers}}}</td></tr>}}{{
#if:{{{Heavy Lasers|}}}|<tr><td width="31%" valign="top">Heavy Lasers</td><td width="69%">{{{Heavy Lasers}}}</td></tr>}}{{
+
#if:{{{Heavy Lasers|}}}|<tr><td width="35%" valign="top">Heavy Lasers</td><td width="65%">{{{Heavy Lasers}}}</td></tr>}}{{
 
#if:{{{Weight|}}}{{{Volume|}}}{{{Weight Cap|}}}{{{Volume Cap|}}}{{{Max Passengers|}}}|<tr><td width="100%" colspan="2" style="background-color: #21314c; text-align: left; color: white"><b>Cargo Stats:</b></td></tr>}}{{
 
#if:{{{Weight|}}}{{{Volume|}}}{{{Weight Cap|}}}{{{Volume Cap|}}}{{{Max Passengers|}}}|<tr><td width="100%" colspan="2" style="background-color: #21314c; text-align: left; color: white"><b>Cargo Stats:</b></td></tr>}}{{
#if:{{{Weight|}}}|<tr><td width="31%" valign="top">Weight</td><td width="69%">{{{Weight}}} T</td></tr>}}{{
+
#if:{{{Weight|}}}|<tr><td width="35%" valign="top">Weight</td><td width="65%">{{{Weight}}} T</td></tr>}}{{
#if:{{{Volume|}}}|<tr><td width="31%" valign="top">Volume</td><td width="69%">{{{Volume}}} m³</td></tr>}}{{
+
#if:{{{Volume|}}}|<tr><td width="35%" valign="top">Volume</td><td width="65%">{{{Volume}}} m³</td></tr>}}{{
#if:{{{Weight Cap|}}}|<tr><td width="31%" valign="top">Weight Cap</td><td width="69%">{{{Weight Cap}}} T</td></tr>}}{{
+
#if:{{{Weight Cap|}}}|<tr><td width="35%" valign="top">Weight Cap</td><td width="65%">{{{Weight Cap}}} T</td></tr>}}{{
#if:{{{Volume Cap|}}}|<tr><td width="31%" valign="top">Volume Cap</td><td width="69%">{{{Volume Cap}}} m³</td></tr>}}{{
+
#if:{{{Volume Cap|}}}|<tr><td width="35%" valign="top">Volume Cap</td><td width="65%">{{{Volume Cap}}} m³</td></tr>}}{{
#if:{{{Max Passengers|}}}|<tr><td width="31%" valign="top">Max Passengers</td><td width="69%">{{{Max Passengers}}}</td></tr>}}{{
+
#if:{{{Max Passengers|}}}|<tr><td width="35%" valign="top">Max Passengers</td><td width="65%">{{{Max Passengers}}}</td></tr>}}{{
 
#if:{{{Length|}}}{{{Hull|}}}{{{Deflector Shields|}}}{{{Ionic Capacity|}}}{{{Estimated RM Price|}}}{{{Affiliation|}}}|<tr><td width="100%" colspan="2" style="background-color: #21314c; text-align: left; color: white"><b>Hull Stats:</b></td></tr>}}{{
 
#if:{{{Length|}}}{{{Hull|}}}{{{Deflector Shields|}}}{{{Ionic Capacity|}}}{{{Estimated RM Price|}}}{{{Affiliation|}}}|<tr><td width="100%" colspan="2" style="background-color: #21314c; text-align: left; color: white"><b>Hull Stats:</b></td></tr>}}{{
#if:{{{Length|}}}|<tr><td width="31%" valign="top">Length</td><td width="69%">{{{Length}}} m</td></tr>}}{{
+
#if:{{{Length|}}}|<tr><td width="35%" valign="top">Length</td><td width="65%">{{{Length}}} m</td></tr>}}{{
#if:{{{Hull|}}}|<tr><td width="31%" valign="top">Hull</td><td width="69%">{{{Hull}}}</td></tr>}}{{
+
#if:{{{Hull|}}}|<tr><td width="35%" valign="top">Hull</td><td width="65%">{{{Hull}}}</td></tr>}}{{
#if:{{{Deflector Shields|}}}|<tr><td width="31%" valign="top">Deflector Shields</td><td width="69%">{{{Deflector Shields}}}</td></tr>}}{{
+
#if:{{{Deflector Shields|}}}|<tr><td width="35%" valign="top">Deflector Shields</td><td width="65%">{{{Deflector Shields}}}</td></tr>}}{{
#if:{{{Ionic Capacity|}}}|<tr><td width="31%" valign="top">Ionic Capacity</td><td width="69%">{{{Ionic Capacity}}}</td></tr>}}{{
+
#if:{{{Ionic Capacity|}}}|<tr><td width="35%" valign="top">Ionic Capacity</td><td width="65%">{{{Ionic Capacity}}}</td></tr>}}{{
#if:{{{Docking Bay}}}{{{Hangar Bay}}}{{{Landing Capacity}}}{{{Flight Grade Repulsorlifts}}}{{{Escape Pods}}}{{{Docking Ports}}}{{{Medical Rooms}}}{{{Gravity Generators}}}|<tr><td width="100%" colspan="2" style="background-color: #21314c; text-align: left; color: white"><b>Other Systems:</b></td></tr>}}{{
+
#if:{{{Docking Bay|}}}{{{Hangar Bay|}}}{{{Landing Capacity|}}}{{{Flight Grade Repulsorlifts|}}}{{{Escape Pods|}}}{{{Docking Ports|}}}{{{Medical Rooms|}}}{{{Gravity Generators|}}}|<tr><td width="100%" colspan="2" style="background-color: #21314c; text-align: left; color: white"><b>Other Systems:</b></td></tr>}}{{
 
#if:{{{Docking Bay|}}}|<tr><td width="100%" colspan="2" text-align="top">Docking Bay</td></tr>}}{{
 
#if:{{{Docking Bay|}}}|<tr><td width="100%" colspan="2" text-align="top">Docking Bay</td></tr>}}{{
 
#if:{{{Hangar Bay|}}}|<tr><td width="100%" colspan="2" text-align="top">Hangar Bay</td></tr>}}{{
 
#if:{{{Hangar Bay|}}}|<tr><td width="100%" colspan="2" text-align="top">Hangar Bay</td></tr>}}{{
 
#if:{{{Landing Capacity|}}}|<tr><td width="100%" colspan="2" text-align="top">Landing Capacity</td></tr>}}{{
 
#if:{{{Landing Capacity|}}}|<tr><td width="100%" colspan="2" text-align="top">Landing Capacity</td></tr>}}{{
 
#if:{{{Flight Grade Repulsorlifts|}}}|<tr><td width="100%" colspan="2" text-align="top">Flight Grade Repulsorlifts</td></tr>}}{{
 
#if:{{{Flight Grade Repulsorlifts|}}}|<tr><td width="100%" colspan="2" text-align="top">Flight Grade Repulsorlifts</td></tr>}}{{
#if:{{{Gravity Generators|}}}|<tr><td width="100%" colspan="2" text-align="top">Gravity Generators: {{{Gravity Generators}}}.</td></tr>}}{{
+
#if:{{{Gravity Generators|}}}|<tr><td width="100%" colspan="2" text-align="top">Gravity Generators: {{{Gravity Generators}}}</td></tr>}}{{
#if:{{{Escape Pods|}}}|<tr><td width="100%" colspan="2" text-align="top">Escape Pods: {{{Escape Pods}}}.</td></tr>}}{{
+
#if:{{{Escape Pods|}}}|<tr><td width="100%" colspan="2" text-align="top">Escape Pods: {{{Escape Pods}}}</td></tr>}}{{
#if:{{{Medical Rooms|}}}|<tr><td width="100%" colspan="2" text-align="top">Medical Rooms: {{{Medical Rooms}}}.</td></tr>}}
+
#if:{{{Medical Rooms|}}}|<tr><td width="100%" colspan="2" text-align="top">Medical Rooms: {{{Medical Rooms}}}</td></tr>}}
 
</table>
 
</table>
 
<noinclude>
 
<noinclude>

Revision as of 16:47, 27 October 2012

{{{name}}}
{{{image}}}

Usage

The Ship Box template is used for ship pages only, to describe the Ship. Paste the following code into the top of an article, filling all known fields:

{{Infobox Ship/v2
| name =
| image =
| Class = Capital Ship / Freighter / Fighter
| Hyperspeed =
| Sublight Speed = 
| Max Speed =
| Manoeuverability =
| Sensors =
| ECM =
| Turbo Lasers =
| Tractor Beams =
| Proton-Torpedo Launchers = 
| Ion Batteries =
| Ion Cannons =
| Concussion Missile Launchers = 
| Quad Lasers =
| Heavy Lasers =  
| Weight =
| Volume =
| Weight Cap = 
| Volume Cap =
| Max Passengers = 
| Length =
| Hull =
| Deflector Shields = 
| Ionic Capacity = 
| Estimated RM Price =
| Affiliation =
| Docking Bay = 
| Hangar Bay = 
| Landing Capacity = 
| Flight Grade Repulsorlifts = 
| Escape Pods = 
| Docking Ports = 
| Medical Rooms = 
| Gravity Generators = 
}}