Template:Submarines Infobox: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
mNo edit summary
mNo edit summary
Line 3: Line 3:
| name = String
| name = String
| image = File
| image = File
| class = String (allowed values=Scout,Attack,Transport,Deep diver,Shuttle)
| class = String (allowed values=Undefined,Scout,Attack,Transport,Deep diver,Shuttle)
| type = String (allowed values=Wreck,Beacon Station,Pirate)
| drone = Link
| mainsub = Link
| price = Integer
| crew = String
| experience = String (allowed values=Beginner,Intermediate,Experienced)
| cargo = Integer
| dimensions = String
| volume = Integer
 
| horizonalspeed = Float
| descentspeed = Float
 
| coilguns = Integer
| railguns = Integer
| chainguns = Integer
| pulselasers = Integer
| edcs = Integer
| depthchargetubes = Integer
| hardpoints = Integer
 
| fuelrate = Float
| poweroutput = Integer
| meltdowndelay = Integer
| firedelay = Integer
}}
}}
<includeonly><onlyinclude>{| class="infobox responsive-table" align=right
<includeonly><onlyinclude>{| class="infobox responsive-table" align=right
Line 13: Line 38:
|-
|-
| style="width:50%" {{#switch:{{{type|}}}|Pirate|Wreck|Beacon Station=rowspan{{=}}"2"}} | {{#if:{{{type|}}}|'''Type:'''|'''Class:'''}}{{#if:{{{drone|{{{mainsub|{{#switch:{{{type|}}}|Pirate|Wreck|Beacon Station=Yes}}}}}}}}|&nbsp;|<br>}}{{{type|{{{class|<span style="color:#808080">Undefined</span>}}}}}}
| style="width:50%" {{#switch:{{{type|}}}|Pirate|Wreck|Beacon Station=rowspan{{=}}"2"}} | {{#if:{{{type|}}}|'''Type:'''|'''Class:'''}}{{#if:{{{drone|{{{mainsub|{{#switch:{{{type|}}}|Pirate|Wreck|Beacon Station=Yes}}}}}}}}|&nbsp;|<br>}}{{{type|{{{class|<span style="color:#808080">Undefined</span>}}}}}}
{{#switch:{{{type|}}}|Pirate|Wreck|Beacon Station=|#default={{!}} style="width:50%" {{#if:{{{drone|{{{mainsub|}}}}}}|rowspan="2"}} {{!}} '''Price:'''<br>{{{price|<span style="color:#808080">N/A</span>}}} mk
{{#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
{{#if:{{{drone|}}}|{{!}}-
{{#if:{{{drone|}}}|{{!}}-
{{!}}'''Drone:''' [[{{{drone}}}]]}}<!--
{{!}}'''Drone:''' {{{drone}}}}}<!--
-->{{#if:{{{mainsub|}}}|{{!}}-
-->{{#if:{{{mainsub|}}}|{{!}}-
{{!}}'''Main Submarine:''' [[{{{mainsub}}}]]}}
{{!}}'''Main Submarine:''' {{{mainsub}}}}}
{{!}}-
{{!}}-
{{!}} 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>}}}
Line 52: Line 77:
{{!}} 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
{{!}} style="width:50%;"  {{!}} '''Fire Delay:'''<br>{{{firedelay|<span style="color:#808080">N/A</span>}}} seconds}}}}
{{!}} style="width:50%;"  {{!}} '''Fire Delay:'''<br>{{{firedelay|<span style="color:#808080">N/A</span>}}} seconds}}}}
|}<!--
|}{{TEX|2={{#if:{{{nocat|}}}||[[Category:Submarines]]}}
-->{{#if:{{{nocat|}}}||[[Category:Submarines]]}}</onlyinclude></includeonly>
{{#cargo_store:_table=Submarines
| name = {{{name|{{PAGENAME}}}}}
| image = {{{image|{{PAGENAME}}.png}}}
| class = {{{class|Undefined}}}
| type = {{{type|}}}
| drone = {{{drone|}}}
| mainsub = {{{mainsub|}}}
| price = {{#ifeq:{{{class|}}}|Shuttle|1000|{{{price|}}}}}
| crew = {{{crew|}}}
| experience = {{{experience|}}}
| cargo = {{{cargo|0}}}
| dimensions = {{{dimensions|}}}
| volume = {{{volume|}}}
 
| horizontalspeed = {{{horizonalspeed|}}}
| descentspeed = {{{descentspeed|}}}
 
| coilguns = {{{coilguns|0}}}
| railguns = {{{railguns|0}}}
| chainguns = {{{chainguns|0}}}
| pulselasers = {{{pulselasers|0}}}
| edcs = {{{edcs|0}}}
| depthchargetubes = {{{depthchargetubes|0}}}
| hardpoints = {{{hardpoints|0}}}
 
| fuelrate = {{{fuelrate|}}}
| poweroutput = {{{poweroutput|}}}
| meltdowndelay = {{{meltdowndelay|}}}
| firedelay = {{{firedelay|}}}
}}}}
</onlyinclude></includeonly>

Revision as of 20:18, 2 July 2022

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
Crew Size:
3 - 5
Experience:
Beginner
Cargo Capacity:
8 Crates
Dimensions: 34 x 8 m
Hull Volume: 1,824,832 cm2
Mobility
Max Horizontal Speed:
22 km/h
Max Descent Speed:
12 km/h
Weaponry
Coilguns:
2
Railguns:
None
Chainguns:
None
Pulse Lasers:
None
Electrical Discharge Coils:
None
Depth Charge Tubes:
None
Turret Hardpoints:
1
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.