Template:SkillRequirementTable: Difference between revisions
From Official Barotrauma Wiki
(Created page with "<noinclude>{{doc}}Category:TemplatesCategory:Cargo Querying Templates</noinclude> <includeonly>{| class="responsive-table" style="width:{{{width|50}}}%" !Name !Skill R...") |
No edit summary |
||
Line 1: | Line 1: | ||
<noinclude>{{doc}}[[Category:Templates]][[Category:Cargo Querying Templates]]</noinclude> | <noinclude>{{doc}}[[Category:Templates]][[Category:Cargo Querying Templates]]</noinclude> | ||
<includeonly>{| class="responsive-table" style="width:{{{width| | <includeonly>{| class="responsive-table" style="width:{{{width|auto}}}%" | ||
!Name | !Name | ||
!Skill Requirement | !Skill Requirement | ||
Line 13: | Line 13: | ||
| named args = yes | | named args = yes | ||
}} | }} | ||
{{#cargo_query: | {{#cargo_query: | ||
tables = Installations | tables = Installations | ||
Line 22: | Line 21: | ||
| template = SkillRequirementTable/weapons | | template = SkillRequirementTable/weapons | ||
| named args = yes | | named args = yes | ||
}} | }} | ||
|}</includeonly> | |}</includeonly> |
Revision as of 12:39, 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}}
{{SkillRequirementTable|tabletype=helm|fabricator=yes|collapsed=yes}}
Weapons
{{SkillRequirementTable|tabletype=weapons|collapsed=yes}}
{{SkillRequirementTable|tabletype=weapons|fabricator=yes|collapsed=yes}}
Mechanical
{{SkillRequirementTable|tabletype=mechanical|collapsed=yes}}
{{SkillRequirementTable|tabletype=mechanical|fabricator=yes|collapsed=yes}}
Electrical
{{SkillRequirementTable|tabletype=electrical|collapsed=yes}}
{{SkillRequirementTable|tabletype=electrical|fabricator=yes|collapsed=yes}}
Medical
{{SkillRequirementTable|tabletype=medical|collapsed=yes}}
{{SkillRequirementTable|tabletype=medical|fabricator=yes|collapsed=yes}}
The above documentation is transcluded from Template:SkillRequirementTable/doc. (edit | history)