Template:SkillRequirementTable: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
(engineering -> electrical)
mNo edit summary
Line 8: Line 8:
tables = Items
tables = Items
| fields = name, type, icon, weapons, electrical, mechanical, helm, medical, handicap
| fields = name, type, icon, weapons, electrical, mechanical, helm, medical, handicap
| where = {{#switch: {{{Tabletype|weapons}}}|weapons=weapons|electrical=electrical|mechanical=mechanical|helm=helm|medical=medical}} IS NOT NULL
| where = {{#switch: {{{tabletype|weapons}}}|weapons=weapons|electrical=electrical|mechanical=mechanical|helm=helm|medical=medical}} IS NOT NULL
| order by = {{#switch: {{{Tabletype|weapons}}}|weapons=weapons|engineering=engineering|mechanical=mechanical|helm=helm|medical=medical}}
| order by = {{#switch: {{{Tabletype|weapons}}}|weapons=weapons|engineering=engineering|mechanical=mechanical|helm=helm|medical=medical}}
| format = template
| format = template
Line 19: Line 19:
tables = Installations
tables = Installations
| fields = name, image, weapons, handicap, repairtype, repairskill
| fields = name, image, weapons, handicap, repairtype, repairskill
| where = {{#switch: {{{Tabletype|weapons}}}|weapons=weapons IS NOT NULL|engineering=repairtype = "Electrical"|mechanical=repairtype = "Mechanical"|helm=name = "Not Supported"|medical=name = "Not Supported"}} <!-- As far as i know there is no installations requiring helm or medical skill to operate and these fields are not in the installations cargo table, this is a stupid but easy way to filter unwanted items. -->
| where = {{#switch: {{{tabletype|weapons}}}|weapons=weapons IS NOT NULL|electrical=repairtype = "Electrical"|mechanical=repairtype = "Mechanical"|helm=name = "Not Supported"|medical=name = "Not Supported"}} <!-- As far as i know there is no installations requiring helm or medical skill to operate and these fields are not in the installations cargo table, this is a stupid but easy way to filter unwanted items. -->
| order by = repairskill
| order by = repairskill
| format = template
| format = template

Revision as of 14:01, 11 March 2023

Documentation

Table displaying Skill Requirements of Items and Installations for the Skills page.

Sub Templates

Instructions

Field Note Example Expected Default
tabletype Type of the table weapons helm / weapons / mechanical / electrical / medical Outerwear
width Width of the table 50% / 1000px % / px auto
collapsed Table starts collapsed if defined yes
hideitems Doesn't display items if defined yes
hideinstallations Doesn't display installations if defined yes

Template in use

Helm

{{SkillRequirementTable|tabletype=helm|collapsed=yes}}
Name Skill Requirement Handicap
Error: No field named "type" found for any of the specified database tables.
{{SkillRequirementTable|tabletype=helm|fabricator=yes|collapsed=yes}}
Name Skill Requirement Handicap
Error: No field named "type" found for any of the specified database tables.

Weapons

{{SkillRequirementTable|tabletype=weapons|collapsed=yes}}
Name Skill Requirement Handicap
Error: No field named "type" found for any of the specified database tables.

Chaingun
Weapons: 50
Spring Stiffness -48 (50 → 2)
Spring Damping -9.5 (10 → 0.5)
Rotation Speed -4 (5 → 1)

Coilgun
Weapons: 50
Spring Stiffness -48 (50 → 2)
Spring Damping -9.5 (10 → 0.5)
Rotation Speed -7 (8 → 1)

Flak Cannon
Weapons: 50
Spring Stiffness -48 (50 → 2)
Spring Damping -9.5 (10 → 0.5)
Rotation Speed -7 (8 → 1)

Double Coilgun
Weapons: 50
Spring Stiffness -48 (50 → 2)
Spring Damping -9.5 (10 → 0.5)
Rotation Speed -7 (8 → 1)

Pulse Laser
Weapons: 50
Spring Stiffness -48 (50 → 2)
Spring Damping -9.5 (10 → 0.5)
Rotation Speed -7 (8 → 1)

Railgun
Weapons: 50
Spring Stiffness -48 (50 → 2)
Spring Damping -9.5 (10 → 0.5)
Rotation Speed -7 (8 → 1)
File:Railgun (Legacy).png
Railgun (Legacy)
Weapons: 50
Spring Stiffness -48 (50 → 2)
Spring Damping -9.5 (10 → 0.5)
Rotation Speed -7 (8 → 1)
{{SkillRequirementTable|tabletype=weapons|fabricator=yes|collapsed=yes}}
Name Skill Requirement Handicap
Error: No field named "type" found for any of the specified database tables.

Chaingun
Weapons: 50
Spring Stiffness -48 (50 → 2)
Spring Damping -9.5 (10 → 0.5)
Rotation Speed -4 (5 → 1)

Coilgun
Weapons: 50
Spring Stiffness -48 (50 → 2)
Spring Damping -9.5 (10 → 0.5)
Rotation Speed -7 (8 → 1)

Flak Cannon
Weapons: 50
Spring Stiffness -48 (50 → 2)
Spring Damping -9.5 (10 → 0.5)
Rotation Speed -7 (8 → 1)

Double Coilgun
Weapons: 50
Spring Stiffness -48 (50 → 2)
Spring Damping -9.5 (10 → 0.5)
Rotation Speed -7 (8 → 1)

Pulse Laser
Weapons: 50
Spring Stiffness -48 (50 → 2)
Spring Damping -9.5 (10 → 0.5)
Rotation Speed -7 (8 → 1)

Railgun
Weapons: 50
Spring Stiffness -48 (50 → 2)
Spring Damping -9.5 (10 → 0.5)
Rotation Speed -7 (8 → 1)
File:Railgun (Legacy).png
Railgun (Legacy)
Weapons: 50
Spring Stiffness -48 (50 → 2)
Spring Damping -9.5 (10 → 0.5)
Rotation Speed -7 (8 → 1)

Mechanical

{{SkillRequirementTable|tabletype=mechanical|collapsed=yes}}
Name Skill Requirement Handicap
Error: No field named "type" found for any of the specified database tables.

Chaingun Loader
Slower Repairs
Minor Injuries if failed

Coilgun Loader
Slower Repairs
Minor Injuries if failed

Flak Cannon Loader
Slower Repairs
Minor Injuries if failed

Coilgun Loader
Slower Repairs
Minor Injuries if failed

Pulse Laser Loader
Slower Repairs
Minor Injuries if failed

Railgun Loader
Slower Repairs
Minor Injuries if failed

Railgun Loader (Legacy)
Slower Repairs
Minor Injuries if failed

Railgun Loader Single Horizontal
Slower Repairs
Minor Injuries if failed

Railgun Loader Single Vertical
Slower Repairs
Minor Injuries if failed
{{SkillRequirementTable|tabletype=mechanical|fabricator=yes|collapsed=yes}}
Name Skill Requirement Handicap
Error: No field named "type" found for any of the specified database tables.

Chaingun Loader
Slower Repairs
Minor Injuries if failed

Coilgun Loader
Slower Repairs
Minor Injuries if failed

Flak Cannon Loader
Slower Repairs
Minor Injuries if failed

Coilgun Loader
Slower Repairs
Minor Injuries if failed

Pulse Laser Loader
Slower Repairs
Minor Injuries if failed

Railgun Loader
Slower Repairs
Minor Injuries if failed

Railgun Loader (Legacy)
Slower Repairs
Minor Injuries if failed

Railgun Loader Single Horizontal
Slower Repairs
Minor Injuries if failed

Railgun Loader Single Vertical
Slower Repairs
Minor Injuries if failed

Electrical

{{SkillRequirementTable|tabletype=electrical|collapsed=yes}}
Name Skill Requirement Handicap
Error: No field named "type" found for any of the specified database tables.

Battery
Slower Repairs
Minor Injuries if failed

Supercapacitor
Slower Repairs
Minor Injuries if failed

Sonar Monitor
Slower Repairs
Minor Injuries if failed
{{SkillRequirementTable|tabletype=electrical|fabricator=yes|collapsed=yes}}
Name Skill Requirement Handicap
Error: No field named "type" found for any of the specified database tables.

Battery
Slower Repairs
Minor Injuries if failed

Supercapacitor
Slower Repairs
Minor Injuries if failed

Sonar Monitor
Slower Repairs
Minor Injuries if failed

Medical

{{SkillRequirementTable|tabletype=medical|collapsed=yes}}
Name Skill Requirement Handicap
Error: No field named "type" found for any of the specified database tables.
{{SkillRequirementTable|tabletype=medical|fabricator=yes|collapsed=yes}}
Name Skill Requirement Handicap
Error: No field named "type" found for any of the specified database tables.