Template:Row/Meds: Difference between revisions

From The Cataclysm: Dark Days Ahead Wiki
Jump to navigation Jump to search
m (typo fix.)
(removed old switch, moved it to a special function. (to reduce copying of code).)
Line 22: Line 22:
{{#ifexpr: {{{FUN|{{{10|}}}}}} > 0 |darkgreen|{{#ifexpr: {{{FUN|{{{10|}}}}}} < 0 |darkred|lightgray}}}}"> {{{FUN|{{{10|}}}}}} </td><!--
{{#ifexpr: {{{FUN|{{{10|}}}}}} > 0 |darkgreen|{{#ifexpr: {{{FUN|{{{10|}}}}}} < 0 |darkred|lightgray}}}}"> {{{FUN|{{{10|}}}}}} </td><!--


--><td style="border: 1px solid #aaa; padding: 0.2em 0.5em; text-align:left; font-size: 0.9em; line-height:100%"> {{#switch:{{{use_func|{{{11|}}}}}}
--><td style="border: 1px solid #aaa; padding: 0.2em 0.5em; text-align:left; font-size: 0.9em; line-height:100%"> {{Usefunctiontotext|{{{use_func|{{{11|}}}}}}}}</td>
  |none    =
  |inhaler = [[Asthma|inhaler]]
  |flumed  = [[Low immunity diseases|Flu Medication]]
  |FLUMED  = [[Low immunity diseases|Flu Medication]]
  |flusleep= [[Low immunity diseases|Flu Sleep Medication]]
  |FLUSLEEP= [[Low immunity diseases|Flu Sleep Medication]]
  |FLU_VACCINE= [[Low immunity diseases|Flu vaccine]]
  |pkill_1 = [[Minor Painkiller|pkill_1]]
  |pkill_2 = [[Moderate Painkiller|pkill_2]]
  |pkill_3 = [[Heavy Painkiller|pkill_3]]
  |pkill_4 = [[Heavy Painkiller|pkill_4]]
  |pkill_l = [[Slow-Release Painkiller|pkill_l]]
  |CONTACTS= Contacts
  |CHEW    = Chewing drug
  |DATURA  = [[Hallucinating|Psychoactive painkiller]]
  |EYEDROPS= Eyedrops
  |cig    = [[Nicotine|cig]]
  |CIG    = [[Nicotine|cig]]
  |ECIG    = [[Nicotine|Electronic cig]]
  |weed    = [[Intoxicant: Other|Weed]]
  |WEED    = [[Intoxicant: Other|Weed]]
  |coke    = [[Intoxicant: Other|Coke]]
  |COKE    = [[Intoxicant: Other|Coke]]
  |meth    = [[Methamphetamine (disease)|meth]]
  |METH    = [[Methamphetamine (disease)|meth]]
  |iodine  = [[Iodine Tablets (disease)|iodine]]
  |IODINE  = [[Iodine Tablets (disease)|iodine]]
  |xanax  = [[Xanax (disease)|xanax]]
  |XANAX  = [[Xanax (disease)|xanax]]
  |prozac  = [[Prozac (disease)|prozac]]
  |PROZAC  = [[Prozac (disease)|prozac]]
  |sewage  = [[Mutations|sewage]]
  |SEWAGE  = [[Mutations|sewage]]
  |alcohol  = [[Alcohol (disease) |alcohol]]
  |ALCOHOL  = [[Alcohol (disease) |alcohol]]
  |ALCOHOL_WEAK = [[Alcohol (disease) |Weak alcohol]]
  |ALCOHOL_STRONG = [[Alcohol (disease) |Strong alcohol]]
  |mutagen_3= [[Mutations|mutagen_3]]
  |MUTAGEN_3= [[Mutations|mutagen_3]]
  |MUT_IV  = [[Mutations|Intravenous Mutagen]]
  |purifier = [[Mutations|purifier]]
  |PURIFIER = [[Mutations|purifier]]
  |PURIFY_IV = [[Mutations|Intravenous Purifier]]
  |poison  = [[Poison|poison]] 
  |POISON  = [[Poison|poison]] 
  |hallu  = [[Hallucinating|hallu]]
  |FUN_HALLU  = [[Hallucinating|hallu]]
  |mutagen = [[Mutations|mutagen]]
  |MUTAGEN = [[Mutations|mutagen]]
  |MYCUS = [[Marloss]]
  |MARLOSS = [[Marloss]]
  |MARLOSS_GEL = [[Marloss]]
  |MARLOSS_SEED = [[Marloss]]
  |SEED    = [[Seeds]]
  |ROYAL_JELLY  = [[Royal jelly]]
  |CAFF    = [[Hidden_stats#Stim|Caff]]
  |ATOMIC_CAFF  = [[Hidden_stats#Stim|Atomic Caff]]
  |ANTIBIOTIC = [[Infection|Antibiotics]]
  |ANTIPARASITIC = [[Antiparasitic Drug|Antiparasitic]]
  |ANTICONVULSANT= [[Tetanus|Anticonvulsant]]
  |ANTIFUNGAL= [[Spores (disease)|Antifungal]]
  |ADRENALINE_INJECTOR = [[Adrenaline Spike|Adrenaline]]
  |SMOKING = [[Nicotine|Smoking]]
  |SLEEP = [[Sleep|Sleeping medication]]
  |THORAZINE = [[Intoxicant: Other|Thorazine]]
  |VACCINE = [[Low immunity diseases|Vaccine]]
  |WEED_BROWNIE= [[Intoxicant: Other|Weed]]
 
 
  |#default={{{use_func|{{{11|}}}}}}
}} </td>
</tr></includeonly><noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>
</tr></includeonly><noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>

Revision as of 00:03, 13 December 2017