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 30: Line 30:
 
|class="infobox-data-title" | '''Built by'''
 
|class="infobox-data-title" | '''Built by'''
 
|style="padding-right: 1em;" | {{#if: {{{shipowner|}}} | {{{shipowner}}} | ''unknown''}}
 
|style="padding-right: 1em;" | {{#if: {{{shipowner|}}} | {{{shipowner}}} | ''unknown''}}
{{#ifeq:{{{captain|}}}|||
+
{{#if:{{{captain|}}}|
|-
+
{{!}}-
|class="infobox-data-title" | '''Captain'''
+
{{!}}class="infobox-data-title" {{!}} '''Captain'''
|style="padding-right: 1em;" | {{{captain|''unknown''}}}
+
{{!}}style="padding-right: 1em;" {{!}} {{{captain|''unknown''}}}
}}
+
|}}
 
|-
 
|-
 
| colspan="2" class="infobox-section" | Technical information
 
| colspan="2" class="infobox-section" | Technical information
Line 61: Line 61:
 
|class="infobox-data-title" | '''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''}}}
{{#ifeq:{{{shield|}}}|||
+
{{#if:{{{shield|}}}|
|- title="Amount of shield points"
+
{{!}}- title="Amount of shield points"
|class="infobox-data-title" | '''Shield strength'''
+
{{!}}class="infobox-data-title" {{!}} '''Shield strength'''
|style="padding-right: 1em; color: #006699; font-weight: bold;" | {{formatnum:{{{shield}}}}}
+
{{!}}style="padding-right: 1em; color: #006699; font-weight: bold;" {{!}} {{formatnum:{{{shield}}}}}
}}
+
|}}
 
|- 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'''
 
|class="infobox-data-title" | '''Cargo space'''

Revision as of 23:03, 24 January 2012


Usage

{{Player Ship Infobox
| name = RH-GM40 "Odin"
| image = Odin1.jpg
| shipclass = VH_FIGHTER
| captain = Johnny Whoever
| 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
| shield = 10186
| 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
Captain Johnny Whoever
Technical information
Guns/Turrets 6 / 1
Opt. weapon class 8
Max. weapon class 10
Additional equipment
Hull strength 9,700
Max. shield class 10
Shield strength 10,186
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.