Template:GearTable: Difference between revisions
From Official Barotrauma Wiki
mNo edit summary |
mNo edit summary |
||
Line 15: | Line 15: | ||
! Stat Modifiers | ! Stat Modifiers | ||
! Pressure Protection | ! Pressure Protection | ||
}}<!-- | }}<!-- | ||
-->{{#ifeq:{{{Tabletype|}}}|Innerwear| | -->{{#ifeq:{{{Tabletype|}}}|Innerwear| | ||
Line 22: | Line 21: | ||
! Damage Resistances | ! Damage Resistances | ||
! Skill Bonuses | ! Skill Bonuses | ||
}}<!-- | }}<!-- | ||
-->{{#ifeq:{{{Tabletype|}}}|Headgear| | -->{{#ifeq:{{{Tabletype|}}}|Headgear| | ||
Line 31: | Line 29: | ||
! Skill Bonuses | ! Skill Bonuses | ||
! Speed Modifiers | ! Speed Modifiers | ||
}}<!-- | }}<!-- | ||
-->{{#ifeq:{{{Tabletype|}}}|Headset| | -->{{#ifeq:{{{Tabletype|}}}|Headset| | ||
! <abbr title="Talent required to craft the Item">Required Talent</abbr> | ! <abbr title="Talent required to craft the Item">Required Talent</abbr> | ||
! <abbr title="Where is the Item sold and minimum Level Difficulty required>Store Availability</abbr> | ! <abbr title="Where is the Item sold and minimum Level Difficulty required>Store Availability</abbr> | ||
}}<!-- | }}<!-- | ||
-->{{#ifeq:{{{Tabletype|}}}|Splicer| | -->{{#ifeq:{{{Tabletype|}}}|Splicer| | ||
Line 42: | Line 38: | ||
! <abbr title="Where is the Item sold and minimum Level Difficulty required>Store Availability</abbr> | ! <abbr title="Where is the Item sold and minimum Level Difficulty required>Store Availability</abbr> | ||
! Gene Capacity | ! Gene Capacity | ||
}} | |||
!Notes | !Notes | ||
{{#cargo_query: | {{#cargo_query: |
Revision as of 08:00, 7 January 2023
Main article: Boilerplate:Gear
Table displaying Gear for the Gear page.
Instructions
Field | Note | Example | Expected | Default |
---|---|---|---|---|
Tabletype | Type of the table | Outerwear | Outerwear / Innerwear / Headgear / Toolbelt / Headset / Splicer | Outerwear |
width | Width of the table | 50% / 1000px | % / px | auto |
When you only specify the Tabletype, all items of that Gear Type are displayed.
- Tabletype is Outerwear by default.
You can make a custom table by writing out any Item names (Currently max 10) separated by pipes |
, only those items will be shown.
- Tabletype can be set to change how the table is displayed.
- Custom Items can be anything, they don't need to be Gear.
Sub Templates
- Template:GearTable/Outerwear
- Template:GearTable/Innerwear
- Template:GearTable/Headgear
- Template:GearTable/Toolbelt
- Template:GearTable/Headset
- Template:GearTable/Splicer
- Template:GearTable/Affliction
Template in use
Outerwear
To show up here items must have:
geartype
defined asouterwear
.
{{GearTable|tabletype=outerwear}}
Gear Name | Notes
Error: No field named "bluntforcetrauma" found for the database table "Items".
|
---|
Innerwear
To show up here items must have:
geartype
defined asinnerwear
.
{{GearTable|tabletype=innerwear}}
Gear Name | Notes
Error: No field named "bluntforcetrauma" found for the database table "Items".
|
---|
Headgear
To show up here items must have:
geartype
defined asheadgear
.
{{GearTable|tabletype=headgear}}
Gear Name | Notes
Error: No field named "bluntforcetrauma" found for the database table "Items".
|
---|
Toolbelt
To show up here items must have:
geartype
defined astoolbelt
.
{{GearTable|tabletype=toolbelt}}
Gear Name | Notes
Error: No field named "bluntforcetrauma" found for the database table "Items".
|
---|
Headset
To show up here items must have:
geartype
defined asheadset
.
{{GearTable|tabletype=headset}}
Gear Name | Notes
Error: No field named "bluntforcetrauma" found for the database table "Items".
|
---|
Splicer
To show up here items must have:
geartype
defined assplicer
.
{{GearTable|tabletype=splicer}}
Gear Name | Notes
Error: No field named "bluntforcetrauma" found for the database table "Items".
|
---|
Custom Table Examples
Captain's Clothes Table
{{GearTable|Veteran's Jacket|Renegade's Jacket|Admiral's Uniform|Veteran's Cap|Renegade's Hat|Admiral's Hat|Tabletype=Innerwear}}
Gear Name | Notes
Error: No field named "bluntforcetrauma" found for the database table "Items".
|
---|
Diving Suit Table
{{GearTable|Diving Suit|Combat Diving Suit|Slipsuit|PUCS|Abyss Diving Suit|Exosuit|Disposable Diving Suit|Tabletype=Outerwear}}
Gear Name | Notes
Error: No field named "bluntforcetrauma" found for the database table "Items".
|
---|
Stuff Table
{{GearTable|Poop|Clown Diving Mask|Europan Handshake|Body Armor|Tabletype=Headgear}}
Gear Name | Notes
Error: No field named "bluntforcetrauma" found for the database table "Items".
|
---|
The above documentation is transcluded from Template:GearTable/doc. (edit | history)