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 searchm |
m (Alters the margin depending on the alignment of the infobox now.) |
||
(33 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | <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" | + | <includeonly>{| class="infobox bordered" style="float: {{#ifeq:{{{align|right}}}|right|right|left}}; margin-left: {{#ifeq:{{{align|right}}}|right|1em|0em}}; margin-right: {{#ifeq:{{{align|right}}}|right|0em|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 41: | Line 41: | ||
|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" | ''' | + | {{#if: {{{c10|}}} | <br /> |
− | |style="padding-right: 1em;" | {{{ | + | {{!}}- title="Class 10 (CODENAME) Guns" |
− | |- title=" | + | {{!}}class="infobox-data-title" {{!}} {{#switch: {{{classes|}}} | name = '''CODENAME Guns''' | #default = '''Class 10 Guns'''}} |
− | |class="infobox-data-title" | ''' | + | {{!}}style="padding-right: 1em;" {{!}} |
− | |style="padding-right: 1em;" | {{{ | + | {{{c10|}}} |
− | |- | + | }}{{#if: {{{c9|}}} | <br /> |
− | |class="infobox-data-title" | ''' | + | {{!}}- title="Class 9 (Fighter) Guns" |
− | |style="padding-right: 1em;" | {{#if: {{{ | + | {{!}}class="infobox-data-title" {{!}} '''Class 9 Guns''' |
− | | {{#if: {{{ | + | {{!}}style="padding-right: 1em;" {{!}} |
− | + | {{{c9|}}} | |
+ | }}{{#if: {{{c8|}}} | <br /> | ||
+ | {{!}}- title="Class 8 (Fighter) Guns" | ||
+ | {{!}}class="infobox-data-title" {{!}} '''Class 8 Guns''' | ||
+ | {{!}}style="padding-right: 1em;" {{!}} | ||
+ | {{{c8|}}} | ||
+ | }}{{#if: {{{c7|}}} | <br /> | ||
+ | {{!}}- title="Class 7 (Fighter) Guns" | ||
+ | {{!}}class="infobox-data-title" {{!}} '''Class 7 Guns''' | ||
+ | {{!}}style="padding-right: 1em;" {{!}} | ||
+ | {{{c7|}}} | ||
+ | }}{{#if: {{{c6|}}} | <br /> | ||
+ | {{!}}- title="Class 6 (Bomber) Guns" | ||
+ | {{!}}class="infobox-data-title" {{!}} {{#switch: {{{classes|}}} | name = '''Bomber Guns''' | #default = '''Class 6 Guns'''}} | ||
+ | {{!}}style="padding-right: 1em;" {{!}} | ||
+ | {{{c6|}}} | ||
+ | }}{{#if: {{{c5|}}} | <br /> | ||
+ | {{!}}- title="Class 5 (Fighter) Turrets" | ||
+ | {{!}}class="infobox-data-title" {{!}} '''Class 5 Guns''' | ||
+ | {{!}}style="padding-right: 1em;" {{!}} | ||
+ | {{{c5|}}} | ||
+ | }}{{#if: {{{c4|}}} | <br /> | ||
+ | {{!}}- title="Class 4 (Fighter) Guns" | ||
+ | {{!}}class="infobox-data-title" {{!}} '''Class 4 Guns''' | ||
+ | {{!}}style="padding-right: 1em;" {{!}} | ||
+ | {{{c4|}}} | ||
+ | }}{{#if: {{{c3|}}} | <br /> | ||
+ | {{!}}- title="Class 3 (Fighter) Guns" | ||
+ | {{!}}class="infobox-data-title" {{!}} '''Class 3 Guns''' | ||
+ | {{!}}style="padding-right: 1em;" {{!}} | ||
+ | {{{c3|}}} | ||
+ | }}{{#if: {{{c2|}}} | <br /> | ||
+ | {{!}}- title="Class 2 (Fighter) Guns" | ||
+ | {{!}}class="infobox-data-title" {{!}} '''Class 2 Guns''' | ||
+ | {{!}}style="padding-right: 1em;" {{!}} | ||
+ | {{{c2|}}} | ||
+ | }}{{#if: {{{t10|}}} | <br /> | ||
+ | {{!}}- title="Class 10 (Battleship Heavy) Turrets" | ||
+ | {{!}}class="infobox-data-title" {{!}} {{#switch: {{{classes|}}} | name = '''Battleship<br />Heavy Turrets''' | sname = '''Heavy Turrets''' | #default = '''Class 10 Turrets'''}} | ||
+ | {{!}}style="padding-right: 1em;" {{!}} | ||
+ | {{{t10|}}} | ||
+ | }}{{#if: {{{t9|}}} | <br /> | ||
+ | {{!}}- title="Class 9 (Battleship Primary) Turrets" | ||
+ | {{!}}class="infobox-data-title" {{!}} {{#switch: {{{classes|}}} | name = '''Battleship<br />Primary Turrets''' | sname = '''Primary Turrets''' | #default = '''Class 9 Turrets'''}} | ||
+ | {{!}}style="padding-right: 1em;" {{!}} | ||
+ | {{{t9|}}} | ||
+ | }}{{#if: {{{t8|}}} | <br /> | ||
+ | {{!}}- title="Class 8 (Battleship Secondary) Turrets" | ||
+ | {{!}}class="infobox-data-title" {{!}} {{#switch: {{{classes|}}} | name = '''Battleship<br />Secondary Turrets''' | sname = '''Secondary Turrets''' | #default = '''Class 8 Turrets'''}} | ||
+ | {{!}}style="padding-right: 1em;" {{!}} | ||
+ | {{{t8|}}} | ||
+ | }}{{#if: {{{t7|}}} | <br /> | ||
+ | {{!}}- title="Class 7 (Heavy Cruiser) Turrets" | ||
+ | {{!}}class="infobox-data-title" {{!}} {{#switch: {{{classes|}}} | name = '''Cruiser<br />Heavy Turrets''' | sname = '''Heavy Turrets''' | #default = '''Class 7 Turrets'''}} | ||
+ | {{!}}style="padding-right: 1em;" {{!}} | ||
+ | {{{t7|}}} | ||
+ | }}{{#if: {{{t6|}}} | <br /> | ||
+ | {{!}}- title="Class 6 (Cruiser) Turrets" | ||
+ | {{!}}class="infobox-data-title" {{!}} {{#switch: {{{classes|}}} | sname | name = '''Cruiser Turrets''' | #default = '''Class 6 Turrets'''}} | ||
+ | {{!}}style="padding-right: 1em;" {{!}} | ||
+ | {{{t6|}}} | ||
+ | }}{{#if: {{{t5|}}} | <br /> | ||
+ | {{!}}- title="Class 5 (Gunboat) Turrets" | ||
+ | {{!}}class="infobox-data-title" {{!}} {{#switch: {{{classes|}}} | name = '''Gunboat Turrets''' | #default = '''Class 5 Turrets'''}} | ||
+ | {{!}}style="padding-right: 1em;" {{!}} | ||
+ | {{{t5|}}} | ||
+ | }}{{#if: {{{t4|}}} | <br /> | ||
+ | {{!}}- title="Class 4 (Transport) Turrets" | ||
+ | {{!}}class="infobox-data-title" {{!}} {{#switch: {{{classes|}}} | name = '''Transport Turrets''' | #default = '''Class 4 Turrets'''}} | ||
+ | {{!}}style="padding-right: 1em;" {{!}} | ||
+ | {{{t4|}}} | ||
+ | }}{{#if: {{{t3|}}} | <br /> | ||
+ | {{!}}- title="Class 3 (Bomber) Turrets" | ||
+ | {{!}}class="infobox-data-title" {{!}} {{#switch: {{{classes|}}} | name = '''Bomber Turrets''' | #default = '''Class 3 Turrets'''}} | ||
+ | {{!}}style="padding-right: 1em;" {{!}} | ||
+ | {{{t3|}}} | ||
+ | }}{{#if: {{{t2|}}} | <br /> | ||
+ | {{!}}- title="Class 2 (Fighter) Turrets" | ||
+ | {{!}}class="infobox-data-title" {{!}} '''Class 2 Turrets''' | ||
+ | {{!}}style="padding-right: 1em;" {{!}} | ||
+ | {{{t2|}}} | ||
+ | }}{{#if: {{{t1|}}} | <br /> | ||
+ | {{!}}- title="Class 1 (Fighter) Turrets" | ||
+ | {{!}}class="infobox-data-title" {{!}} '''Class 1 Turrets''' | ||
+ | {{!}}style="padding-right: 1em;" {{!}} | ||
+ | {{{t1|}}} | ||
+ | }}{{#if: {{{btorps|}}}{{{btorpedo|}}}{{{btorp|}}} | <br /> | ||
+ | {{!}}- title="Bomber Torpedoes (Class 1 Guns)" | ||
+ | {{!}}class="infobox-data-title" {{!}} '''Bomber Torpedoes''' | ||
+ | {{!}}style="padding-right: 1em;" {{!}} | ||
+ | {{{btorp|}}}{{{btorpedo|}}}{{{btorps|}}} | ||
+ | }}{{#if: {{{ftorps|}}}{{{torpedo|}}}{{{ftorpedo|}}} | <br /> | ||
+ | {{!}}- title="Fighter Torpedoes" | ||
+ | {{!}}class="infobox-data-title" {{!}} '''Fighter Torpedoes''' | ||
+ | {{!}}style="padding-right: 1em;" {{!}} | ||
+ | {{{ftorps|}}}{{{torpedo|}}}{{{ftorpedo|}}} | ||
+ | }}{{#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|}}} | ||
+ | }}{{#if: {{{mines|}}} | <br /> | ||
+ | {{!}}- title="Cruise Distuptors" | ||
+ | {{!}}class="infobox-data-title" {{!}} '''Mines''' | ||
+ | {{!}}style="padding-right: 1em;" {{!}} | ||
+ | {{{mines|}}} | ||
}} | }} | ||
|- title="Amount of hull hitpoints" | |- title="Amount of hull hitpoints" | ||
|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: {{{armor|}}} |
+ | | 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'' | ||
}} | }} | ||
− | + | {{#if: {{{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''' | ||
Line 99: | Line 223: | ||
|class="infobox-data-title" | '''Power recharge''' | |class="infobox-data-title" | '''Power recharge''' | ||
|style="padding-right: 1em;" | {{#if: {{{recharge|}}} | |style="padding-right: 1em;" | {{#if: {{{recharge|}}} | ||
− | | {{#iferror: {{#expr: {{{core|100}}}* | + | | {{#iferror: {{#expr: {{{core|100}}}*{{{recharge|0}}}/100 }} | {{{recharge|}}} u/s ({{{core|100}}}%) }} |
− | + | }}{{#if: {{{jumpdrive|}}} | <br /> | |
− | }}{{#if: {{{ | ||
{{!}}- title="Jump Drive / Hyperspace Survey" | {{!}}- title="Jump Drive / Hyperspace Survey" | ||
{{!}}class="infobox-data-title" {{!}} '''Hyperspatial Module''' | {{!}}class="infobox-data-title" {{!}} '''Hyperspatial Module''' | ||
Line 115: | Line 238: | ||
</includeonly> | </includeonly> | ||
− | <noinclude | + | <noinclude>{{Player Ship Infobox/doc}} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | }} | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 09:46, 31 August 2013
Variables, Syntax, and Form
name | |
Ship Class | unknown |
Built by | shipowner |
Captain | captain |
Technical information | |
Guns/Turrets | guns / turrets |
Class 10 Guns |
c10 |
Class 9 Guns |
c9 |
Class 8 Guns |
c8 |
Class 7 Guns |
c7 |
Class 6 Guns |
c6 |
Class 5 Guns |
c5 |
Class 4 Guns |
c4 |
Class 3 Guns |
c3 |
Class 2 Guns |
c2 |
Class 10 Turrets |
t10 |
Class 9 Turrets |
t9 |
Class 8 Turrets |
t8 |
Class 7 Turrets |
t7 |
Class 6 Turrets |
t6 |
Class 5 Turrets |
t5 |
Class 4 Turrets |
t4 |
Class 3 Turrets |
t3 |
Class 2 Turrets |
t2 |
Class 1 Turrets |
t1 |
Bomber Torpedoes |
btorps |
Fighter Torpedoes |
ftorps |
Cruise Disruptor |
cd |
Countermeasures |
cm |
Mines |
mines |
Hull strength | hull (x1.0) |
Shield strength | shield |
Cargo space | cargo units |
Nanobots/Batteries | maxregens/maxregens |
Max. impulse speed | 80 m/s |
Max. thrust speed | 199 m/s |
Power output | 36,000 u |
Power recharge | 1650 |
Hyperspatial Module | jumpdrive |
Hyperspatial Module | surveyor |
- This is a player owned ship.
{{Player Ship Infobox | name = name | image = image | shipclass = shipclass | captain = captain | shipowner = shipowner | guns = guns | turrets = turrets | torpedoes = torpedoes | mines = mines | hull = hull | armor = armor | cargo = cargo | maxregens = maxregens | shield = shield | maxspeed = 80 | maxthrust = 199 | maxpower = 36000 | recharge = 1650 | c2 = c2 | c3 = c3 | c4 = c4 | c5 = c5 | c6 = c6 | c7 = c7 | c8 = c8 | c9 = c9 | c10 = c10 | t1 = t1 | t2 = t2 | t3 = t3 | t4 = t4 | t5 = t5 | t6 = t6 | t7 = t7 | t8 = t8 | t9 = t9 | t10 = t10 | ftorps = ftorps | btorps = btorps | cm = cm | cd = cd | jumpdrive = jumpdrive | surveyor = surveyor }}
Examples
Liberty Dreadnought
LNS Coral Sea | |
Ship Class | Dreadnought |
Built by | Liberty Navy |
Captain | Kevin Smith |
Technical information | |
Guns/Turrets | 0 / 13 |
Class 10 Turrets | |
Class 9 Turrets | |
Class 8 Turrets | |
Countermeasures |
Enh. Countermeasure |
Hull strength | 840,000 (x2.5) |
Shield strength | 460,000 Graviton |
Cargo space | 1,600 units |
Nanobots/Batteries | 1600/1600 |
Max. impulse speed | 80 m/s |
Max. thrust speed | Thruster not available |
Power output | 8,000,000 u |
Power recharge | 260,000 u/s (100%) |
Hyperspatial Module | Jump Drive Mk III |
- This is a player owned ship.
Code
{{Player Ship Infobox | name = LNS Coral Sea | image = LibDread-s.png | shipclass = DREADNOUGHT | captain = Kevin Smith | shipowner = [[Liberty Navy]] | turrets = 13 | cm = Enh. Countermeasure | hull = 840000 | armor = UAU8 | cargo = 1600 | maxregens = 1600 | optwepclass = 9 | maxwepclass = 10 | shield = 460000 Graviton | maxspeed = 80 | maxpower = 8000000 | recharge = 260,000 | jumpdrive = 3 | t10 = * [[Heavy Mortar]] * [[Heavy Mortar]] * [[Liberty Battleship Missile Turret|Battleship Missile]] | t9 = * [[Liberty Battleship Primary Turret|Primary Turret]] * [[Liberty Battleship Primary Turret|Primary Turret]] * [[Liberty Battleship Primary Turret|Primary Turret]] * [[Liberty Battleship Primary Turret|Primary Turret]] | t8 = * [[Liberty Battleship Secondary Turret|Secondary Turret]] * [[Liberty Battleship Secondary Turret|Secondary Turret]] * [[Liberty Battleship Secondary Turret|Secondary Turret]] * [[Liberty Battleship Secondary Turret|Secondary Turret]] * [[Liberty Battleship Flak Turret|Flak Turret]] * [[Liberty Battleship Flak Turret|Flak Turret]] }}
Super Heavy Fighter
Junker "Recycler" SHF | |
Ship Class | Super Heavy Fighter |
Built by | Junkers Congress |
Captain | Skid Marx |
Technical information | |
Guns/Turrets | 5 / 2 |
Bomber Torpedoes | |
Fighter Torpedoes |
Mini-Razor |
Cruise Disruptor |
Train CD |
Countermeasures |
Enhanced CM |
Mines |
1 |
Hull strength | 24,600 (x2.5) |
Shield strength | 24,350 Molecular |
Cargo space | 200 units |
Nanobots/Batteries | 260/260 |
Max. impulse speed | 80 m/s |
Max. thrust speed | 199 m/s |
Power output | 36,000 u |
Power recharge | 1650 |
- This is a player owned ship.
Code
{{Player Ship Infobox | name = Junker "Recycler" SHF | image = Recycler-s.png | shipclass = SH_FIGHTER | captain = Skid Marx | shipowner = [[The Junkers Congress|Junkers Congress]] | guns = 5 | turrets = 2 | torpedoes = 1 | mines = 1 | btorpedo = [[Civilian SNAC]] | torpedo = Mini-Razor | cd = Train CD | cm = Enhanced CM | hull = 24600 | armor = UAU8 | cargo = 200 | maxregens = 260 | shield = 24350 Molecular | maxspeed = 80 | maxthrust = 199 | maxpower = 36000 | recharge = 1650 }}