Template:Submarines Infobox: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
mNo edit summary
mNo edit summary
 
(18 intermediate revisions by one other user not shown)
Line 9: Line 9:
| mainsub = Wikitext string
| mainsub = Wikitext string
| price = Integer
| price = Integer
| tier = Integer (allowed values=1,2,3)
| crew = String
| crew = String
| experience = String (allowed values=Beginner,Intermediate,Experienced)
| experience = String (allowed values=Beginner,Intermediate,Experienced)
Line 20: Line 21:
| medfabricator = Boolean
| medfabricator = Boolean
| deconstructor = Boolean
| deconstructor = Boolean
| researchstation = Boolean
| cargo = Integer
| cargo = Integer


| hardpoints = Integer
| coilguns = Integer
| coilguns = Integer
| railguns = Integer
| chainguns = Integer
| chainguns = Integer
| pulselasers = Integer
| pulselasers = Integer
| largehardpoints = Integer
| doublecoilguns = Integer
| flakcannons = Integer
| railguns = Integer
| edcs = Integer
| edcs = Integer
| depthchargetubes = Integer
| depthchargetubes = Integer
| hardpoints = Integer


| fuelrate = Float
| fuelrate = Float
Line 34: Line 39:
| meltdowndelay = Integer
| meltdowndelay = Integer
| firedelay = Integer
| firedelay = Integer
| overloadvoltage = Float
}}
}}
<includeonly><onlyinclude>{| class="infobox responsive-table" align=right
<includeonly><onlyinclude>{| class="infobox responsive-table" align=right
Line 42: Line 48:
! class="infobox3 responsive-table" colspan="2" | General Information
! class="infobox3 responsive-table" colspan="2" | General Information
|-
|-
| style="width:50%" {{#switch:{{{type|}}}|Pirate|Wreck|Beacon Station=rowspan{{=}}"2"}} | '''{{#if:{{{type|}}}|{{#ifeq:{{{type|}}}|Submarine|Class|Type}}|Class}}'''{{#if:{{{drone|{{{mainsub|{{#switch:{{{type|}}}|Pirate|Wreck|Beacon Station=Yes}}}}}}}}|&nbsp;|<br>}}{{#if:{{{type|}}}|{{#ifeq:{{{type|}}}|Submarine|{{{class|<span style="color:#808080">Undefined</span>}}}|{{{type|}}}}}|{{{class|}}}}}
| style="width:50%" {{#if:{{{drone|}}}{{{mainsub|}}}||rowspan="2"}} | '''{{#if:{{{type|}}}|{{#ifeq:{{{type|}}}|Submarine|Class|Type}}|Class}}'''{{#if:{{{drone|{{{mainsub|}}}}}}|<nowiki>: </nowiki>|<br>}}{{#if:{{{type|}}}|{{#ifeq:{{{type|}}}|Submarine|{{{class|<span style="color:#808080">Undefined</span>}}}|{{{type|}}}}}|{{{class|}}}}}
{{#switch:{{{type|}}}|Pirate|Wreck|Beacon Station=|#default={{!}} style="width:50%" {{#if:{{{drone|{{{mainsub|}}}}}}|rowspan="2"}} {{!}} '''Price'''<br>{{#ifeq:{{{class|}}}|Shuttle|1000|{{{price|<span style="color:#808080">N/A</span>}}}}} mk
{{#switch:{{{type|}}}|Pirate|Wreck|Beacon Station=|#default={{!}} style="width:50%" {{!}} '''Price:''' {{formatnum:{{{price|1000}}}}} mk
{{#if:{{{drone|}}}|{{!}}-
{{!}}-
{{#if:{{{drone|}}}|&nbsp;
{{!}}'''Drone:''' {{{drone}}}}}<!--
{{!}}'''Drone:''' {{{drone}}}}}<!--
-->{{#if:{{{mainsub|}}}|{{!}}-
-->{{#if:{{{mainsub|}}}|&nbsp;
{{!}}'''Main Submarine:''' {{{mainsub}}}}}
{{!}}'''Main Submarine:''' {{{mainsub}}}}}
{{!}}'''Tier:''' {{{tier|1}}}
{{!}}-
{{!}}-
{{!}} style="width:50%" {{!}} '''Crew Size'''<br>{{{crew|<span style="color:#808080">N/A</span>}}}
{{!}} style="width:50%" {{!}} '''Crew Size'''<br>{{{crew|<span style="color:#808080">N/A</span>}}}
{{!}} style="width:50%" {{!}} '''Experience'''<br>{{{experience|<span style="color:#808080">N/A</span>}}}}}
{{!}} style="width:50%" {{!}} '''Experience'''<br>{{{experience|<span style="color:#808080">N/A</span>}}}
|-
{{!}}-}}
| style="width:50%" | '''Dimensions'''<br>{{{dimensions|<span style="color:#808080">N/A</span>}}} m
| style="width:50%" | '''Dimensions'''{{#switch:{{{type|}}}|Pirate|Wreck|Beacon Station=<nowiki>: </nowiki>|#default=<br>}}{{{dimensions|<span style="color:#808080">N/A</span>}}} m
| style="width:50%" | '''Hull Volume'''<br>{{{volume|<span style="color:#808080">N/A</span>}}} cm<sup>2</sup>
{{#switch:{{{type|}}}|Pirate|Wreck|Beacon Station={{!}}-}}
| style="width:50%" | '''Hull Volume'''{{#switch:{{{type|}}}|Pirate|Wreck|Beacon Station=<nowiki>: </nowiki>|#default=<br>}}{{formatnum:{{{volume|<span style="color:#808080">N/A</span>}}}}} cm<sup>2</sup>
{{#switch:{{{type|}}}|Wreck|Beacon Station=|#default={{!}}-
{{#switch:{{{type|}}}|Wreck|Beacon Station=|#default={{!}}-
! class="infobox3 responsive-table" colspan="2" {{!}} Mobility
! class="infobox3 responsive-table" colspan="2" {{!}} <span class="explain" title="Values obtained with no upgrades, Helm 50 and manual steering.">Mobility</span>
{{!}}-
{{!}}-
{{!}} style="width:50%" {{!}} <span class="explain" title="In both directions with no upgrades, Helm 50 and manual steering">'''Max Horizontal Speed'''</span><br>{{{horizontalspeed|<span style="color:#808080">N/A</span>}}} km/h
{{!}} style="width:50%" {{!}} '''Max Horizontal Speed'''<br>{{{horizontalspeed|<span style="color:#808080">N/A</span>}}} km/h
{{!}} style="width:50%" {{!}} '''Max Descent Speed'''<br>{{{descentspeed|<span style="color:#808080">N/A</span>}}} km/h}}
{{!}} style="width:50%" {{!}} '''Max Descent Speed'''<br>{{{descentspeed|<span style="color:#808080">N/A</span>}}} km/h}}
{{#switch:{{{type|}}}|Pirate|Wreck|Beacon Station=|#default={{!}}-
{{#switch:{{{type|}}}|Wreck|Beacon Station=|#default={{!}}-
! class="infobox3 responsive-table" colspan="2" {{!}} Fabrication & Storage
! class="infobox3 responsive-table" colspan="2" {{!}} Fabrication{{#ifeq:{{{type|}}}|Pirate||&nbsp;& Storage}}
{{!}}-
{{!}}-
{{!}} style="width:50%" {{!}} '''[[Fabricator]]'''<br>{{#ifeq:{{{fabricator|}}}|yes|Yes|No}}
{{!}} style="width:50%" {{!}} '''[[Fabricator]]'''<br>{{#ifeq:{{{fabricator|}}}|yes|Yes|<span style="color:#808080">No</span>}}
{{!}} style="width:50%" {{!}} '''[[Deconstructor]]'''<br>{{#ifeq:{{{deconstructor|}}}|yes|Yes|No}}
{{!}} style="width:50%" {{!}} '''[[Deconstructor]]'''<br>{{#ifeq:{{{deconstructor|}}}|yes|Yes|<span style="color:#808080">No</span>}}
{{!}}-
{{!}}-
{{!}} style="width:50%" {{!}} '''[[Medical Fabricator]]'''<br>{{#ifeq:{{{medfabricator|}}}|yes|Yes|No}}
{{!}} style="width:50%" {{!}} '''[[Medical Fabricator]]'''<br>{{#ifeq:{{{medfabricator|}}}|yes|Yes|<span style="color:#808080">No</span>}}
{{!}} style="width:50%" {{!}} '''Cargo Capacity'''<br>{{{cargo|<span style="color:#808080">N/A</span>}}} [[Crates]]}}
{{!}} style="width:50%" {{!}} '''[[Research Station]]'''<br>{{#ifeq:{{{researchstation|}}}|yes|Yes|<span style="color:#808080">No</span>}}
{{#switch:{{{type|}}}|Beacon Station=|#default={{!}}-
{{#ifeq:{{{type|}}}|Pirate||{{!}}-
{{!}} style="text-align:center" colspan="2" {{!}} '''Cargo Capacity'''<br>{{#ifeq:{{{cargo|0}}}|0|<span style="color:#808080">0</span>|{{{cargo}}}}} [[Crates]]}}}}
{{#ifeq:{{{type|}}}|Beacon Station||{{!}}-
! class="infobox3 responsive-table" colspan="2" {{!}} Weaponry
! class="infobox3 responsive-table" colspan="2" {{!}} Weaponry
{{#switch:{{{type|}}}|Pirate|Wreck=|#default={{!}}-
{{!}} style="width:50%" {{!}} '''[[Turret Hardpoint]]s'''<br>{{#ifeq:{{{hardpoints|0}}}|0|<span style="color:#808080">None</span>|{{{hardpoints}}}}}
{{!}} style="width:50%" {{!}} '''[[Large Turret Hardpoint]]s'''<br>{{#ifeq:{{{largehardpoints|0}}}|0|<span style="color:#808080">None</span>|{{{largehardpoints}}}}}}}
{{!}}-
{{!}}-
{{!}} style="width:50%" {{!}} '''[[Coilgun]]s'''<br>{{#ifeq:{{{coilguns|0}}}|0|<span style="color:#808080">None</span>|{{{coilguns}}}}}
{{!}} style="width:50%" {{!}} '''[[Coilgun]]s'''<br>{{#ifeq:{{{coilguns|0}}}|0|<span style="color:#808080">None</span>|{{{coilguns}}}}}
{{!}} style="width:50%" {{!}} '''[[Railgun]]s'''<br>{{#ifeq:{{{railguns|0}}}|0|<span style="color:#808080">None</span>|{{{railguns}}}}}
{{!}} style="width:50%" {{!}} '''[[Double Coilgun]]s'''<br>{{#ifeq:{{{doublecoilguns|0}}}|0|<span style="color:#808080">None</span>|{{{doublecoilguns}}}}}
{{!}}-  
{{!}}-
{{!}} style="width:50%" {{!}} '''[[Chaingun]]s'''<br>{{#ifeq:{{{chainguns|0}}}|0|<span style="color:#808080">None</span>|{{{chainguns}}}}}
{{!}} style="width:50%" {{!}} '''[[Chaingun]]s'''<br>{{#ifeq:{{{chainguns|0}}}|0|<span style="color:#808080">None</span>|{{{chainguns}}}}}
{{!}} style="width:50%" {{!}} '''[[Flak Cannon]]s'''<br>{{#ifeq:{{{flakcannons|0}}}|0|<span style="color:#808080">None</span>|{{{flakcannons}}}}}
{{!}}-
{{!}} style="width:50%" {{!}} '''[[Pulse Laser]]s'''<br>{{#ifeq:{{{pulselasers|0}}}|0|<span style="color:#808080">None</span>|{{{pulselasers}}}}}
{{!}} style="width:50%" {{!}} '''[[Pulse Laser]]s'''<br>{{#ifeq:{{{pulselasers|0}}}|0|<span style="color:#808080">None</span>|{{{pulselasers}}}}}
{{!}} style="width:50%" {{!}} '''[[Railgun]]s'''<br>{{#ifeq:{{{railguns|0}}}|0|<span style="color:#808080">None</span>|{{{railguns}}}}}
{{#switch:{{{type|}}}|Pirate|Wreck=|#default={{!}}-
{{#switch:{{{type|}}}|Pirate|Wreck=|#default={{!}}-
{{!}} style="width:50%; text-align:center" colspan="2" {{!}} '''[[Turret Hardpoint]]s'''<br>{{#ifeq:{{{hardpoints|0}}}|0|<span style="color:#808080">None</span>|{{{hardpoints}}}}}}}}}
{{!}} colspan="2" {{!}} '''[[Electrical Discharge Coil]]s:'''<div style="width:50%;float:right;text-align:left">{{#ifeq:{{{edcs|0}}}|0|<span style="color:#808080">None</span>|{{{edcs}}}}}</div>
{{!}}-
{{!}}-
{{!}} style="width:50%" {{!}} '''[[Electrical Discharge Coil]]s'''<br>{{#ifeq:{{{edcs|0}}}|0|<span style="color:#808080">None</span>|{{{edcs}}}}}
{{!}} colspan="2" {{!}} '''[[Depth Charge Tube]]s:'''<div style="width:50%;float:right;text-align:left">{{#ifeq:{{{depthchargetubes|0}}}|0|<span style="color:#808080">None</span>|{{{depthchargetubes}}}}}</div>}}}}
{{!}} style="width:50%" {{!}} '''[[Depth Charge Tube]]s'''<br>{{#ifeq:{{{depthchargetubes|0}}}|0|<span style="color:#808080">None</span>|{{{depthchargetubes}}}}}
{{#switch:{{{type|}}}|Wreck=|#default={{#switch:{{{class|}}}|Shuttle=|#default={{!}}-  
{{#switch:{{{type|}}}|Wreck=|#default={{#switch:{{{class|}}}|Shuttle=|#default={{!}}-  
! class="infobox3 responsive-table" colspan="2" {{!}} [[Nuclear Reactor|Reactor]]
! class="infobox3 responsive-table" colspan="2" {{!}} [[Nuclear Reactor|Reactor]]
{{#switch:{{{type|}}}|Pirate=|#default={{!}}-
{{#switch:{{{type|}}}|Pirate=|#default={{!}}-
{{!}} style="width:50%;"  {{!}} '''Fuel Consumption Rate'''<br>{{{fuelrate|<span style="color:#808080">N/A</span>}}} %/s
{{!}} style="width:50%;"  {{!}} '''Fuel Consumption Rate'''<br>{{{fuelrate|<span style="color:#808080">N/A</span>}}} %/s
{{!}} style="width:50%;"  {{!}} '''Max Power Output'''<br>{{{poweroutput|<span style="color:#808080">N/A</span>}}} kW}}
{{!}} style="width:50%;"  {{!}} '''Max Power Output'''<br>{{formatnum:{{{poweroutput|<span style="color:#808080">N/A</span>}}}}} kW}}
{{!}}-
{{!}}-
{{!}} style="width:50%;"  {{!}} '''Meltdown Delay'''<br>{{{meltdowndelay|<span style="color:#808080">N/A</span>}}} seconds
{{!}} style="width:50%;"  {{!}} '''Meltdown Delay'''<br>{{{meltdowndelay|<span style="color:#808080">N/A</span>}}} seconds
Line 97: Line 113:
| drone = {{{drone|}}}
| drone = {{{drone|}}}
| mainsub = {{{mainsub|}}}
| mainsub = {{{mainsub|}}}
| price = {{#ifeq:{{{class|}}}|Shuttle|1000|{{{price|}}}}}
| price = {{{price|1000}}}
| tier = {{{tier|1}}}
| crew = {{{crew|}}}
| crew = {{{crew|}}}
| experience = {{{experience|}}}
| experience = {{{experience|Beginner}}}
| dimensions = {{{dimensions|}}}
| dimensions = {{{dimensions|}}}
| volume = {{{volume|}}}
| volume = {{{volume|}}}
Line 109: Line 126:
| medfabricator = {{#ifeq:{{{medfabricator|}}}|yes|1|0}}
| medfabricator = {{#ifeq:{{{medfabricator|}}}|yes|1|0}}
| deconstructor = {{#ifeq:{{{deconstructor|}}}|yes|1|0}}
| deconstructor = {{#ifeq:{{{deconstructor|}}}|yes|1|0}}
| researchstation = {{#ifeq:{{{researchstation|}}}|yes|1|0}}
| cargo = {{{cargo|0}}}
| cargo = {{{cargo|0}}}


| hardpoints = {{{hardpoints|0}}}
| coilguns = {{{coilguns|0}}}
| coilguns = {{{coilguns|0}}}
| railguns = {{{railguns|0}}}
| chainguns = {{{chainguns|0}}}
| chainguns = {{{chainguns|0}}}
| pulselasers = {{{pulselasers|0}}}
| pulselasers = {{{pulselasers|0}}}
| largehardpoints = {{{largehardpoints|0}}}
| doublecoilguns = {{{doublecoilguns|0}}}
| flakcannons = {{{flakcannons|0}}}
| railguns = {{{railguns|0}}}
| edcs = {{{edcs|0}}}
| edcs = {{{edcs|0}}}
| depthchargetubes = {{{depthchargetubes|0}}}
| depthchargetubes = {{{depthchargetubes|0}}}
| hardpoints = {{{hardpoints|0}}}


| fuelrate = {{{fuelrate|}}}
| fuelrate = {{{fuelrate|}}}
Line 123: Line 144:
| meltdowndelay = {{{meltdowndelay|}}}
| meltdowndelay = {{{meltdowndelay|}}}
| firedelay = {{{firedelay|}}}
| firedelay = {{{firedelay|}}}
| overloadvoltage = {{{overloadvoltage|}}}
}}}}
}}}}
</onlyinclude></includeonly>
</onlyinclude></includeonly>

Latest revision as of 09:57, 11 February 2024

Documentation
| name = ...
| image = ...

General Information:
| class = The class of the submarine (Scout, Attack, Transport, Deep diver, Shuttle). Use "type" if the submarine is not one of these.
| type = The type of submarine (Pirate, Wreck, Beacon Station). Use "class" if the submarine is not one of these.
| drone = The name of the submarine's drone, if it has one.
| mainsub = The name of the drone's main submarine.
| price = ...
| tier = ...
| crew = Recommended crew sizes.
| experience = Recommended player experience.
| dimensions = Hull dimensions.
| volume = Hull volume.

Mobility:
| horizontalspeed = Maximum horizontal speed with no upgrades, Helm 50 and manual steering.
| descentspeed = Max descent speed.

Fabrication & Storage:
| fabricator = yes
| medfabricator= yes
| deconstructor = yes
| researchstation = yes
| cargo = Crate capacity.

Weaponry:
| hardpoints = ...
| coilguns = ...
| chainguns = ...
| pulselasers = ...
| largehardpoints = ...
| doublecoilguns = ...
| flakcannons = ...
| railguns = ...
| edcs = Electrical Discharge Coils.
| depthchargetubes = ...

Reactor:
| fuelrate = Reactor fuel consumption rate, as shown in the editor.
| poweroutput = Maximum power output, as shown in the editor.
| meltdowndelay = How long the temperature has to stay critical until a meltdown occurs, as shown in the editor.
| firedelay = How long the temperature has to stay critical until the reactor catches fire, as shown in the editor.

Junction Box:
| overloadvoltage = How much power has to be supplied to the grid relative to the load before the item starts taking damage, as shown in the editor.
Azimuth
General Information
Class
Scout
Price: 6,000 mk
Tier: 1
Crew Size
3 - 5
Experience
Beginner
Dimensions
34 x 8 m
Hull Volume
1,824,832 cm2
Mobility
Max Horizontal Speed
22 km/h
Max Descent Speed
12 km/h
Fabrication & Storage
Fabricator
No
Deconstructor
No
Medical Fabricator
No
Research Station
No
Cargo Capacity
8 Crates
Weaponry
Turret Hardpoints
1
Large Turret Hardpoints
None
Coilguns
2
Double Coilguns
None
Chainguns
None
Flak Cannons
None
Pulse Lasers
None
Railguns
None
Electrical Discharge Coils:
None
Depth Charge Tubes:
None
Reactor
Fuel Consumption Rate
0.2 %/s
Max Power Output
3,000 kW
Meltdown Delay
30 seconds
Fire Delay
10 seconds

This template defines the table "Submarines". View table.