YellowWarningTriangle.png This wiki is closed in favour of the new wiki. Information shown is likely to be very out of date.

Difference between revisions of "Template:Player Ship Infobox"

From Discovery Wiki
Jump to navigationJump to search
Line 55: Line 55:
 
|style="padding-right: 1em; color: #006699; font-weight: bold;" | {{{maxshieldclass|''unknown''}}}
 
|style="padding-right: 1em; color: #006699; font-weight: bold;" | {{{maxshieldclass|''unknown''}}}
 
|- title="Amount of cargo this ship is able to carry"
 
|- title="Amount of cargo this ship is able to carry"
|style="background: #f6f6f6;" | '''Cargo space'''
+
|class="infobox-data-title" | '''Cargo space'''
 
|style="padding-right: 1em;" | {{#if: {{{cargo|}}}
 
|style="padding-right: 1em;" | {{#if: {{{cargo|}}}
 
| {{formatnum:{{{cargo}}}}} units
 
| {{formatnum:{{{cargo}}}}} units
Line 136: Line 136:
 
==Result==
 
==Result==
 
:''This is a player owned ship.''
 
:''This is a player owned ship.''
 +
 
{| class="infobox bordered" style="float: right; margin-left: 1em; margin-bottom: 10px; width: 270px; font-size: 11px; line-height: 14px; border: 1px solid #dddddd;" cellpadding="3"
 
{| class="infobox bordered" style="float: right; margin-left: 1em; margin-bottom: 10px; width: 270px; font-size: 11px; line-height: 14px; border: 1px solid #dddddd;" cellpadding="3"
 
|-
 
|-
| colspan="2" style="text-align: center; font-size: 14px; background: #f6f6f6;"|'''{{{name}}}'''
+
| colspan="2" class="infobox-name"|'''{{{name}}}'''
 
|-
 
|-
 
| colspan="2" style="padding: 0; text-align: center; padding: 5px 0px;"|{{#if: {{{image|}}}
 
| colspan="2" style="padding: 0; text-align: center; padding: 5px 0px;"|{{#if: {{{image|}}}
Line 145: Line 146:
 
}}
 
}}
 
|-
 
|-
|style="width: 115px; background: #f6f6f6;" | '''Ship Class'''
+
|class="infobox-data-title"| '''Ship Class'''
 
|style="padding-right: 1em;" | {{#switch: {{{shipclass}}}
 
|style="padding-right: 1em;" | {{#switch: {{{shipclass}}}
 
| L_FIGHTER = [[Fighters#Light_Fighters|Light Fighter]]
 
| L_FIGHTER = [[Fighters#Light_Fighters|Light Fighter]]
Line 161: Line 162:
 
}}
 
}}
 
|-
 
|-
|style="background: #f6f6f6;" | '''Built by'''
+
|class="infobox-data-title" | '''Built by'''
 
|style="padding-right: 1em;" | {{#if: {{{shipowner|}}} | {{{shipowner}}} | ''unknown''}}
 
|style="padding-right: 1em;" | {{#if: {{{shipowner|}}} | {{{shipowner}}} | ''unknown''}}
 
|-
 
|-
| colspan="2" style="vertical-align: top; font-weight: bold; text-align: center; background: #ebdab9;" | Technical information
+
| colspan="2" class="infobox-section" | Technical information
 
|- title="Amount of gun and turret hardpoints on this ship"
 
|- title="Amount of gun and turret hardpoints on this ship"
|style="background: #f6f6f6;" | '''Guns/Turrets'''
+
|class="infobox-data-title" | '''Guns/Turrets'''
 
|style="padding-right: 1em;font-weight: bold; letter-spacing: 1px;" | {{{guns|0}}} / {{{turrets|0}}}
 
|style="padding-right: 1em;font-weight: bold; letter-spacing: 1px;" | {{{guns|0}}} / {{{turrets|0}}}
 
|- title="Class of weapons best suited for mounting on this ship"
 
|- title="Class of weapons best suited for mounting on this ship"
|style="background: #f6f6f6;" | '''Opt. weapon class'''
+
|class="infobox-data-title" | '''Opt. weapon class'''
 
|style="padding-right: 1em;" | {{{optwepclass|''unknown''}}}
 
|style="padding-right: 1em;" | {{{optwepclass|''unknown''}}}
 
|- title="Maximum class of weapons that can be mounted on this ship"
 
|- title="Maximum class of weapons that can be mounted on this ship"
|style="background: #f6f6f6;" | '''Max. weapon class'''
+
|class="infobox-data-title" | '''Max. weapon class'''
 
|style="padding-right: 1em;" | {{{maxwepclass|''unknown''}}}
 
|style="padding-right: 1em;" | {{{maxwepclass|''unknown''}}}
 
|-
 
|-
|style="background: #f6f6f6;" | '''Additional equipment'''
+
|class="infobox-data-title" | '''Additional equipment'''
 
|style="padding-right: 1em;" | {{#if: {{{torpedoes|}}}{{{CD|}}}{{{CM|}}}{{{mines|}}}
 
|style="padding-right: 1em;" | {{#if: {{{torpedoes|}}}{{{CD|}}}{{{CM|}}}{{{mines|}}}
 
| {{#if: {{{torpedoes|}}} | * {{{torpedoes}}}x[[Cruise Disruptors|CD]]/[[Torpedoes|T]] }}{{#if: {{{CD|}}} | * {{{CD}}}x[[Cruise Disruptors|CD]] }}{{#if: {{{CM|}}} | * {{{CM}}}x[[Countermeasures|CM]] }}{{#if: {{{mines|}}} | * {{{mines}}}x[[Mines|M]] }}
 
| {{#if: {{{torpedoes|}}} | * {{{torpedoes}}}x[[Cruise Disruptors|CD]]/[[Torpedoes|T]] }}{{#if: {{{CD|}}} | * {{{CD}}}x[[Cruise Disruptors|CD]] }}{{#if: {{{CM|}}} | * {{{CM}}}x[[Countermeasures|CM]] }}{{#if: {{{mines|}}} | * {{{mines}}}x[[Mines|M]] }}
Line 181: Line 182:
 
}}
 
}}
 
|- title="Amount of hull hitpoints"
 
|- title="Amount of hull hitpoints"
|style="background: #f6f6f6;" | '''Hull strength'''
+
|class="infobox-data-title" | '''Hull strength'''
 
|style="padding-right: 1em; color: #009900; font-weight: bold;" | {{#if: {{{hull|}}}
 
|style="padding-right: 1em; color: #009900; font-weight: bold;" | {{#if: {{{hull|}}}
 
| {{formatnum:{{{hull}}}}}
 
| {{formatnum:{{{hull}}}}}
Line 187: Line 188:
 
}}
 
}}
 
|- title="Maximum class of shield that can be mounted on this ship"
 
|- title="Maximum class of shield that can be mounted on this ship"
|style="background: #f6f6f6;" | '''Max. shield class'''
+
|class="infobox-data-title" | '''Max. shield class'''
 
|style="padding-right: 1em; color: #006699; font-weight: bold;" | {{{maxshieldclass|''unknown''}}}
 
|style="padding-right: 1em; color: #006699; font-weight: bold;" | {{{maxshieldclass|''unknown''}}}
 
|- title="Amount of cargo this ship is able to carry"
 
|- title="Amount of cargo this ship is able to carry"
|style="background: #f6f6f6;" | '''Cargo space'''
+
|class="infobox-data-title" | '''Cargo space'''
 
|style="padding-right: 1em;" | {{#if: {{{cargo|}}}
 
|style="padding-right: 1em;" | {{#if: {{{cargo|}}}
 
| {{formatnum:{{{cargo}}}}} units
 
| {{formatnum:{{{cargo}}}}} units
Line 196: Line 197:
 
}}
 
}}
 
|- title="Maximum number of shield batteries/nanobots carried by this ship"
 
|- title="Maximum number of shield batteries/nanobots carried by this ship"
|style="background: #f6f6f6;" | '''Nanobots/Batteries'''
+
|class="infobox-data-title" | '''Nanobots/Batteries'''
 
|style="padding-right: 1em;" | {{#if: {{{maxregens|}}}
 
|style="padding-right: 1em;" | {{#if: {{{maxregens|}}}
 
| {{{maxregens}}}/{{{maxregens}}}
 
| {{{maxregens}}}/{{{maxregens}}}
Line 202: Line 203:
 
}}
 
}}
 
|- title="Maximum speed of this ship on impulse drive"
 
|- title="Maximum speed of this ship on impulse drive"
|style="background: #f6f6f6;" | '''Max. impulse speed'''
+
|class="infobox-data-title" | '''Max. impulse speed'''
 
|style="padding-right: 1em;" | {{#if: {{{maxspeed|}}}
 
|style="padding-right: 1em;" | {{#if: {{{maxspeed|}}}
 
| {{formatnum:{{{maxspeed}}}}} m/s
 
| {{formatnum:{{{maxspeed}}}}} m/s
Line 208: Line 209:
 
}}
 
}}
 
|- title="Maximum speed of this ship on thrusters"
 
|- title="Maximum speed of this ship on thrusters"
|style="background: #f6f6f6;" | '''Max. thrust speed'''
+
|class="infobox-data-title" | '''Max. thrust speed'''
 
|style="padding-right: 1em;" | {{#if: {{{maxthrust|}}}
 
|style="padding-right: 1em;" | {{#if: {{{maxthrust|}}}
 
| {{formatnum:{{{maxthrust}}}}} m/s
 
| {{formatnum:{{{maxthrust}}}}} m/s
Line 214: Line 215:
 
}}
 
}}
 
|- title="Maximum reactor energy storage (capacitance)"
 
|- title="Maximum reactor energy storage (capacitance)"
|style="background: #f6f6f6;" | '''Power output'''
+
|class="infobox-data-title" | '''Power output'''
 
|style="padding-right: 1em;" | {{#if: {{{maxpower|}}}
 
|style="padding-right: 1em;" | {{#if: {{{maxpower|}}}
 
| {{formatnum:{{{maxpower}}}}} u
 
| {{formatnum:{{{maxpower}}}}} u
Line 220: Line 221:
 
}}
 
}}
 
|- title="Amount of energy units generated per second"
 
|- title="Amount of energy units generated per second"
|style="background: #f6f6f6;" | '''Power recharge'''
+
|class="infobox-data-title" | '''Power recharge'''
 
|style="padding-right: 1em;" | {{#if: {{{recharge|}}}
 
|style="padding-right: 1em;" | {{#if: {{{recharge|}}}
 
| {{formatnum:{{{recharge}}}}} u/s
 
| {{formatnum:{{{recharge}}}}} u/s
Line 226: Line 227:
 
}}
 
}}
 
|-
 
|-
| colspan="2" style="vertical-align: top; font-weight: bold; text-align: center; background: #ebdab9;" | Additional information
+
| colspan="2" class="infobox-section" | Additional information
 
|- title="Price of the ship without any mounted equipment"
 
|- title="Price of the ship without any mounted equipment"
|style="background: #f6f6f6;" | '''Ship price'''
+
|class="infobox-data-title" | '''Ship price'''
 
|style="padding-right: 1em;" | {{#if: {{{hullcost|}}}
 
|style="padding-right: 1em;" | {{#if: {{{hullcost|}}}
 
| ${{formatnum:{{{hullcost}}}}}
 
| ${{formatnum:{{{hullcost}}}}}
Line 234: Line 235:
 
}}
 
}}
 
|- title="Price of the ship with the default equipment"
 
|- title="Price of the ship with the default equipment"
|style="background: #f6f6f6;" | '''Package price'''
+
|class="infobox-data-title" | '''Package price'''
 
|style="padding-right: 1em;" | {{#if: {{{fullcost|}}}
 
|style="padding-right: 1em;" | {{#if: {{{fullcost|}}}
 
| ${{formatnum:{{{fullcost}}}}}
 
| ${{formatnum:{{{fullcost}}}}}

Revision as of 23:33, 30 August 2009


Usage

{{Player Ship Infobox
| name = RH-GM40 "Odin"
| image = Odin1.jpg
| shipclass = VH_FIGHTER
| shipowner = [[Red Hessians]]
| guns = 6
| turrets = 1
| torpedoes = 1
| mines = 1
| CM = 1
| hull = 9700
| cargo = 65
| maxregens = 62
| optwepclass = 8
| maxwepclass = 10
| maxshieldclass = 10
| maxspeed = 80
| maxthrust = 199
| maxpower = 11400
| recharge = 1160
| hullcost = 1995000
| fullcost = 2128130
}}

Result

This is a player owned ship.
{{{name}}}
Noimage test.jpg
Ship Class unknown
Built by unknown
Technical information
Guns/Turrets 0 / 0
Opt. weapon class unknown
Max. weapon class unknown
Additional equipment None
Hull strength unknown
Max. shield class unknown
Cargo space unknown
Nanobots/Batteries unknown
Max. impulse speed unknown
Max. thrust speed Thruster not available
Power output unknown
Power recharge unknown
Additional information
Ship price unknown
Package price unknown