Template:Infobox Ship/v2: Difference between revisions
Jump to navigation
Jump to search
Xesh Randell (talk | contribs) testing additional variables |
Jeb`el Ras (talk | contribs) cat change |
||
(2 intermediate revisions by one other user not shown) | |||
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=" | #if:{{{Class|}}}|<tr><td width="35%" valign="top">Class</td><td width="65%">{{{Class}}}</td></tr>}}{{ | ||
#if:{{{Estimated RM Price|}}}|<tr><td width=" | #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=" | #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=" | #if:{{{Hyperspeed|}}}|<tr><td width="35%" valign="top">Hyperspeed</td><td width="65%">{{{Hyperspeed}}}</td></tr>}}{{ | ||
#if:{{{Sublight Speed|}}}|<tr><td width=" | #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=" | #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=" | #if:{{{Manoeuvrability|}}}|<tr><td width="35%" valign="top">Manoeuvrability</td><td width="65%">{{{Manoeuvrability}}}</td></tr>}}{{ | ||
#if:{{{Sensors|}}}|<tr><td width=" | #if:{{{Sensors|}}}|<tr><td width="35%" valign="top">Sensors</td><td width="65%">{{{Sensors}}}</td></tr>}}{{ | ||
#if:{{{ECM|}}}|<tr><td width=" | #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=" | #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=" | #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=" | #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=" | #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=" | #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=" | #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=" | #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=" | #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=" | #if:{{{Weight|}}}|<tr><td width="35%" valign="top">Weight</td><td width="65%">{{{Weight}}} T</td></tr>}}{{ | ||
#if:{{{Volume|}}}|<tr><td width=" | #if:{{{Volume|}}}|<tr><td width="35%" valign="top">Volume</td><td width="65%">{{{Volume}}} m³</td></tr>}}{{ | ||
#if:{{{Weight Cap|}}}|<tr><td width=" | #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=" | #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=" | #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=" | #if:{{{Length|}}}|<tr><td width="35%" valign="top">Length</td><td width="65%">{{{Length}}} m</td></tr>}}{{ | ||
#if:{{{Hull|}}}|<tr><td width=" | #if:{{{Hull|}}}|<tr><td width="35%" valign="top">Hull</td><td width="65%">{{{Hull}}}</td></tr>}}{{ | ||
#if:{{{Deflector Shields|}}}|<tr><td width=" | #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=" | #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}}} | #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}}} | #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}}} | #if:{{{Docking Ports|}}}|<tr><td width="100%" colspan="2" text-align="top">Docking Ports: {{{Docking Ports}}}</td></tr>}}{{ | ||
#if:{{{Medical Rooms|}}}|<tr><td width="100%" colspan="2" text-align="top">Medical Rooms: {{{Medical Rooms}}}</td></tr>}} | |||
</table> | </table> | ||
<noinclude> | <noinclude> | ||
Line 87: | Line 88: | ||
</nowiki></pre> | </nowiki></pre> | ||
[[Category: | [[Category:Infobox templates|{{PAGENAME}}]]</noinclude> |
Latest revision as of 18:42, 18 April 2014
{{{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 = }}