Difference between revisions of "Template:Chembox Legal status/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>DePiep
imported>DePiep
(Replaced content with '| Legal status | {{Infobox drug/legal status |legal_AU={{{legal_AU|}}} |legal_CA={{{legal_CA|}}} |legal_UK={{{legal_UK...')
Line 1: Line 1:
 
| [[Regulation of therapeutic goods|Legal status]]
 
| [[Regulation of therapeutic goods|Legal status]]
|<!--
+
| {{Infobox drug/legal status
-->{{#if:{{{legalAU|}}} |<!-- AU
+
|legal_AU={{{legal_AU|}}}
  --><small>{{abbr|AU|Australia}}:&nbsp;</small>{{#switch: {{lc:{{{legalAU|}}}}}
+
|legal_CA={{{legal_CA|}}}
    | s2 | schedule 2 = [[Standard for the Uniform Scheduling of Drugs and Poisons#Schedule 2 Pharmacy Medicine|Pharmacy Only (S2)]]
+
  |legal_UK={{{legal_UK|}}}
    | s3 | schedule 3 = [[Standard for the Uniform Scheduling of Drugs and Poisons#Schedule 3 Pharmacist Only Medicine|Pharmacist Only (S3)]]
+
|legal_US={{{legal_US|}}}
    | s4 | schedule 4 = [[Standard for the Uniform Scheduling of Drugs and Poisons#Schedule 4 Prescription Only Medicine|Prescription Only (S4)]]
+
  |legal_UN={{{legal_UN|}}}
    | s5 | schedule 5 = [[Standard for the Uniform Scheduling of Drugs and Poisons#Schedule 5 Caution|Caution (S5)]]
+
|legal_EU={{{legal_EU|}}}
    | s6 | schedule 6 = [[Standard for the Uniform Scheduling of Drugs and Poisons#Schedule 6 Poison|Poison (S6)]]
+
  |legal_status={{{legal_status|}}} }}
    | s7 | schedule 7 = [[Standard for the Uniform Scheduling of Drugs and Poisons#Schedule 7 Dangerous Poison|Dangerous Poison (S7)]]
 
    | 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> |
 
    | ?
 
  }}&#x20;}}<!--
 
-->{{#if:{{{legalCA|}}} |<!-- CA
 
  --><small>{{abbr|CA|Canada}}:&nbsp;</small>{{#switch: {{lc:{{{legalCA|}}}}}
 
    | schedule i  = [[Controlled_Drugs_and_Substances_Act#Schedule_I|Schedule&nbsp;I]]
 
    | schedule ii = [[Controlled_Drugs_and_Substances_Act#Schedule_II|Schedule&nbsp;II]]
 
    | schedule iii = [[Controlled_Drugs_and_Substances_Act#Schedule_II|Schedule&nbsp;III]]
 
    | schedule iv  = [[Controlled_Drugs_and_Substances_Act#Schedule_IV|Schedule&nbsp;IV]]
 
    | schedule v  = [[Controlled_Drugs_and_Substances_Act#Schedule_V|Schedule&nbsp;V]]
 
    | schedule vi  = [[Controlled_Drugs_and_Substances_Act#Schedule_VI_(Precursors) |Schedule&nbsp;VI]]
 
    | schedule vii = [[Controlled_Drugs_and_Substances_Act#Schedule_VII|Schedule&nbsp;VII]]
 
    | schedule viii= [[Controlled_Drugs_and_Substances_Act#Schedule_VIII|Schedule&nbsp;VIII]]
 
    | ?
 
  }}&#x20;}}<!--
 
-->{{#if:{{{legalUK|}}} |<!-- UK
 
  --><small>{{abbr|UK|United Kingdom}}:&nbsp;</small>{{#switch: {{lc:{{{legalUK|}}}}}
 
    | gsl = GSL
 
    | p  = P
 
    | pom = POM
 
    | cd = CD
 
    | class a = [[Misuse_of_Drugs_Act_1971#Class_A_drugs|Class&nbsp;A]]
 
    | class b = [[Misuse_of_Drugs_Act_1971#Class_B_drugs|Class&nbsp;B]]
 
    | class c = [[Misuse_of_Drugs_Act_1971#Class_C_drugs|Class&nbsp;C]]
 
    | ?
 
  }}&#x20;}}<!--
 
-->{{#if:{{{legalUS|}}} |<!-- US
 
  --><small>{{abbr|US|United States}}:&nbsp;</small>{{#switch: {{lc:{{{legalUS|}}}}}
 
    | otc = OTC
 
    | ℞ | ℞-only | {{Unicode|℞}} | {{Unicode|}}-only | rx | rx-only = {{Unicode|℞}}-only
 
    | schedule i  = [[Controlled_Substances_Act#Schedule_I_drugs|Schedule&nbsp;I]]
 
    | schedule ii = [[Controlled_Substances_Act#Schedule_II_drugs|Schedule&nbsp;II]]
 
    | schedule iii = [[Controlled_Substances_Act#Schedule_III_drugs|Schedule&nbsp;III]]
 
    | schedule iv  = [[Controlled_Substances_Act#Schedule_IV_drugs|Schedule&nbsp;IV]]
 
    | schedule v  = [[Controlled_Substances_Act#Schedule_V_drugs|Schedule&nbsp;V]]
 
    | ?
 
  }}&#x20;}}<!--
 
-->{{#if:{{{legal_status|}}} |<!--
 
  -->{{#switch: {{lc:{{{legal_status|}}}}}
 
    | ℞ | ℞-only | rx | rx-only = Prescription only ({{Unicode|℞}})
 
    | {{{legal_status|}}}
 
  }}
 
}}
 
 
|-<noinclude>{{documentation}}</noinclude>
 
|-<noinclude>{{documentation}}</noinclude>

Revision as of 03:32, 18 March 2015

| Legal status |

|-

Template documentation[view] [edit] [history] [purge]

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