Template:Medical infobox: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
(attaching to main items table)
(removed redundant data storage, minor consistency fix)
Line 167: Line 167:
{{!}} style="width:40%;font-size:105%;" colspan="4" {{!}} <abbr title="Below this medical skill level, fabrication will take longer depending on level gap">Fabricator Skill</abbr>
{{!}} style="width:40%;font-size:105%;" colspan="4" {{!}} <abbr title="Below this medical skill level, fabrication will take longer depending on level gap">Fabricator Skill</abbr>
{{!}} style="width:60%;text-align:center;" colspan="6" {{!}} [[Skills#Medical|Medical]]<!--
{{!}} style="width:60%;text-align:center;" colspan="6" {{!}} [[Skills#Medical|Medical]]<!--
-->{{space}}{{{fabricatorskill}}}
-->{{space}}{{{fabricatorskilllevel}}}
|}}<!--
|}}<!--


Line 229: Line 229:
--------------------------------------------------------------------------- MAIN CARGO STORAGE
--------------------------------------------------------------------------- MAIN CARGO STORAGE
-->{{#cargo_store:_table=Items
-->{{#cargo_store:_table=Items
| identifier = {{{identifier|}}}
| name = {{{name|{{PAGENAME}}}}}
| name = {{{name|{{PAGENAME}}}}}
| icon = {{#if:{{{icon|}}}|{{{icon}}}|{{{name|{{PAGENAME}}}}}.png}}
| icon = {{#if:{{{icon|}}}|{{{icon}}}|{{{name|{{PAGENAME}}}}}.png}}
| sprite = {{#if:{{{sprite|}}}|{{{sprite}}}|{{{name|{{PAGENAME}}}}}_sprite.png}}
| sprite = {{#if:{{{sprite|}}}|{{{sprite}}}|{{{name|{{PAGENAME}}}}}_sprite.png}}
| type = {{{type|}}}
<!-- afflictions -->
| damage = {{{damage|}}}
| damagefail = {{{damagefail|}}}
| damagesyringe = {{{damagesyringe|}}}
| psychosis = {{{psychosis|}}}
| psychosisfail = {{{psychosisfail|}}}
| opiateaddiction = {{{opiateaddiction|}}}
| opiateaddictionfail = {{{opiateaddictionfail|}}}
| opiateoverdose = {{{opiateoverdose|}}}
| opiateoverdosefail = {{{opiateoverdosefail|}}}
| opiatewithdrawal = {{{opiatewithdrawal|}}}
| opiatewithdrawalfail = {{{opiatewithdrawalfail|}}}
| drunk = {{{drunk|}}}
| drunkfail = {{{drunkfail|}}}
| nausea = {{{nausea|}}}
| nauseafail = {{{nauseafail|}}}
| hallucinating = {{{hallucinating|}}}
| hallucinatingfail = {{{hallucinatingfail|}}}
| deliriuminepoisoning = {{{deliriuminepoisoning|}}}
| deliriuminepoisoningfail = {{{deliriuminepoisoningfail|}}}
| sufforinpoisoning = {{{sufforinpoisoning|}}}
| sufforinpoisoningfail = {{{sufforinpoisoningfail|}}}
| morbusinepoisoning = {{{morbusinepoisoning|}}}
| morbusinepoisoningfail = {{{morbusinepoisoningfail|}}}
| cyanidepoisoning = {{{cyanidepoisoning|}}}
| cyanidepoisoningfail = {{{cyanidepoisoningfail|}}}
| bloodloss = {{{bloodloss|}}}
| bloodlossfail = {{{bloodlossfail|}}}
| bloodlosssyringe = {{{bloodlosssyringe|}}}
| slowmetabolism = {{{slowmetabolism|}}}
| slowmetabolismfail = {{{slowmetabolismfail|}}}
| huskinfectionresistance = {{{huskinfectionresistance|}}}
| huskinfectionresistancefail = {{{huskinfectionresistancefail|}}}
| huskinfectionresistancesyringe = {{{huskinfectionresistancesyringe|}}}
| psychosisresistance = {{{psychosisresistance|}}}
| psychosisresistancefail = {{{psychosisresistancefail|}}}
| haste = {{{haste|}}}
| hastefail = {{{hastefail|}}}
| vigor = {{{vigor|}}}
| vigorfail = {{{vigorfail|}}}
| pressurestabilized = {{{pressurestabilized|}}}
| pressurestabilizedfail = {{{pressurestabilizedfail|}}}
| combatstimulant = {{{combatstimulant|}}}
| combatstimulantfail = {{{combatstimulantfail|}}}
| chemaddiction = {{{chemaddiction|}}}
| chemaddictionfail = {{{chemaddictionfail|}}}
| paralysisresistance = {{{paralysisresistance|}}}
| paralysisresistancefail = {{{paralysisresistancefail|}}}
| anaparalyzantfailduration = {{{anaparalyzantfailduration|}}}<!-- anaparalyzant is the only chem with a specific duration on failure -->
| incrementalstun = {{{incrementalstun|}}}
| incrementalstunfail = {{{incrementalstunfail|}}}<!-- doesn't exist -->
| incrementalstunsyringe = {{{incrementalstunsyringe|}}}
| organdamage = {{{organdamage|}}}
| organdamagefail = {{{organdamagefail|}}}
| organdamagesyringe = {{{organdamagesyringe|}}}
| burn = {{{burn|}}}
| burnfail = {{{burnfail|}}}
| burnsyringe = {{{burnsyringe|}}}
| bleeding = {{{bleeding|}}}
| bleedingfail = {{{bleedingfail|}}}
| stun = {{{stun|}}}
| stunfail = {{{stunfail|}}}
| oxygenlow = {{{oxygenlow|}}}
| oxygenlowfail = {{{oxygenlowfail|}}}
| oxygenlowsyringe = {{{oxygenlowsyringe|}}}
| huskinfection = {{{huskinfection|}}}
| huskinfectionfail = {{{huskinfectionfail|}}}
| huskinfectionsyringe = {{{huskinfectionsyringe|}}}
| radiationsickness = {{{radiationsickness|}}}
| radiationsicknessfail = {{{radiationsicknessfail|}}}
| radiationsicknesssyringe = {{{radiationsicknesssyringe|}}}
| paralysis = {{{paralysis|}}}
| paralysisfail = {{{paralysisfail|}}}
<!-- store -->
<!-- store -->
| baseprice = {{{baseprice|}}}
| outpostmultiplier = {{{outpostmultiplier|}}}
| outpostsold = {{#ifeq:{{{unbuyable|}}}|true|no|{{#if:{{{outpostunbuyable|}}}|{{#switch:{{{outpostunbuyable|}}}|true|all = no|#default = yes}}|{{{outpostsold|yes}}}}}}}
| outpostsold = {{#ifeq:{{{unbuyable|}}}|true|no|{{#if:{{{outpostunbuyable|}}}|{{#switch:{{{outpostunbuyable|}}}|true|all = no|#default = yes}}|{{{outpostsold|yes}}}}}}}
| outpostminavailable = {{{outpostminavailable|}}}
| citymultiplier = {{{citymultiplier|}}}
| citysold = {{#ifeq:{{{unbuyable|}}}|true|no|{{#if:{{{cityunbuyable|}}}|{{#switch:{{{cityunbuyable|}}}|true|all = no|#default = yes}}|{{{citysold|yes}}}}}}}
| citysold = {{#ifeq:{{{unbuyable|}}}|true|no|{{#if:{{{cityunbuyable|}}}|{{#switch:{{{cityunbuyable|}}}|true|all = no|#default = yes}}|{{{citysold|yes}}}}}}}
| cityminavailable = {{{cityminavailable|}}}
| researchmultiplier = {{{researchmultiplier|}}}
| researchsold = {{#ifeq:{{{unbuyable|}}}|true|no|{{#if:{{{researchunbuyable|}}}|{{#switch:{{{researchunbuyable|}}}|true|all = no|#default = yes}}|{{{researchsold|yes}}}}}}}
| researchsold = {{#ifeq:{{{unbuyable|}}}|true|no|{{#if:{{{researchunbuyable|}}}|{{#switch:{{{researchunbuyable|}}}|true|all = no|#default = yes}}|{{{researchsold|yes}}}}}}}
| researchminavailable = {{{researchminavailable|}}}
| militarymultiplier = {{{militarymultiplier|}}}
| militarysold = {{#ifeq:{{{unbuyable|}}}|true|no|{{#if:{{{militaryunbuyable|}}}|{{#switch:{{{militaryunbuyable|}}}|true|all = no|#default = yes}}|{{{militarysold|yes}}}}}}}
| militarysold = {{#ifeq:{{{unbuyable|}}}|true|no|{{#if:{{{militaryunbuyable|}}}|{{#switch:{{{militaryunbuyable|}}}|true|all = no|#default = yes}}|{{{militarysold|yes}}}}}}}
| militaryminavailable = {{{militaryminavailable|}}}
| minemultiplier = {{{minemultiplier|}}}
| minesold = {{#ifeq:{{{unbuyable|}}}|true|no|{{#if:{{{mineunbuyable|}}}|{{#switch:{{{mineunbuyable|}}}|true|all = no|#default = yes}}|{{{minesold|yes}}}}}}}
| minesold = {{#ifeq:{{{unbuyable|}}}|true|no|{{#if:{{{mineunbuyable|}}}|{{#switch:{{{mineunbuyable|}}}|true|all = no|#default = yes}}|{{{minesold|yes}}}}}}}
| mineminavailable = {{{mineminavailable|}}}
<!-- crafting -->
<!-- crafting -->
| fabricator = {{{fabricator|}}}
| fabricatorskill = medical
| deconstructor = {{{deconstructor|}}}
| medicalfabricator = {{{medicalfabricator|}}}
| talent = {{{talent|}}}
| fabricatormaterials = {{{fabricatormaterials|}}}
| deconstructormaterials = {{{deconstructormaterials|}}}
| fabricatortime = {{{fabricatortime|}}}
| deconstructortime = {{{deconstructortime|}}}
| fabricatorskill = {{{fabricatorskill|}}}
| fabricatorskilllevel = {{{fabricatorskilllevel|}}}
| fabricatorskill2 = {{{fabricatorskill2|}}}
| fabricatorskilllevel2 = {{{fabricatorskilllevel2|}}}
| fabricatedamount = {{{fabricatedamount|}}}
}}}}
}}}}
</includeonly>
</includeonly>

Revision as of 13:27, 23 November 2021

Template:Medical infobox/doc

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