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

From Holocron - Star Wars Combine
Jump to: navigation, search
(testing additional variables)
Line 3: Line 3:
 
<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="31%" valign="top">Class</td><td width="69%">{{{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:{{{Affiliation|}}}|<tr><td width="31%" valign="top">Affiliation</td><td width="69%">{{{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="31%" valign="top">Hyperspeed</td><td width="69%">{{{Hyperspeed}}}</td></tr>}}{{
Line 30: Line 32:
 
#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="31%" valign="top">Deflector Shields</td><td width="69%">{{{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="31%" valign="top">Ionic Capacity</td><td width="69%">{{{Ionic Capacity}}}</td></tr>}}{{
#if:{{{Estimated RM Price|}}}|<tr><td width="31%" valign="top">Estimated RM Price</td><td width="69%">{{{Estimated RM Price}}} credits</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:{{{Affiliation|}}}|<tr><td width="31%" valign="top">Affiliation</td><td width="69%">{{{Affiliation}}}</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:{{{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:{{{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:{{{Medical Rooms|}}}|<tr><td width="100%" colspan="2" text-align="top">Medical Rooms: {{{Medical Rooms}}}.</td></tr>}}
 
</table>
 
</table>
 
<noinclude>
 
<noinclude>
Line 68: Line 76:
 
| Estimated RM Price =
 
| Estimated RM Price =
 
| Affiliation =
 
| Affiliation =
 +
| Docking Bay =
 +
| Hangar Bay =
 +
| Landing Capacity =
 +
| Flight Grade Repulsorlifts =
 +
| Escape Pods =
 +
| Docking Ports =
 +
| Medical Rooms =
 +
| Gravity Generators =
 
}}
 
}}
 
</nowiki></pre>
 
</nowiki></pre>
  
 
[[Category:Templates|{{PAGENAME}}]]</noinclude>
 
[[Category:Templates|{{PAGENAME}}]]</noinclude>

Revision as of 16:13, 27 October 2012

{{{name}}}
{{{image}}}
Other Systems:

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 = 
}}