Difference between revisions of "Template:Ship Infobox"

From Discovery Wiki
Jump to navigationJump to search
Line 1: Line 1:
<noinclude><!-</noinclude>
+
<noinclude><!--</noinclude>
 
{| 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"
 
|-
 
|-
Line 25: Line 25:
 
|-
 
|-
 
| colspan="2" style="vertical-align: top; font-weight: bold; text-align: center;" | Technical information
 
| colspan="2" style="vertical-align: top; font-weight: bold; text-align: center;" | Technical information
|- title="Number of gun and turret hardpoints on this ship"
+
|- title="Amount of gun and turret hardpoints on this ship"
 
|style="vertical-align: top; background: #f6f6f6;" | '''Guns/Turrets'''
 
|style="vertical-align: top; background: #f6f6f6;" | '''Guns/Turrets'''
 
|style="padding-right: 1em;font-weight: bold; letter-spacing: 2px;" | {{{guns|0}}}/{{{turrets|0}}}
 
|style="padding-right: 1em;font-weight: bold; letter-spacing: 2px;" | {{{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="vertical-align: top; background: #f6f6f6;" | '''Opt. weapon class'''
 
|style="vertical-align: top; background: #f6f6f6;" | '''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="vertical-align: top; background: #f6f6f6;" | '''Max. weapon class'''
 
|style="vertical-align: top; background: #f6f6f6;" | '''Max. weapon class'''
|style="padding-right: 1em;" | {{{maxwepclass|unknown}}}
+
|style="padding-right: 1em;" | {{{maxwepclass|''unknown''}}}
|- title="Number of hull hitpoints"
+
{{#if: {{{torpedoes|}}}{{{CD|}}}{{{CM|}}}{{{mines|}}}
 +
| <tr title="Amount of torpedo hardpoints on this ship"><td style="vertical-align: top; background: #f6f6f6;">'''Additional equipment'''</td>
 +
<td style="padding-right: 1em;">
 +
{{#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]] }}
 +
</td></tr>
 +
}}
 +
|- title="Amount of hull hitpoints"
 
|style="vertical-align: top; background: #f6f6f6;" | '''Hull strength'''
 
|style="vertical-align: top; background: #f6f6f6;" | '''Hull strength'''
|style="padding-right: 1em; color: #009900; font-weight: bold;" | {{{hull|unknown}}}
+
|style="padding-right: 1em; color: #009900; font-weight: bold;" | {{{hull|''unknown''}}}
 
|- 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="vertical-align: top; background: #f6f6f6;" | '''Max. shield class'''
 
|style="vertical-align: top; background: #f6f6f6;" | '''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="Maximum class of shield that can be mounted on this ship"
 
+
|style="vertical-align: top; background: #f6f6f6;" | '''Cargo space'''
 
+
|style="padding-right: 1em;" | {{#if: {{{cargo|}}}
 +
| {{{cargo}}} units
 +
| ''unknown''
 +
}}
 +
|- title="Maximum number of shield batteries/nanobots carried by this ship"
 +
|style="vertical-align: top; background: #f6f6f6;" | '''Nanobots/Batteries'''
 +
|style="padding-right: 1em;" | {{#if: {{{maxregens|}}}
 +
| {{{maxregens}}}/{{{maxregens}}}
 +
| ''unknown''
 +
}}
 +
|- title="Maximum speed of this ship on impulse drive"
 +
|style="vertical-align: top; background: #f6f6f6;" | '''Max. impulse speed'''
 +
|style="padding-right: 1em;" | {{#if: {{{maxspeed|}}}
 +
| {{{maxspeed}}} m/s
 +
| ''unknown''
 +
}}
 +
|- title="Maximum speed of this ship on thrusters"
 +
|style="vertical-align: top; background: #f6f6f6;" | '''Max. thrust speed'''
 +
|style="padding-right: 1em;" | {{#if: {{{maxthrust|}}}
 +
| {{{maxthrust}}} m/s
 +
| ''unknown''
 +
}}
 +
|- title="Maximum reactor energy storage (capacitance)"
 +
|style="vertical-align: top; background: #f6f6f6;" | '''Power output'''
 +
|style="padding-right: 1em;" | {{#if: {{{maxpower|}}}
 +
| {{{maxpower}}} u
 +
| ''unknown''
 +
}}
 +
|- title="Amount of energy units generated per second"
 +
|style="vertical-align: top; background: #f6f6f6;" | '''Power recharge'''
 +
|style="padding-right: 1em;" | {{#if: {{{recharge|}}}
 +
| {{{recharge}}} u/s
 +
| ''unknown''
 +
}}
 
|-
 
|-
|style="vertical-align: top; background: #f6f6f6;" | '''Technical information'''
+
| colspan="2" style="vertical-align: top; font-weight: bold; text-align: center;" | Additional information
|style="padding-right: 1em; font-size: 11px;" |
+
|- title="Price of the ship without any mounted equipment"
* <span title="Number of gun hardpoints">Gun mounts: '''''{{{guns|unknown}}}'''''</span>
+
|style="vertical-align: top; background: #f6f6f6;" | '''Ship price'''
* <span title="Number of turret hardpoints">Turret mounts: '''''{{{turrets|unknown}}}'''''</span>
+
|style="padding-right: 1em;" | {{#if: {{{hullcost|}}}
* <span title="Hull hitpoints">Hull strength: '''''{{{hull|unknown}}}'''''</span>
+
| ${{{hullcost}}}
* <span title="Cargo space">Cargo space: '''''{{{cargo|unknown}}} units'''''</span>
+
| ''unknown''
* <span title="Maximum shield batteries/nanobots">Max. Regens: '''''{{{maxregens|unknown}}}'''''</span>
+
}}
* <span title="Optimal weapon class">Opt. Weapon Class: '''''{{{optwepclass|unknown}}}'''''</span>
+
|- title="Price of the ship with the default equipment"
* <span title="Maximum weapon class">Max. Weapon Class: '''''{{{maxwepclass|unknown}}}'''''</span>
+
|style="vertical-align: top; background: #f6f6f6;" | '''Package price'''
* <span title="Maximum shield class">Max. Shield Class: '''''{{{maxshieldclass|unknown}}}'''''</span>
+
|style="padding-right: 1em;" | {{#if: {{{fullcost|}}}
* <span title="Maximum impulse speed">Max. Impulse Speed: '''''{{{maxspeed|unknown}}} m/s'''''</span>
+
| ${{{fullcost}}}
* <span title="Maximum afterburner speed">Max. Thrust Speed: '''''{{{maxthrust|unknown}}} m/s'''''</span>
+
| ''unknown''
* <span title="Maximum power supply level">Power Output: '''''{{{maxpower|unknown}}} u'''''</span>
+
}}
* <span title="Power reactor recharge rate">Power Recharge: '''''{{{recharge|unknown}}} u/s'''''</span>
 
|-
 
|style="vertical-align: top; background: #f6f6f6;" | '''Additional equipment'''
 
|style="padding-right: 1em;" |
 
{{{equipment|''None''}}}
 
|-
 
|style="vertical-align: top; background: #f6f6f6;" | '''Cost'''
 
|style="padding-right: 1em;" |
 
Hull only: ''${{{hullcost|Unknown}}}''<br>
 
Complete: ''${{{fullcost|Unknown}}}''
 
|-
 
|style="vertical-align: top; background: #f6f6f6;" | '''Additional information'''
 
|style="padding-right: 1em; font-size: 11px;" |
 
{{{additional|''None''}}}
 
 
|}
 
|}
 +
{{#switch: {{{shipclass}}}
 +
| L_FIGHTER = [[Category:Light Fighters]]
 +
| H_FIGHTER = [[Category:Heavy Fighters]]
 +
| VH_FIGHTER = [[Category:Very Heavy Fighters]]
 +
| SH_FIGHTER = [[Category:Super Heavy Fighters]]
 +
| BOMBER = [[Category:Bombers]]
 +
| GUNBOAT = [[Category:Gunboats]]
 +
| CRUISER = [[Category:Cruisers]]
 +
| BATTLESHIP = [[Category:Battleships]]
 +
| FREIGHTER = [[Category:Freighters]]
 +
| TRANSPORT = [[Category:Transports]]
 +
| #default = [[Category:Uncategorised ships]]
 +
}}
 
<noinclude>
 
<noinclude>
 
-->
 
-->
<!--
 
 
==Usage==
 
==Usage==
<pre><nowiki>{{Ship_Infobox
+
<pre><nowiki>{{Ship Infobox
 
| name = RH-GM40 "Odin"
 
| name = RH-GM40 "Odin"
 
| image = Odin1.jpg
 
| image = Odin1.jpg
Line 83: Line 123:
 
| guns = 6
 
| guns = 6
 
| turrets = 1
 
| turrets = 1
 +
| torpedoes = 1
 +
| mines = 1
 +
| CM = 1
 
| hull = 9,700
 
| hull = 9,700
 
| cargo = 65
 
| cargo = 65
| maxregens = 62/62
+
| maxregens = 62
 
| optwepclass = 8
 
| optwepclass = 8
 
| maxwepclass = 10
 
| maxwepclass = 10
Line 93: Line 136:
 
| maxpower = 11,400
 
| maxpower = 11,400
 
| recharge = 1,160
 
| recharge = 1,160
| equipment =
 
[[Countermeasures]],<br>
 
[[Mines]],<br>
 
[[Torpedoes|Torpedo]]/[[Cruise Disruptors|Cruise Disruptor]]
 
 
| hullcost = 1,995,000
 
| hullcost = 1,995,000
 
| fullcost = 2,128,130
 
| fullcost = 2,128,130
 
}}</nowiki></pre>
 
}}</nowiki></pre>
 +
Ship class can be one of ten choices:
 +
* L_FIGHTER
 +
* H_FIGHTER
 +
* VH_FIGHTER
 +
* SH_FIGHTER
 +
* BOMBER
 +
* GUNBOAT
 +
* CRUISER
 +
* BATTLESHIP
 +
* FREIGHTER
 +
* TRANSPORT
 +
 
==Result==
 
==Result==
-->
+
{{Ship Infobox
{{Ship_Infobox
 
 
| name = RH-GM40 "Odin"
 
| name = RH-GM40 "Odin"
 
| image = Odin1.jpg
 
| image = Odin1.jpg
Line 109: Line 159:
 
| guns = 6
 
| guns = 6
 
| turrets = 1
 
| turrets = 1
 +
| torpedoes = 1
 +
| mines = 1
 +
| CM = 1
 
| hull = 9,700
 
| hull = 9,700
 
| cargo = 65
 
| cargo = 65
| maxregens = 62/62
+
| maxregens = 62
 
| optwepclass = 8
 
| optwepclass = 8
 
| maxwepclass = 10
 
| maxwepclass = 10
Line 119: Line 172:
 
| maxpower = 11,400
 
| maxpower = 11,400
 
| recharge = 1,160
 
| recharge = 1,160
| equipment =
 
[[Countermeasures]],<br>
 
[[Mines]],<br>
 
[[Torpedoes|Torpedo]]/[[Cruise Disruptors|Cruise Disruptor]]
 
 
| hullcost = 1,995,000
 
| hullcost = 1,995,000
 
| fullcost = 2,128,130
 
| fullcost = 2,128,130

Revision as of 14:22, 2 December 2008

Usage

{{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 = 9,700
| cargo = 65
| maxregens = 62
| optwepclass = 8
| maxwepclass = 10
| maxshieldclass = 10
| maxspeed = 80
| maxthrust = 199
| maxpower = 11,400
| recharge = 1,160
| hullcost = 1,995,000
| fullcost = 2,128,130
}}

Ship class can be one of ten choices:

  • L_FIGHTER
  • H_FIGHTER
  • VH_FIGHTER
  • SH_FIGHTER
  • BOMBER
  • GUNBOAT
  • CRUISER
  • BATTLESHIP
  • FREIGHTER
  • TRANSPORT

Result

RH-GM40 "Odin"
Ship Class Very Heavy Fighter
Built by Red Hessians
Technical information
Guns/Turrets 6/1
Opt. weapon class 8
Max. weapon class 10
Additional equipment
Hull strength 9,700
Max. shield class 10
Cargo space 65 units
Nanobots/Batteries 62/62
Max. impulse speed 80 m/s
Max. thrust speed 199 m/s
Power output 11,400 u
Power recharge 1,160 u/s
Additional information
Ship price $1,995,000
Package price $2,128,130