Template:SkillRequirementTable: Difference between revisions
From Official Barotrauma Wiki
(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: {{{ | | 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: {{{ | | 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
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 |
Mechanical: 55
|
Slower Repairs Minor Injuries if failed |
Coilgun Loader |
Mechanical: 55
|
Slower Repairs Minor Injuries if failed |
Flak Cannon Loader |
Mechanical: 55
|
Slower Repairs Minor Injuries if failed |
Coilgun Loader |
Mechanical: 55
|
Slower Repairs Minor Injuries if failed |
Pulse Laser Loader |
Mechanical: 55
|
Slower Repairs Minor Injuries if failed |
Railgun Loader |
Mechanical: 55
|
Slower Repairs Minor Injuries if failed |
Railgun Loader (Legacy) |
Mechanical: 55
|
Slower Repairs Minor Injuries if failed |
Railgun Loader Single Horizontal |
Mechanical: 55
|
Slower Repairs Minor Injuries if failed |
Railgun Loader Single Vertical |
Mechanical: 55
|
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 |
Mechanical: 55
|
Slower Repairs Minor Injuries if failed |
Coilgun Loader |
Mechanical: 55
|
Slower Repairs Minor Injuries if failed |
Flak Cannon Loader |
Mechanical: 55
|
Slower Repairs Minor Injuries if failed |
Coilgun Loader |
Mechanical: 55
|
Slower Repairs Minor Injuries if failed |
Pulse Laser Loader |
Mechanical: 55
|
Slower Repairs Minor Injuries if failed |
Railgun Loader |
Mechanical: 55
|
Slower Repairs Minor Injuries if failed |
Railgun Loader (Legacy) |
Mechanical: 55
|
Slower Repairs Minor Injuries if failed |
Railgun Loader Single Horizontal |
Mechanical: 55
|
Slower Repairs Minor Injuries if failed |
Railgun Loader Single Vertical |
Mechanical: 55
|
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 |
Electrical: 55
|
Slower Repairs Minor Injuries if failed |
Supercapacitor |
Electrical: 55
|
Slower Repairs Minor Injuries if failed |
Sonar Monitor |
Electrical: 55
|
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 |
Electrical: 55
|
Slower Repairs Minor Injuries if failed |
Supercapacitor |
Electrical: 55
|
Slower Repairs Minor Injuries if failed |
Sonar Monitor |
Electrical: 55
|
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.
|
---|
The above documentation is transcluded from Template:SkillRequirementTable/doc. (edit | history)