Template:GearTable

From Official Barotrauma Wiki
Revision as of 04:06, 6 January 2023 by G3jzer (talk | contribs) (Created page with "<noinclude>{{doc}}Category:TemplatesCategory:Cargo Querying Templates</noinclude> <includeonly>{| class="responsive-table" style="width:{{{width|50}}}%" !Gear Name !<a...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Documentation
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 in use

Outerwear

To show up here items must have:

  • geartype defined as outerwear.
{{GearTable|tabletype=outerwear}}
Gear Name Required Talent Store Availability
Error: No field named "Items.pressureprotection Items.bluntforcetrauma" found for any of the specified database tables.




Innerwear

To show up here items must have:

  • geartype defined as innerwear.
{{GearTable|tabletype=innerwear}}
Gear Name Required Talent Store Availability
Error: No field named "Items.pressureprotection Items.bluntforcetrauma" found for any of the specified database tables.




Headgear

To show up here items must have:

  • geartype defined as headgear.
{{GearTable|tabletype=headgear}}
Gear Name Required Talent Store Availability
Error: No field named "Items.pressureprotection Items.bluntforcetrauma" found for any of the specified database tables.




Toolbelt

To show up here items must have:

  • geartype defined as toolbelt.
{{GearTable|tabletype=toolbelt}}
Gear Name Required Talent Store Availability
Error: No field named "Items.pressureprotection Items.bluntforcetrauma" found for any of the specified database tables.




Headset

To show up here items must have:

  • geartype defined as headset.
{{GearTable|tabletype=headset}}
Gear Name Required Talent Store Availability
Error: No field named "Items.pressureprotection Items.bluntforcetrauma" found for any of the specified database tables.




Splicer

To show up here items must have:

  • geartype defined as splicer.
{{GearTable|tabletype=splicer}}
Gear Name Required Talent Store Availability
Error: No field named "Items.pressureprotection Items.bluntforcetrauma" found for any of the specified database tables.




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 Required Talent Store Availability
Error: No field named "Items.pressureprotection Items.bluntforcetrauma" found for any of the specified database tables.


Diving Suit Table

{{GearTable|Diving Suit|Combat Diving Suit|Slipsuit|PUCS|Abyss Diving Suit|Exosuit|Disposable Diving Suit|Tabletype=Outerwear}}
Gear Name Required Talent Store Availability
Error: No field named "Items.pressureprotection Items.bluntforcetrauma" found for any of the specified database tables.


Stuff Table

{{GearTable|Poop|Clown Diving Mask|Europan Handshake|Body Armor|Tabletype=Headgear}}
Gear Name Required Talent Store Availability
Error: No field named "Items.pressureprotection Items.bluntforcetrauma" found for any of the specified database tables.