Template:Medical infobox: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
(adding triggers and note for template:ExplosivesTable)
(copypasted a bunch of stuff from Template:Items infobox)
Line 389: Line 389:
-->{{#cargo_store:_table=Items
-->{{#cargo_store:_table=Items
| identifier = {{{identifier|}}}
| identifier = {{{identifier|}}}
| name = {{{name|{{PAGENAME}}}}}
| nameidentifier = {{{nameidentifier|}}}
| icon = {{#if:{{{icon|}}}|{{{icon}}}|{{{name|{{PAGENAME}}}}}.png}}
| cargocontaineridentifier = {{{cargocontaineridentifier|}}}
| name = {{#titleparts:{{{name|{{PAGENAME}}}}}}}
| icon = {{#if:{{{icon|}}}|{{{icon}}}|{{#if:{{{image|}}}|{{{image}}}|{{#titleparts:{{{name|{{PAGENAME}}}}}}}.png|}}}}
| sprite = {{{sprite|}}}
| sprite = {{{sprite|}}}
| type = {{{type|}}}
| type = {{{type|}}}
| sort = {{{sort|}}}
| sort = {{{sort|}}}
| category = {{{category|Misc}}}
| categories = {{{category|Misc}}}{{#if:{{{category2|}}}|,{{{category2}}}}}
| category2 = {{{category2|}}}
| subcategory = {{{subcategory|}}}
| tags = {{{tags|}}}
| tags = {{{tags|}}}
| description = {{{description|}}}
| description = {{{description|}}}
Line 407: Line 407:
| drunkdelay = {{{drunkdelay|}}}
| drunkdelay = {{{drunkdelay|}}}
| nauseadelay = {{{nauseadelay|}}}
| nauseadelay = {{{nauseadelay|}}}
| organicmaterial = {{{organicmaterial|}}}<!-- this is handled differently than type because it's only meant for covering cases of medical items also being organic materials. storing in cargo to be able to call all organic materials, using both 'type' and 'organicmaterial' "where"s -->
<!-- Cargo stuff -->
| geartype = {{{geartype|}}}
| weapontype = {{{weapontype|}}}
| ammotype = {{{ammotype|}}}
| ammotype2 = {{{ammotype2|}}}
| materialtype = {{{materialtype|}}}
| medicaltype = {{{medicaltype|}}}
<!-- afflictions -->
<!-- afflictions -->
| damage = {{{damage|}}}
| damage = {{{damage|}}}

Revision as of 22:44, 21 March 2023

Template:Medical infobox/doc

This template adds rows to the table "Items", which is declared by the template Items infobox. View table.