Difference between revisions of "Template:Chembox Legal status"

From blackwiki
Jump to navigation Jump to search
imported>Physchim62
(capitalization)
imported>DePiep
 
(9 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<includeonly>| Legal status
+
| [[Regulation of therapeutic goods|Legal status]]
| {{#if:{{{value1|}}} |
+
| {{Chembox Legal status/format<!-- redirects to Template:Infobox drug/legal status -->
  {{#switch: {{{value1|}}}
+
|legal_AU={{{legal_AU|}}}
    | s2 | S2 | Schedule 2 = [[Standard for the Uniform Scheduling of Drugs and Poisons#Schedule 2 Pharmacy Medicine|Pharmacy Only (S2)]]
+
|legal_CA={{{legal_CA|}}}
    | s3 | S3 | Schedule 3 = [[Standard for the Uniform Scheduling of Drugs and Poisons#Schedule 3 Pharmacist Only Medicine|Pharmacist Only (S3)]]
+
|legal_DE={{{legal_DE|}}}
    | s4 | S4 | Schedule 4 = [[Standard for the Uniform Scheduling of Drugs and Poisons#Schedule 4 Prescription Only Medicine|Prescription Only (S4)]]
+
|legal_NZ={{{legal_NZ|}}}
    | s5 | S5 | Schedule 5 = [[Standard for the Uniform Scheduling of Drugs and Poisons#Schedule 5 Caution|Caution (S5)]]
+
|legal_UK={{{legal_UK|}}}
    | s6 | S6 | Schedule 6 = [[Standard for the Uniform Scheduling of Drugs and Poisons#Schedule 6 Poison|Poison (S6)]]
+
  |legal_US={{{legal_US|}}}
    | s7 | S7 | Schedule 7 = [[Standard for the Uniform Scheduling of Drugs and Poisons#Schedule 7 Dangerous Poison|Dangerous Poison (S7)]]
+
  |legal_EU={{{legal_EU|}}}
    | s8 | S8 | Schedule 8 = [[Standard for the Uniform Scheduling of Drugs and Poisons#Schedule 8 Controlled Drug|Controlled (S8)]]
+
  |legal_UN={{{legal_UN|}}}
    | s9 | S9 | Schedule 9 = [[Standard for the Uniform Scheduling of Drugs and Poisons#Schedule 9 Prohibited Substance|Prohibited (S9)]]
+
|legal_AU_comment={{{legal_AU_comment|}}}
    | u | U | unscheduled | Unscheduled = U<small>nscheduled</small> |
+
  |legal_CA_comment={{{legal_CA_comment|}}}
    | ?
+
|legal_DE_comment={{{legal_DE_comment|}}}
  }}<small>([[Australia|AU]]) </small>}}
+
|legal_NZ_comment={{{legal_NZ_comment|}}}
{{#if:{{{value2|}}} |
+
|legal_UK_comment={{{legal_UK_comment|}}}
  {{#switch: {{{value2|}}}
+
  |legal_US_comment={{{legal_US_comment|}}}
    | Schedule I  = [[Controlled_Drugs_and_Substances_Act#Schedule_I|Schedule I]]
+
|legal_EU_comment={{{legal_EU_comment|}}}
    | Schedule II = [[Controlled_Drugs_and_Substances_Act#Schedule_II|Schedule II]]
+
|legal_UN_comment={{{legal_UN_comment|}}}
    | Schedule III = [[Controlled_Drugs_and_Substances_Act#Schedule_II|Schedule III]]
+
|legal_status={{{legal_status|}}} }}
    | Schedule IV = [[Controlled_Drugs_and_Substances_Act#Schedule_IV|Schedule IV]]
+
|-<!--
    | Schedule V  = [[Controlled_Drugs_and_Substances_Act#Schedule_V|Schedule V]]
 
    | Schedule VI = [[Controlled_Drugs_and_Substances_Act#Schedule_VI_(Precursors)|Schedule VI]]
 
    | Schedule VII = [[Controlled_Drugs_and_Substances_Act#Schedule_VII|Schedule VII]]
 
    | Schedule VIII= [[Controlled_Drugs_and_Substances_Act#Schedule_VIII|Schedule VIII]]
 
    | ?
 
  }}<small>([[Canada|CA]]) </small> }}
 
{{#if:{{{value3|}}} |
 
  {{#switch: {{{value3|}}}
 
    | gsl | GSL = GSL
 
    | p  | P =P
 
    | pom | POM = POM
 
    | cd | CD =CD
 
    | Class A = [[Misuse_of_Drugs_Act_1971#Class_A_drugs|Class A]]
 
    | Class B = [[Misuse_of_Drugs_Act_1971#Class_B_drugs|Class B]]
 
    | Class C = [[Misuse_of_Drugs_Act_1971#Class_C_drugs|Class C]]
 
    | ?
 
  }}<small>([[United Kingdom|UK]]) </small>}}
 
{{#if:{{{value4|}}} |
 
  {{#switch: {{{value4|}}}
 
    | otc | OTC = OTC
 
    | {{Unicode|}}-only | {{Unicode|℞}} | rx | Rx | rx-only | Rx-only = {{Unicode|}}<small>-only</small>
 
    | Schedule I  = [[Controlled_Substances_Act#Schedule_I_drugs|Schedule I]]
 
    | Schedule II = [[Controlled_Substances_Act#Schedule_II_drugs|Schedule II]]
 
    | Schedule III = [[Controlled_Substances_Act#Schedule_III_drugs|Schedule III]]
 
    | Schedule IV  = [[Controlled_Substances_Act#Schedule_IV_drugs|Schedule IV]]
 
    | Schedule V  = [[Controlled_Substances_Act#Schedule_V_drugs|Schedule V]]
 
    | ?
 
  }}<small>([[United States|US]]) </small>
 
}}{{#if:{{{value|}}} |
 
  {{#switch: {{{value|}}}
 
    | rx | RX | Rx | rx-only | Rx-only = {{Unicode|}} P<small>rescription only</small>
 
    | {{{Legal_status}}}
 
  }}
 
}}
 
|-</includeonly>
 
<noinclude>{{esoteric}}
 
  
All but first country block must start the '{{#ifeq' on same line as preceeding block's closing '}}'. Test for upper & lower case, use wikilinked two-letter ISO country codes (ISO 3166-1) within the framework of [[WP:MOS]]. Note space after country code as separator & allows line wrapping. Previous legal-status kept both for backwards compatibility - most articles current use this and for furture appends free-text to country-specified categorisations.</noinclude>
+
--><noinclude>{{documentation}}</noinclude>

Latest revision as of 20:36, 11 November 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