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
m (fixed cap links)
Line 1: Line 1:
<includeonly>{{#if:{{{disclaimer|}}}|:''{{{disclaimer}}}''|:''This is a player owned ship.''}}
+
<includeonly>{| 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" class="infobox-name"|'''{{{name}}}'''
 
| colspan="2" class="infobox-name"|'''{{{name}}}'''
Line 92: Line 90:
 
|style="padding-right: 1em;" | {{#if: {{{recharge|}}}
 
|style="padding-right: 1em;" | {{#if: {{{recharge|}}}
 
| {{formatnum:{{{recharge}}}}} u/s
 
| {{formatnum:{{{recharge}}}}} u/s
| ''unknown''
 
}}
 
|-
 
| colspan="2" class="infobox-section" | Additional information
 
|- title="Price of the ship without any mounted equipment"
 
|class="infobox-data-title" | '''Ship price'''
 
|style="padding-right: 1em;" | {{#if: {{{hullcost|}}}
 
| ${{formatnum:{{{hullcost}}}}}
 
| ''unknown''
 
}}
 
|- title="Price of the ship with the default equipment"
 
|class="infobox-data-title" | '''Package price'''
 
|style="padding-right: 1em;" | {{#if: {{{fullcost|}}}
 
| ${{formatnum:{{{fullcost}}}}}
 
 
| ''unknown''
 
| ''unknown''
 
}}
 
}}
 
|}
 
|}
 +
{{#if:{{{disclaimer|}}}|:''{{{disclaimer}}}''|:''This is a player owned ship.''}}
 
[[Category:Player Ships]]
 
[[Category:Player Ships]]
 
</includeonly>
 
</includeonly>
Line 134: Line 119:
 
| maxpower = 11400
 
| maxpower = 11400
 
| recharge = 1160
 
| recharge = 1160
| hullcost = 1995000
 
| fullcost = 2128130
 
 
}}</nowiki></pre>
 
}}</nowiki></pre>
 
* You can add a custom field "| disclaimer = This is an admin-approved player owned ship" or the like if you don't wish to see the default disclaimer on the top of the page
 
* You can add a custom field "| disclaimer = This is an admin-approved player owned ship" or the like if you don't wish to see the default disclaimer on the top of the page
 
==Result==
 
==Result==
:''This is a player owned ship.''
+
{{Player Ship Infobox
 
+
| 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" class="infobox-name"|'''{{{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
 +
| cargo = 65
 +
| maxregens = 62
 +
| optwepclass = 8
 +
| maxwepclass = 10
 +
| maxshieldclass = 10
 +
| maxspeed = 80
 +
| maxthrust = 199
 +
| maxpower = 11400
 +
| recharge = 1160
 
}}
 
}}
|-
 
|class="infobox-data-title"| '''Ship Class'''
 
|style="padding-right: 1em;" | {{#switch: {{{shipclass}}}
 
| L_FIGHTER = [[Fighters#Light_Fighters|Light Fighter]]
 
| H_FIGHTER = [[Fighters#Heavy_Fighters|Heavy Fighter]]
 
| VH_FIGHTER = [[Fighters#Very_Heavy_Fighters|Very Heavy Fighter]]
 
| SH_FIGHTER = [[Fighters#Very_Heavy_Fighters|Super Heavy Fighter]]
 
| BOMBER = [[Bombers|Bomber]]
 
| GUNBOAT = [[Gunboats|Gunboat]]
 
| CRUISER = [[Capital_Ships#Cruisers|Cruiser]]
 
| BATTLESHIP = [[Capital_Ships#Battleships|Battleship]]
 
| FREIGHTER = [[Freighters|Freighter]]
 
| TRANSPORT = [[Transports|Transport]]
 
| LINER = [[Liners|Liner]]
 
| #default = ''unknown''
 
}}
 
|-
 
|class="infobox-data-title" | '''Built by'''
 
|style="padding-right: 1em;" | {{#if: {{{shipowner|}}} | {{{shipowner}}} | ''unknown''}}
 
|-
 
| colspan="2" class="infobox-section" | Technical information
 
|- 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}}}
 
|- title="Class of weapons best suited for mounting on this ship"
 
|class="infobox-data-title" | '''Opt. weapon class'''
 
|style="padding-right: 1em;" | {{{optwepclass|''unknown''}}}
 
|- 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''}}}
 
|-
 
|class="infobox-data-title" | '''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"
 
|class="infobox-data-title" | '''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"
 
|class="infobox-data-title" | '''Max. shield class'''
 
|style="padding-right: 1em; color: #006699; font-weight: bold;" | {{{maxshieldclass|''unknown''}}}
 
|- title="Amount of cargo this ship is able to carry"
 
|class="infobox-data-title" | '''Cargo space'''
 
|style="padding-right: 1em;" | {{#if: {{{cargo|}}}
 
| {{formatnum:{{{cargo}}}}} units
 
| ''unknown''
 
}}
 
|- title="Maximum number of shield batteries/nanobots carried by this ship"
 
|class="infobox-data-title" | '''Nanobots/Batteries'''
 
|style="padding-right: 1em;" | {{#if: {{{maxregens|}}}
 
| {{{maxregens}}}/{{{maxregens}}}
 
| ''unknown''
 
}}
 
|- title="Maximum speed of this ship on impulse drive"
 
|class="infobox-data-title" | '''Max. impulse speed'''
 
|style="padding-right: 1em;" | {{#if: {{{maxspeed|}}}
 
| {{formatnum:{{{maxspeed}}}}} m/s
 
| ''unknown''
 
}}
 
|- title="Maximum speed of this ship on thrusters"
 
|class="infobox-data-title" | '''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)"
 
|class="infobox-data-title" | '''Power output'''
 
|style="padding-right: 1em;" | {{#if: {{{maxpower|}}}
 
| {{formatnum:{{{maxpower}}}}} u
 
| ''unknown''
 
}}
 
|- title="Amount of energy units generated per second"
 
|class="infobox-data-title" | '''Power recharge'''
 
|style="padding-right: 1em;" | {{#if: {{{recharge|}}}
 
| {{formatnum:{{{recharge}}}}} u/s
 
| ''unknown''
 
}}
 
|-
 
| colspan="2" class="infobox-section" | Additional information
 
|- title="Price of the ship without any mounted equipment"
 
|class="infobox-data-title" | '''Ship price'''
 
|style="padding-right: 1em;" | {{#if: {{{hullcost|}}}
 
| ${{formatnum:{{{hullcost}}}}}
 
| ''unknown''
 
}}
 
|- title="Price of the ship with the default equipment"
 
|class="infobox-data-title" | '''Package price'''
 
|style="padding-right: 1em;" | {{#if: {{{fullcost|}}}
 
| ${{formatnum:{{{fullcost}}}}}
 
| ''unknown''
 
}}
 
|}
 
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 05:19, 28 February 2010


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
}}
  • You can add a custom field "| disclaimer = This is an admin-approved player owned ship" or the like if you don't wish to see the default disclaimer on the top of the page

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
This is a player owned ship.