Template:MedicalTable: Difference between revisions
From Official Barotrauma Wiki
m (removing colspan=2) |
(cleaned up, added skill requirement for poisons) |
||
Line 2: | Line 2: | ||
{| class="responsive-table mw-collapsible sortable" style="max-width:{{{width|100}}}%;min-width:7%;" | {| class="responsive-table mw-collapsible sortable" style="max-width:{{{width|100}}}%;min-width:7%;" | ||
|+'''<big>{{#switch:{{{tabletype}}}|basic=Basic Chemicals|medicine=Medicine|antidote=Antidotes|stimulant=Stimulants|poison=Poisons}}</big>''' | |+'''<big>{{#switch:{{{tabletype}}}|basic=Basic Chemicals|medicine=Medicine|antidote=Antidotes|stimulant=Stimulants|poison=Poisons}}</big>''' | ||
! rowspan="2" style="width: 2%;" {{!}} Chemical | ! rowspan="2" style="width: 2%;" {{!}} Chemical | ||
! rowspan="2" style="width: 25%;" class="unsortable" {{!}} Description | ! rowspan="2" style="width: 25%;" class="unsortable" {{!}} Description | ||
! colspan="3" style="border:1px dotted #E2D9A4;" {{!}} Usage | ! colspan="3" style="border:1px dotted #E2D9A4;" {{!}} Usage | ||
{{#ifeq:{{{tabletype|}}}|basic| | |||
{{ | ! colspan=2 rowspan=2 style="width:6%" {{!}} Source | ||
! | |||
| | | | ||
! colspan="3" style="border:1px dotted #E2D9A4;" {{!}} Crafting | ! colspan="3" style="border:1px dotted #E2D9A4;" {{!}} Crafting | ||
}} | |||
{{!}}- | {{!}}- | ||
! style="width: 12%;" class="unsortable" {{!}} Afflictions | ! style="width: 12%;" class="unsortable" {{!}} Afflictions | ||
! style="width: 2%;" {{!}} Duration (seconds) | ! style="width: 2%;" {{!}} Duration (seconds) | ||
! style="width: 2%;" {{!}} Skill | ! style="width: 2%;" {{!}} Skill | ||
{{#ifeq:{{{tabletype|}}}|basic|| | |||
! style="width: 7%;" class="unsortable" {{!}} Components | ! style="width: 7%;" class="unsortable" {{!}} Components | ||
! style="width: 2%;" {{!}} Craft time (seconds) | ! style="width: 2%;" {{!}} Craft time (seconds) | ||
! style="width: 2%;" {{!}} Skill | ! style="width: 2%;" {{!}} Skill | ||
}} | }} | ||
{{#cargo_query: | {{#cargo_query: |
Revision as of 21:01, 6 December 2023
Table displaying Medical Items for the Medical Items page.
Sub Templates
Template in use
Medicine
To show up here items must have:
medicaltype
defined asmedicine
.
{{MedicalTable|tabletype=medicine}}
Chemical | Description | Usage | Crafting | ||||
---|---|---|---|---|---|---|---|
Afflictions | Duration (seconds) | Skill | Components | Craft time (seconds) | Skill
Error: No field named "duration" found for the database table "Items".
|
Basic Chemicals
To show up here items must have:
medicaltype
defined asbasic
.
{{MedicalTable|tabletype=basic}}
Chemical | Description | Usage | Source | |||
---|---|---|---|---|---|---|
Afflictions | Duration (seconds) | Skill
Error: No field named "duration" found for the database table "Items".
|
Toxins
To show up here items must have:
medicaltype
defined aspoison
.
{{MedicalTable|tabletype=poison}}
Chemical | Description | Usage | Crafting | ||||
---|---|---|---|---|---|---|---|
Afflictions | Duration (seconds) | Skill | Components | Craft time (seconds) | Skill
Error: No field named "duration" found for the database table "Items".
|
Antidotes
To show up here items must have:
medicaltype
defined asantidote
.
{{MedicalTable|tabletype=antidote}}
Chemical | Description | Usage | Crafting | ||||
---|---|---|---|---|---|---|---|
Afflictions | Duration (seconds) | Skill | Components | Craft time (seconds) | Skill
Error: No field named "duration" found for the database table "Items".
|
Stimulants
To show up here items must have:
medicaltype
defined asstimulant
.
{{MedicalTable|tabletype=stimulant}}
Chemical | Description | Usage | Crafting | ||||
---|---|---|---|---|---|---|---|
Afflictions | Duration (seconds) | Skill | Components | Craft time (seconds) | Skill
Error: No field named "duration" found for the database table "Items".
|
The above documentation is transcluded from Template:MedicalTable/doc. (edit | history)