Difference between revisions of "Template:Ship Infobox"

From Discovery Wiki
Jump to navigationJump to search
m
(fix link to techcompat table)
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<noinclude>{{Style Guide navigation}}<!--</noinclude>{{#if: {{{historical|}}} | {{historical|{{{historical}}}[[Category:Historical Ships]]{{#if:{{{version|}}}|{{!}}{{{version}}}}}}}}}{{#if: {{{image|}}}||{{Stub|This page requires a Picture for the '''Ship'''. This is an automatically generated message that will disappear when an image is used.}}}}
+
<noinclude>{{Style Guide navigation}}<!--</noinclude>{{#if: {{{historical|}}} | {{#if: {{{version|}}} | {{Historical|{{{historical}}}|{{{version}}}}} | {{Historical|{{{historical}}}}}}}[[Category:Historical Ships]]}}{{#if: {{{image|}}}||{{Stub|This page requires a Picture for the '''Ship'''. This is an automatically generated message that will disappear when an image is used.}}}}
 
{| class="infobox bordered" style="float: right; margin-left: 1em; margin-bottom: 10px; width: 270px; font-size: 11px; line-height: 14px; border: 2px solid black;" cellpadding="3"
 
{| class="infobox bordered" style="float: right; margin-left: 1em; margin-bottom: 10px; width: 270px; font-size: 11px; line-height: 14px; border: 2px solid black;" cellpadding="3"
 
|-
 
|-
 
| colspan="2" class="infobox-name"|'''{{{name}}}'''
 
| colspan="2" class="infobox-name"|'''{{{name}}}'''
 
|-
 
|-
| colspan="2" style="padding: 0; text-align: center; padding: 5px 0px;"|{{#if: {{{image|}}}
+
| colspan="2" class="shipDisplay" style="padding: 0; text-align: center; padding: 5px 0px;"|{{#if: {{{image|}}}
 
| [[image:{{{image}}}|center|254px]]
 
| [[image:{{{image}}}|center|254px]]
 
| [[image:Noimage_test.jpg|center|254px]]
 
| [[image:Noimage_test.jpg|center|254px]]
Line 15: Line 15:
 
| VH_FIGHTER = [[Fighters#Very_Heavy_Fighters|Very Heavy Fighter]]
 
| VH_FIGHTER = [[Fighters#Very_Heavy_Fighters|Very Heavy Fighter]]
 
| SH_FIGHTER = [[Fighters#Very_Heavy_Fighters|Super Heavy Fighter]]
 
| SH_FIGHTER = [[Fighters#Very_Heavy_Fighters|Super Heavy Fighter]]
 +
| SH_MINER = [[Fighters#Super_Heavy_Fighters|Super Heavy FIghter]][[Category: Mining Ships]]
 
| BOMBER = [[Bombers|Bomber]]
 
| BOMBER = [[Bombers|Bomber]]
 
| GUNSHIP = [[Gunship]]
 
| GUNSHIP = [[Gunship]]
 
| GUNBOAT = [[Gunboat]]
 
| GUNBOAT = [[Gunboat]]
| CRUISER = [[Capital_Ships#Cruisers_and_Destroyers|Cruiser]]
+
| CRUISER = [[Capital_Ships#Cruiser-Class_Ships|Cruiser]]
| BATTLECRUISER = [[Capital_Ships#Battlecruisers_and_Light_Carriers|Battlecruiser]]
+
| BATTLECRUISER = [[Capital_Ships#Cruiser-Class_Ships|Battlecruiser]]
| LIGHTCARRIER = [[Capital_Ships#Battlecruisers_and_Light_Carriers|Light Carrier]]
+
| LIGHTCARRIER = [[Capital_Ships#Cruiser-Class_Ships|Light Carrier]]
| BATTLESHIP = [[Capital_Ships#Battleships.2C_Dreadnoughts.2C_and_Heavy_Carriers|Battleship]]
+
| BATTLESHIP = [[Capital_Ships#Battleships_and_Carriers|Battleship]]
| DREADNOUGHT = [[Capital_Ships#Battleships.2C_Dreadnoughts.2C_and_Heavy_Carriers|Dreadnought]]
+
| DREADNOUGHT = [[Capital_Ships#Battleships_and_Carriers|Dreadnought]]
| CARRIER= [[Capital_Ships#Battleships.2C_Dreadnoughts.2C_and_Heavy_Carriers|Carrier]]
+
| CARRIER= [[Capital_Ships#Battleships_and_Carriers|Carrier]]
 
| FREIGHTER = [[Freighters|Freighter]]
 
| FREIGHTER = [[Freighters|Freighter]]
 
| TRANSPORT = [[Transports|Transport]]
 
| TRANSPORT = [[Transports|Transport]]
| LINER = [[Liners|Liner]]
+
| LINER = [[Transports#Passenger_Liners|Liner]]
 
| #default = ''unknown''
 
| #default = ''unknown''
 
}}
 
}}
Line 33: Line 34:
 
|style="padding-right: 1em;" | {{#if: {{{shipowner|}}} | {{{shipowner}}} | ''unknown''}}
 
|style="padding-right: 1em;" | {{#if: {{{shipowner|}}} | {{{shipowner}}} | ''unknown''}}
 
{{#if: {{{techmix|}}} | {{!}}- title="What column on the Tech Mix chart this ship belongs to"
 
{{#if: {{{techmix|}}} | {{!}}- title="What column on the Tech Mix chart this ship belongs to"
{{!}}class="infobox-data-title" {{!}} '''[http://discoverygc.com/wiki/techcompat_table.php Tech Column]'''
+
{{!}}class="infobox-data-title" {{!}} '''[http://discoverygc.com/techcompat/techcompat_table.php Tech Column]'''
 
{{!}}style="padding-right: 1em;" {{!}} {{{techmix}}} | {{#if: {{{historical|}}} | | [[Category:Missing Tech Chart]]}}
 
{{!}}style="padding-right: 1em;" {{!}} {{{techmix}}} | {{#if: {{{historical|}}} | | [[Category:Missing Tech Chart]]}}
 
}}
 
}}
Line 98: Line 99:
 
|style="padding-right: 1em;" | {{#if: {{{maxcruise|}}}
 
|style="padding-right: 1em;" | {{#if: {{{maxcruise|}}}
 
| {{formatnum:{{{maxcruise}}}}} m/s
 
| {{formatnum:{{{maxcruise}}}}} m/s
| ''unknown''
+
| {{#switch: {{{shipclass}}}
}}
+
| L_FIGHTER = 400 m/s
 +
| H_FIGHTER
 +
| VH_FIGHTER
 +
| SH_FIGHTER
 +
| SH_MINER
 +
| BOMBER
 +
| GUNSHIP
 +
| GUNBOAT
 +
| CRUISER
 +
| BATTLECRUISER
 +
| LIGHTCARRIER
 +
| BATTLESHIP
 +
| DREADNOUGHT
 +
| CARRIER
 +
| FREIGHTER
 +
| TRANSPORT
 +
| LINER = 350 m/s
 +
| #default = ''unknown''
 +
}}}}
 
|- title="Maximum reactor energy storage (capacitance)"
 
|- title="Maximum reactor energy storage (capacitance)"
 
|class="infobox-data-title" | '''Power output'''
 
|class="infobox-data-title" | '''Power output'''
Line 196: Line 215:
 
| H_FIGHTER = Heavy Fighters
 
| H_FIGHTER = Heavy Fighters
 
| VH_FIGHTER = Very Heavy Fighters
 
| VH_FIGHTER = Very Heavy Fighters
 +
| SH_MINER
 
| SH_FIGHTER = Super Heavy Fighters
 
| SH_FIGHTER = Super Heavy Fighters
 
| BOMBER = Bombers
 
| BOMBER = Bombers
Line 252: Line 272:
 
* VH_FIGHTER
 
* VH_FIGHTER
 
* SH_FIGHTER
 
* SH_FIGHTER
 +
* SH_MINER
 
* BOMBER
 
* BOMBER
 
* GUNSHIP
 
* GUNSHIP

Latest revision as of 22:24, 16 July 2022

Other Templates available to read:

The Basics  • Ships  • Factions  • Bases  • Planets  • Systems  • Commodities


Usage

{{Ship Infobox
| name = Series X "Dagger" Light Fighter
| image = Dagger-s.png
| shipclass = L_FIGHTER
| shipowner = [[Border Worlds]]
| shiptechcategory = [[Border Worlds]]
| guns = 4
| turrets = 1
| mines = 1
| CD = 1
| CM = 1
| dockbays = eleventy-seven
| specialslot = 69
| hull = 1800
| cargo = 35
| maxregens = 15
| optwepclass = 2
| maxwepclass = 4
| maxshieldclass = 4
| maxspeed = 80
| maxthrust = 199
| maxpower = 1800
| maxcruise = 350
| recharge = 183
| hullcost = 36800
| fullcost = 39020
| basic_lf = [[Dagger]]
| basic_hf = [[Stiletto]]
| adv_lf = [[Scimitar]]
| adv_hf = [[Switchblade]]
| basic_vhf = [[Sabre]]
| bomber = [[Bomber]]
| basic_freighter = Example
| adv_freighter = Example 2
}}

Ship class can be one of these choices:

  • L_FIGHTER
  • H_FIGHTER
  • VH_FIGHTER
  • SH_FIGHTER
  • SH_MINER
  • BOMBER
  • GUNSHIP
  • GUNBOAT
  • CRUISER
  • BATTLECRUISER
  • BATTLESHIP
  • DREADNOUGHT
  • LIGHTCARRIER
  • CARRIER
  • FREIGHTER
  • TRANSPORT
  • LINER

Result

Series X "Dagger" Light Fighter
Bw fighter.png
Ship Class Light Fighter
Built by Border Worlds
Technical information
Guns/Turrets 4 / 1
Opt. weapon class 2
Max. weapon class 4
Other equipment
Hull strength 1,800
Max. shield class 4
Cargo space 35 units
Nanobots/Batteries 15/15
Max. impulse speed 80 m/s
Max. thrust speed 199 m/s
Max. cruise speed 350 m/s
Power output 1,800 u
Power recharge 183 u/s
Hyperspatial Modules 69 Hyperspatial Modules
Docking Bays 0 Docking Bays
Variants
Light Fighter Dagger
Adv. Light Fighter Scimitar
Heavy Fighter Stiletto
Adv. Heavy Fighter Switchblade
Very Heavy Fighter Sabre
Bomber Bomber
Freighter Example
Adv. Freighter Example 2
Additional information
Ship price $36,800
Package price $39,020