Difference between revisions of "Template:Player Ship Infobox"

From Discovery Wiki
Jump to navigationJump to search
(well that'd do it)
(Armor modifier)
Line 136: Line 136:
 
{{!}}style="padding-right: 1em;" {{!}}  
 
{{!}}style="padding-right: 1em;" {{!}}  
 
{{{t1|}}}
 
{{{t1|}}}
 +
}}{{#if: {{{btorps|}}}{{{btorpedo|}}}{{{btorp|}}} | <br />
 +
{{!}}- title="Bomber Torpedoes (Class 1 Guns)"
 +
{{!}}class="infobox-data-title" {{!}} '''Bomber Torpedoes'''
 +
{{!}}style="padding-right: 1em;" {{!}}
 +
{{{btorp|}}}{{{btorpedo|}}}{{{btorp|}}}
 +
}}{{#if: {{{ftorps|}}}{{{torpedo|}}}{{{ftorpedo|}}} | <br />
 +
{{!}}- title="Fighter Torpedoes"
 +
{{!}}class="infobox-data-title" {{!}} '''Fighter Torpedoes'''
 +
{{!}}style="padding-right: 1em;" {{!}}
 +
{{{t1|}}}
 +
}}{{#if: {{{cd|}}} | <br />
 +
{{!}}- title="Cruise Distuptors"
 +
{{!}}class="infobox-data-title" {{!}} '''Cruise Disruptor'''
 +
{{!}}style="padding-right: 1em;" {{!}}
 +
{{{cd|}}}
 +
}}{{#if: {{{cm|}}} | <br />
 +
{{!}}- title="Cruise Distuptors"
 +
{{!}}class="infobox-data-title" {{!}} '''Countermeasures'''
 +
{{!}}style="padding-right: 1em;" {{!}}
 +
{{{cm|}}}
 
}}
 
}}
 
|-
 
|-
Line 146: Line 166:
 
|class="infobox-data-title" | '''Hull strength'''
 
|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}}}}} {{#if: {{{armor|}}} | {{#color|#ffbf00|(x{{#switch:
 +
| AU1 | UAU1 | Armor Upgrade Mk I = 1.4
 +
| AU2 | UAU2 | Armor Upgrade Mk II = 1.7
 +
| AU3 | UAU3 | Armor Upgrade Mk III = 1.9
 +
| AU4 | UAU4 | Armor Upgrade Mk IV = 2.1
 +
| AU5 | UAU5 | Armor Upgrade Mk V = 2.2
 +
| AU6 | UAU6 | Armor Upgrade Mk VI = 2.3
 +
| AU7 | UAU7 | Armor Upgrade Mk VII = 2.4
 +
| AU8 | UAU8 | Armor Upgrade Mk VIII = 2.5
 +
| HAU1 | CAU1 | Heavy Armor Upgrade Mk I = 2.25
 +
| HAU2 | CAU2 | Heavy Armor Upgrade Mk II = 2.5
 +
| HAU3 | CAU3 | Heavy Armor Upgrade Mk III = 2.75
 +
| HAU4 | CAU4 | Heavy Armor Upgrade Mk IV = 3.0
 +
| cap5 | CAU5 | Capital Armor Upgrade Mk V = 3.3
 +
| cap6 | CAU6 | Capital Armor Upgrade Mk V = 3.6
 +
| cap7 | CAU7 | Capital Armor Upgrade Mk V = 3.8
 +
| cap8 | CAU8 | Capital Armor Upgrade Mk V = 4.0
 +
| #default = 1.0}})}}
 
| ''unknown''
 
| ''unknown''
 
}}
 
}}

Revision as of 22:29, 5 August 2012


Usage

{{Player Ship Infobox
| name = RH-GM40 "Odin"
| image = Odin-s.png
| 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"
Odin.png
Ship Class Very Heavy Fighter
Built by Red Hessians
Captain Johnny Whoever
Technical information
Guns/Turrets 6 / 1
Additional equipment
Hull strength {{#if: 9700 9,700 unknown
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 1160
This is a player owned ship.