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''}}
{{#if:{{{captain|}}}|||
+
{{#ifeq:{{{captain|}}}|||
 
|-
 
|-
 
|class="infobox-data-title" | '''Captain'''
 
|class="infobox-data-title" | '''Captain'''
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''}}}
{{#if:{{{shield|}}}|||
+
{{#ifeq:{{{shield|}}}|||
 
|- title="Amount of shield points"
 
|- title="Amount of shield points"
 
|class="infobox-data-title" | '''Shield strength'''
 
|class="infobox-data-title" | '''Shield strength'''

Revision as of 22:59, 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
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.