Difference between revisions of "Template:Chembox Legal status"

From blackwiki
Jump to navigation Jump to search
imported>DePiep
imported>DePiep
(Update Template:Chembox suite templates per WT:Chembox changes c.s.)
Line 1: Line 1:
 
| [[Regulation of therapeutic goods|Legal status]]
 
| [[Regulation of therapeutic goods|Legal status]]
| {{#if:{{{value1|}}} |
+
|<!--
   {{#switch: {{{value1|}}}
+
-->{{#if:{{{legalAU|}}} |<!-- AU
     | s2 | S2 | Schedule 2 = [[Standard for the Uniform Scheduling of Drugs and Poisons#Schedule 2 Pharmacy Medicine|Pharmacy Only (S2)]]  
+
   --><small>{{abbr|AU|Australia}}:&nbsp;</small>{{#switch: {{lc:{{{legalAU|}}}}}
     | s3 | S3 | Schedule 3 = [[Standard for the Uniform Scheduling of Drugs and Poisons#Schedule 3 Pharmacist Only Medicine|Pharmacist Only (S3)]]  
+
     | s2 | schedule 2 = [[Standard for the Uniform Scheduling of Drugs and Poisons#Schedule 2 Pharmacy Medicine|Pharmacy Only (S2)]]
     | s4 | S4 | Schedule 4 = [[Standard for the Uniform Scheduling of Drugs and Poisons#Schedule 4 Prescription Only Medicine|Prescription Only (S4)]]  
+
     | s3 | schedule 3 = [[Standard for the Uniform Scheduling of Drugs and Poisons#Schedule 3 Pharmacist Only Medicine|Pharmacist Only (S3)]]
     | s5 | S5 | Schedule 5 = [[Standard for the Uniform Scheduling of Drugs and Poisons#Schedule 5 Caution|Caution (S5)]]
+
     | s4 | schedule 4 = [[Standard for the Uniform Scheduling of Drugs and Poisons#Schedule 4 Prescription Only Medicine|Prescription Only (S4)]]
     | s6 | S6 | Schedule 6 = [[Standard for the Uniform Scheduling of Drugs and Poisons#Schedule 6 Poison|Poison (S6)]]
+
     | s5 | schedule 5 = [[Standard for the Uniform Scheduling of Drugs and Poisons#Schedule 5 Caution|Caution (S5)]]
     | s7 | S7 | Schedule 7 = [[Standard for the Uniform Scheduling of Drugs and Poisons#Schedule 7 Dangerous Poison|Dangerous Poison (S7)]]
+
     | s6 | schedule 6 = [[Standard for the Uniform Scheduling of Drugs and Poisons#Schedule 6 Poison|Poison (S6)]]
     | s8 | S8 | Schedule 8 = [[Standard for the Uniform Scheduling of Drugs and Poisons#Schedule 8 Controlled Drug|Controlled (S8)]]
+
     | s7 | schedule 7 = [[Standard for the Uniform Scheduling of Drugs and Poisons#Schedule 7 Dangerous Poison|Dangerous Poison (S7)]]
     | s9 | S9 | Schedule 9 = [[Standard for the Uniform Scheduling of Drugs and Poisons#Schedule 9 Prohibited Substance|Prohibited (S9)]]
+
     | s8 | schedule 8 = [[Standard for the Uniform Scheduling of Drugs and Poisons#Schedule 8 Controlled Drug|Controlled (S8)]]
 +
     | s9 | schedule 9 = [[Standard for the Uniform Scheduling of Drugs and Poisons#Schedule 9 Prohibited Substance|Prohibited (S9)]]
 
     | u | U | unscheduled | Unscheduled = U<small>nscheduled</small> |
 
     | u | U | unscheduled | Unscheduled = U<small>nscheduled</small> |
 
     | ?
 
     | ?
  }}<small>([[Australia|AU]]) </small>}}
+
  }}&#x20;}}<!--
{{#if:{{{value2|}}} |
+
-->{{#if:{{{legalCA|}}} |<!-- CA
  {{#switch: {{{value2|}}}
+
  --><small>{{abbr|CA|Canada}}:&nbsp;</small>{{#switch: {{lc:{{{legalCA|}}}}}
     | Schedule I   = [[Controlled_Drugs_and_Substances_Act#Schedule_I|Schedule I]]
+
     | schedule i   = [[Controlled_Drugs_and_Substances_Act#Schedule_I|Schedule&nbsp;I]]
     | Schedule II = [[Controlled_Drugs_and_Substances_Act#Schedule_II|Schedule II]]
+
     | schedule ii = [[Controlled_Drugs_and_Substances_Act#Schedule_II|Schedule&nbsp;II]]
     | Schedule III = [[Controlled_Drugs_and_Substances_Act#Schedule_II|Schedule III]]
+
     | schedule iii = [[Controlled_Drugs_and_Substances_Act#Schedule_II|Schedule&nbsp;III]]
     | Schedule IV = [[Controlled_Drugs_and_Substances_Act#Schedule_IV|Schedule IV]]
+
     | schedule iv = [[Controlled_Drugs_and_Substances_Act#Schedule_IV|Schedule&nbsp;IV]]
     | Schedule V   = [[Controlled_Drugs_and_Substances_Act#Schedule_V|Schedule V]]
+
     | schedule v   = [[Controlled_Drugs_and_Substances_Act#Schedule_V|Schedule&nbsp;V]]
     | Schedule VI = [[Controlled_Drugs_and_Substances_Act#Schedule_VI_(Precursors)|Schedule VI]]
+
     | schedule vi = [[Controlled_Drugs_and_Substances_Act#Schedule_VI_(Precursors) |Schedule&nbsp;VI]]
     | Schedule VII = [[Controlled_Drugs_and_Substances_Act#Schedule_VII|Schedule VII]]
+
     | schedule vii = [[Controlled_Drugs_and_Substances_Act#Schedule_VII|Schedule&nbsp;VII]]
     | Schedule VIII= [[Controlled_Drugs_and_Substances_Act#Schedule_VIII|Schedule VIII]]
+
     | schedule viii= [[Controlled_Drugs_and_Substances_Act#Schedule_VIII|Schedule&nbsp;VIII]]
 
     | ?
 
     | ?
  }}<small>([[Canada|CA]]) </small> }}
+
  }}&#x20;}}<!--
{{#if:{{{value3|}}} |
+
-->{{#if:{{{legalUK|}}} |<!-- UK
   {{#switch: {{{value3|}}}
+
   --><small>{{abbr|UK|United Kingdom}}:&nbsp;</small>{{#switch: {{lc:{{{legalUK|}}}}}
     | gsl | GSL = GSL
+
     | gsl = GSL
     | p  | P =P
+
     | p  = P
     | pom | POM = POM
+
     | pom = POM
     | cd  | CD =CD
+
     | cd  = CD
     | Class A = [[Misuse_of_Drugs_Act_1971#Class_A_drugs|Class A]]
+
     | class a = [[Misuse_of_Drugs_Act_1971#Class_A_drugs|Class&nbsp;A]]
     | Class B = [[Misuse_of_Drugs_Act_1971#Class_B_drugs|Class B]]
+
     | class b = [[Misuse_of_Drugs_Act_1971#Class_B_drugs|Class&nbsp;B]]
     | Class C = [[Misuse_of_Drugs_Act_1971#Class_C_drugs|Class C]]
+
     | class c = [[Misuse_of_Drugs_Act_1971#Class_C_drugs|Class&nbsp;C]]
 
     | ?
 
     | ?
  }}<small>([[United Kingdom|UK]]) </small>}}
+
  }}&#x20;}}<!--
{{#if:{{{value4|}}} |
+
-->{{#if:{{{legalUS|}}} |<!-- US
   {{#switch: {{{value4|}}}
+
   --><small>{{abbr|US|United States}}:&nbsp;</small>{{#switch: {{lc:{{{legalUS|}}}}}
     | otc | OTC = OTC
+
     | otc = OTC
     | {{Unicode|℞}}-only | {{Unicode|℞}} | rx | Rx | rx-only | Rx-only = {{Unicode|℞}}<small>-only</small>
+
     | ℞ | ℞-only | {{Unicode|℞}} | {{Unicode|℞}}-only | rx | rx-only = {{Unicode|℞}}-only
     | Schedule I   = [[Controlled_Substances_Act#Schedule_I_drugs|Schedule I]]
+
     | schedule i   = [[Controlled_Substances_Act#Schedule_I_drugs|Schedule&nbsp;I]]
     | Schedule II = [[Controlled_Substances_Act#Schedule_II_drugs|Schedule II]]
+
     | schedule ii = [[Controlled_Substances_Act#Schedule_II_drugs|Schedule&nbsp;II]]
     | Schedule III = [[Controlled_Substances_Act#Schedule_III_drugs|Schedule III]]
+
     | schedule iii = [[Controlled_Substances_Act#Schedule_III_drugs|Schedule&nbsp;III]]
     | Schedule IV = [[Controlled_Substances_Act#Schedule_IV_drugs|Schedule IV]]
+
     | schedule iv = [[Controlled_Substances_Act#Schedule_IV_drugs|Schedule&nbsp;IV]]
     | Schedule V   = [[Controlled_Substances_Act#Schedule_V_drugs|Schedule V]]  
+
     | schedule v   = [[Controlled_Substances_Act#Schedule_V_drugs|Schedule&nbsp;V]]
 
     | ?
 
     | ?
  }}<small>([[United States|US]]) </small>
+
  }}&#x20;}}<!--
}}{{#if:{{{value|}}} |
+
-->{{#if:{{{legal_status|}}} |<!--
   {{#switch: {{{value|}}}
+
   -->{{#switch: {{lc:{{{legal_status|}}}}}
     | rx | RX | Rx | rx-only | Rx-only = {{Unicode|℞}} P<small>rescription only</small>
+
     | | ℞-only | rx | rx-only = Prescription only ({{Unicode|℞}})
     | {{{value1}}}
+
     | {{{legal_status|}}}
  }}
+
  }}
 
}}
 
}}
 
|-<noinclude>{{documentation}}</noinclude>
 
|-<noinclude>{{documentation}}</noinclude>

Revision as of 11:58, 6 February 2015

| Legal status |

|-

Formatted options per country or institute for the legal status of a drug. Available in {{Infobox drug}}, {{Chembox}} and {{Infobox botanical product}} by parameters |legal_XX= (XX = AU, BR, CA, DE, NZ, UK, US, EU, UN).

Paired parameters |legal_XX_comment= can be used, and those are added, unchanged, as a suffix.

All input is case-insensitive (both OTC and otc are OK).

Legal status

parameters

| legal_AU     = S2
| legal_AU_comment = any text
| legal_BR     = A1
| legal_BR_comment = any text
| legal_CA     = 
| legal_DE     = 
| legal_UK     = gsl
| legal_US     = Schedule II
| legal_US_comment = and OTC in Oregon
| legal_EU     =
| legal_UN     =
| legal_NZ     = 
| legal_status = Not marketed in Asia

By country or organisation

This options list:
Parameter naming pattern: |legal_XX=, |legal_XX_comment=.
XX can be: AU, BR, CA, DE, NZ, UK, US; UN and EU
For general input: |legal_status=
Articles with unrecognised |legal_XX= sorted under their country letter.
Articles with |..._comment= only sorted under *
Articles with |legal_status= having recognised input (like: Rx only) are sorted under " "(space, in top).

legal status (general)

  • |legal_status=

See also