Difference between revisions of "Template:Ship Infobox"
From Discovery Wiki
Jump to navigationJump to searchLine 2: | Line 2: | ||
{| class="infobox bordered" style="float: right; background-color:white; color:#333333; margin-left: 1em; margin-bottom: 10px; width: 270px; font-size: 11px; line-height: 14px; border: 2px solid black;" cellpadding="3" | {| class="infobox bordered" style="float: right; background-color:white; color:#333333; margin-left: 1em; margin-bottom: 10px; width: 270px; font-size: 11px; line-height: 14px; border: 2px solid black;" cellpadding="3" | ||
|- | |- | ||
− | | colspan="2" | + | | 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 9: | Line 9: | ||
}} | }} | ||
|- | |- | ||
− | | | + | |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 25: | Line 25: | ||
}} | }} | ||
|- | |- | ||
− | | | + | |class="infobox-data-title" | '''Built by''' |
|style="padding-right: 1em;" | {{#if: {{{shipowner|}}} | {{{shipowner}}} | ''unknown''}} | |style="padding-right: 1em;" | {{#if: {{{shipowner|}}} | {{{shipowner}}} | ''unknown''}} | ||
|- | |- | ||
− | | colspan="2" | + | | 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" | ||
− | | | + | |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" | ||
− | | | + | |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" | ||
− | | | + | |class="infobox-data-title" | '''Max. weapon class''' |
|style="padding-right: 1em;" | {{{maxwepclass|''unknown''}}} | |style="padding-right: 1em;" | {{{maxwepclass|''unknown''}}} | ||
|- | |- | ||
− | | | + | |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 45: | Line 45: | ||
}} | }} | ||
|- title="Amount of hull hitpoints" | |- title="Amount of hull hitpoints" | ||
− | | | + | |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 51: | Line 51: | ||
}} | }} | ||
|- title="Maximum class of shield that can be mounted on this ship" | |- title="Maximum class of shield that can be mounted on this ship" | ||
− | | | + | |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" | ||
− | | | + | |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 60: | Line 60: | ||
}} | }} | ||
|- title="Maximum number of shield batteries/nanobots carried by this ship" | |- title="Maximum number of shield batteries/nanobots carried by this ship" | ||
− | | | + | |class="infobox-data-title" | '''Nanobots/Batteries''' |
|style="padding-right: 1em;" | {{#if: {{{maxregens|}}} | |style="padding-right: 1em;" | {{#if: {{{maxregens|}}} | ||
| {{{maxregens}}}/{{{maxregens}}} | | {{{maxregens}}}/{{{maxregens}}} | ||
Line 66: | Line 66: | ||
}} | }} | ||
|- title="Maximum speed of this ship on impulse drive" | |- title="Maximum speed of this ship on impulse drive" | ||
− | | | + | |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 72: | Line 72: | ||
}} | }} | ||
|- title="Maximum speed of this ship on thrusters" | |- title="Maximum speed of this ship on thrusters" | ||
− | | | + | |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 78: | Line 78: | ||
}} | }} | ||
|- title="Maximum reactor energy storage (capacitance)" | |- title="Maximum reactor energy storage (capacitance)" | ||
− | | | + | |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 84: | Line 84: | ||
}} | }} | ||
|- title="Amount of energy units generated per second" | |- title="Amount of energy units generated per second" | ||
− | | | + | |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 90: | Line 90: | ||
}} | }} | ||
|- | |- | ||
− | | colspan="2" | + | | 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" | ||
− | | | + | |class="infobox-data-title" | '''Ship price''' |
|style="padding-right: 1em;" | {{#if: {{{hullcost|}}} | |style="padding-right: 1em;" | {{#if: {{{hullcost|}}} | ||
| ${{formatnum:{{{hullcost}}}}} | | ${{formatnum:{{{hullcost}}}}} | ||
Line 98: | Line 98: | ||
}} | }} | ||
|- title="Price of the ship with the default equipment" | |- title="Price of the ship with the default equipment" | ||
− | | | + | |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 15:10, 19 August 2009
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 = 9700 | cargo = 65 | maxregens = 62 | optwepclass = 8 | maxwepclass = 10 | maxshieldclass = 10 | maxspeed = 80 | maxthrust = 199 | maxpower = 11400 | recharge = 1160 | hullcost = 1995000 | fullcost = 2128130 }}
Ship class can be one of these choices:
- L_FIGHTER
- H_FIGHTER
- VH_FIGHTER
- SH_FIGHTER
- BOMBER
- GUNBOAT
- CRUISER
- BATTLESHIP
- FREIGHTER
- TRANSPORT
- LINER
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 |