Template:SkillRequirementTable: Difference between revisions
From Official Barotrauma Wiki
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
tables = Items | tables = Items | ||
| fields = name, type, icon, weapons, engineering, mechanical, helm, medical, handicap | | fields = name, type, icon, weapons, engineering, mechanical, helm, medical, handicap | ||
| where = {{#switch: {{{Tabletype}}}|weapons=weapons|engineering=engineering|mechanical=mechanical|helm=helm|medical=medical}} IS NOT NULL | | where = {{#switch: {{{Tabletype|weapons}}}|weapons=weapons|engineering=engineering|mechanical=mechanical|helm=helm|medical=medical}} IS NOT NULL | ||
| order by = {{#switch: {{{Tabletype}}}|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 | ||
| template = SkillRequirementTable/ | | template = SkillRequirementTable/row | ||
| named args = yes | | named args = yes | ||
| default = | |||
}}}} | }}}} | ||
{{#if:{{{hideInstallations|}}}|| | {{#if:{{{hideInstallations|}}}|| | ||
Line 18: | 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 IS NOT NULL|engineering=repairtype = "Electrical"|mechanical=repairtype = "Mechanical"|}} | | 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. --> | ||
| order by = repairskill | | order by = repairskill | ||
| format = template | | format = template | ||
| template = SkillRequirementTable/ | | template = SkillRequirementTable/row | ||
| named args = yes | | named args = yes | ||
| default = | |||
}}}} | }}}} | ||
|}</includeonly> | |}</includeonly> |
Revision as of 13: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.
|
---|---|---|
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=helm|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) |
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 |
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=mechanical|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) |
Electrical
{{SkillRequirementTable|tabletype=electrical|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=electrical|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) |
Medical
{{SkillRequirementTable|tabletype=medical|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=medical|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) |
The above documentation is transcluded from Template:SkillRequirementTable/doc. (edit | history)