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 105: Line 105:
 
}}
 
}}
 
|}
 
|}
 +
[[Category:Player Ships]]
 +
</includeonly>
  
</includeonly>
 
[[Category:Player Ships]]
 
 
<noinclude>
 
<noinclude>
 
==Usage==
 
==Usage==
Line 135: Line 135:
  
 
==Result==
 
==Result==
{{Player Ship Infobox
+
:''This is a player owned ship.''
| name = RH-GM40 "Odin"
+
{| 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"
| image = Odin1.jpg
+
|-
| shipclass = VH_FIGHTER
+
| colspan="2" style="text-align: center; font-size: 14px; background: #f6f6f6;"|'''{{{name}}}'''
| shipowner = [[Red Hessians]]
+
|-
| guns = 6
+
| colspan="2" style="padding: 0; text-align: center; padding: 5px 0px;"|{{#if: {{{image|}}}
| turrets = 1
+
| [[image:{{{image}}}|center|254px]]
| torpedoes = 1
+
| [[image:Noimage_test.jpg|center|254px]]
| mines = 1
+
}}
| CM = 1
+
|-
| hull = 9700
+
|style="width: 115px; background: #f6f6f6;" | '''Ship Class'''
| cargo = 65
+
|style="padding-right: 1em;" | {{#switch: {{{shipclass}}}
| maxregens = 62
+
| L_FIGHTER = [[Fighters#Light_Fighters|Light Fighter]]
| optwepclass = 8
+
| H_FIGHTER = [[Fighters#Heavy_Fighters|Heavy Fighter]]
| maxwepclass = 10
+
| VH_FIGHTER = [[Fighters#Very_Heavy_Fighters|Very Heavy Fighter]]
| maxshieldclass = 10
+
| SH_FIGHTER = [[Fighters#Very_Heavy_Fighters|Super Heavy Fighter]]
| maxspeed = 80
+
| BOMBER = [[Bombers|Bomber]]
| maxthrust = 199
+
| GUNBOAT = [[Gunboats|Gunboat]]
| maxpower = 11400
+
| CRUISER = [[Capital_Ships#Cruisers|Cruiser]]
| recharge = 1160
+
| BATTLESHIP = [[Capital_Ships#Battleships|Battleship]]
| hullcost = 1995000
+
| FREIGHTER = [[Freighters|Freighter]]
| fullcost = 2128130
+
| TRANSPORT = [[Transports|Transport]]
 +
| LINER = [[Liners|Liner]]
 +
| #default = ''unknown''
 +
}}
 +
|-
 +
|style="background: #f6f6f6;" | '''Built by'''
 +
|style="padding-right: 1em;" | {{#if: {{{shipowner|}}} | {{{shipowner}}} | ''unknown''}}
 +
|-
 +
| colspan="2" style="vertical-align: top; font-weight: bold; text-align: center; background: #ebdab9;" | Technical information
 +
|- title="Amount of gun and turret hardpoints on this ship"
 +
|style="background: #f6f6f6;" | '''Guns/Turrets'''
 +
|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"
 +
|style="background: #f6f6f6;" | '''Opt. weapon class'''
 +
|style="padding-right: 1em;" | {{{optwepclass|''unknown''}}}
 +
|- title="Maximum class of weapons that can be mounted on this ship"
 +
|style="background: #f6f6f6;" | '''Max. weapon class'''
 +
|style="padding-right: 1em;" | {{{maxwepclass|''unknown''}}}
 +
|-
 +
|style="background: #f6f6f6;" | '''Additional equipment'''
 +
|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]] }}
 +
| ''None''
 +
}}
 +
|- title="Amount of hull hitpoints"
 +
|style="background: #f6f6f6;" | '''Hull strength'''
 +
|style="padding-right: 1em; color: #009900; font-weight: bold;" | {{#if: {{{hull|}}}
 +
| {{formatnum:{{{hull}}}}}
 +
| ''unknown''
 +
}}
 +
|- title="Maximum class of shield that can be mounted on this ship"
 +
|style="background: #f6f6f6;" | '''Max. shield class'''
 +
|style="padding-right: 1em; color: #006699; font-weight: bold;" | {{{maxshieldclass|''unknown''}}}
 +
|- title="Amount of cargo this ship is able to carry"
 +
|style="background: #f6f6f6;" | '''Cargo space'''
 +
|style="padding-right: 1em;" | {{#if: {{{cargo|}}}
 +
| {{formatnum:{{{cargo}}}}} units
 +
| ''unknown''
 +
}}
 +
|- title="Maximum number of shield batteries/nanobots carried by this ship"
 +
|style="background: #f6f6f6;" | '''Nanobots/Batteries'''
 +
|style="padding-right: 1em;" | {{#if: {{{maxregens|}}}
 +
| {{{maxregens}}}/{{{maxregens}}}
 +
| ''unknown''
 +
}}
 +
|- title="Maximum speed of this ship on impulse drive"
 +
|style="background: #f6f6f6;" | '''Max. impulse speed'''
 +
|style="padding-right: 1em;" | {{#if: {{{maxspeed|}}}
 +
| {{formatnum:{{{maxspeed}}}}} m/s
 +
| ''unknown''
 +
}}
 +
|- title="Maximum speed of this ship on thrusters"
 +
|style="background: #f6f6f6;" | '''Max. thrust speed'''
 +
|style="padding-right: 1em;" | {{#if: {{{maxthrust|}}}
 +
| {{formatnum:{{{maxthrust}}}}} m/s
 +
| <span style="color: #990000; font-style: italic;">Thruster not available</span>
 +
}}
 +
|- title="Maximum reactor energy storage (capacitance)"
 +
|style="background: #f6f6f6;" | '''Power output'''
 +
|style="padding-right: 1em;" | {{#if: {{{maxpower|}}}
 +
| {{formatnum:{{{maxpower}}}}} u
 +
| ''unknown''
 +
}}
 +
|- title="Amount of energy units generated per second"
 +
|style="background: #f6f6f6;" | '''Power recharge'''
 +
|style="padding-right: 1em;" | {{#if: {{{recharge|}}}
 +
| {{formatnum:{{{recharge}}}}} u/s
 +
| ''unknown''
 +
}}
 +
|-
 +
| colspan="2" style="vertical-align: top; font-weight: bold; text-align: center; background: #ebdab9;" | Additional information
 +
|- title="Price of the ship without any mounted equipment"
 +
|style="background: #f6f6f6;" | '''Ship price'''
 +
|style="padding-right: 1em;" | {{#if: {{{hullcost|}}}
 +
| ${{formatnum:{{{hullcost}}}}}
 +
| ''unknown''
 +
}}
 +
|- title="Price of the ship with the default equipment"
 +
|style="background: #f6f6f6;" | '''Package price'''
 +
|style="padding-right: 1em;" | {{#if: {{{fullcost|}}}
 +
| ${{formatnum:{{{fullcost}}}}}
 +
| ''unknown''
 
}}
 
}}
 +
|}
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 21:14, 21 June 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