Revision as of 05:06, 8 April 2015 view sourceCambridgeBayWeather (talk | contribs)Autopatrolled, Administrators253,177 editsm Protected Template:Infobox drug/legal status: Highly visible template ( (indefinite) (indefinite))← Previous edit | Revision as of 19:45, 9 April 2015 view source DePiep (talk | contribs)Extended confirmed users294,285 edits Expand listed options for legal_status and pregnancy_category. See Template:Infobox drug/legal status (doc), Template:Infobox drug/pregnancy category (doc) and Template talk:Infobox drug#legal statusNext edit → | ||
Line 1: | Line 1: | ||
{{#if:{{{legal_AU|}}}{{{legal_CA|}}}{{{legal_UK|}}}{{{legal_US|}}}{{{legal_UN|}}}{{{legal_EU|}}}{{{legal_status|}}}|<div class="plainlist"><!-- | {{#if:{{{legal_AU|}}}{{{legal_CA|}}}{{{legal_NZ|}}}{{{legal_UK|}}}{{{legal_US|}}}{{{legal_UN|}}}{{{legal_EU|}}}{{{legal_AU_comment|}}}{{{legal_CA_comment|}}}{{{legal_NZ_comment|}}}{{{legal_UK_comment|}}}{{{legal_US_comment|}}}{{{legal_UN_comment|}}}{{{legal_EU_comment|}}}{{{legal_status|}}}|<div class="plainlist"><!-- | ||
Previous legal-status kept both for backwards compatibility — most articles currently use this — and for future appends free-text to country-specified categorisations.--><!-- | Previous legal-status kept both for backwards compatibility — most articles currently use this — and for future appends free-text to country-specified categorisations.--><!-- | ||
AU ----- AU ----- AU ----- AU ----- AU ----- AU ----- AU ----- AU ----- | AU ----- AU ----- AU ----- AU ----- AU ----- AU ----- AU ----- AU ----- | ||
-->{{#if:{{{legal_AU|}}} | | -->{{#if:{{{legal_AU|}}}{{{legal_AU_comment|}}} | | ||
* <small>{{abbr|AU|Australia}}:</small>& |
* <small>{{abbr|AU|Australia}}:</small> {{#switch:{{lc:{{{legal_AU|}}}}} | ||
| unscheduled = Unscheduled | | unscheduled = Unscheduled | ||
| s2 | schedule 2 | | s2 | schedule 2 | ||
Line 22: | Line 22: | ||
= ] | = ] | ||
| #default = {{{legal_AU|}}}{{main other |]}} | | #default = {{{legal_AU|}}}{{main other |]}} | ||
}} | }}  | ||
}}<!-- | }}{{{legal_AU_comment|}}}<!-- | ||
CA ----- CA ----- CA ----- CA ----- CA ----- CA ----- CA ----- CA ----- | CA ----- CA ----- CA ----- CA ----- CA ----- CA ----- CA ----- CA ----- | ||
-->{{#if:{{{legal_CA|}}} | | -->{{#if:{{{legal_CA|}}}{{{legal_CA_comment|}}} | | ||
* <small>{{abbr|CA|Canada}}</small>:& |
* <small>{{abbr|CA|Canada}}</small>: {{#switch:{{lc:{{{legal_CA|}}}}} | ||
| unscheduled = Unscheduled | |||
| otc = ] | | otc = ] | ||
| ℞-only | rx-only | |
| ℞-only | rx-only | ℞ only | rx only | ℞ | rx | ||
= ] | = ] | ||
| schedule i | | schedule i | ||
Line 47: | Line 48: | ||
= ] | = ] | ||
| #default = {{{legal_CA|}}}{{main other |]}} | | #default = {{{legal_CA|}}}{{main other |]}} | ||
}} {{{legal_CA_comment|}}} | |||
}} | |||
}}<!-- | |||
NZ ----- NZ ----- NZ ----- NZ ----- NZ ----- NZ ----- NZ ----- NZ ----- | |||
-->{{#if:{{{legal_NZ|}}}{{{legal_NZ_comment|}}} | | |||
* <small>{{abbr|NZ|New Zealand}}</small>: {{#switch:{{lc:{{{legal_NZ|}}}}} | |||
| unscheduled = Unscheduled | |||
⚫ | | otc = ] | ||
| class a = ] | |||
| class b = ] | |||
| class c = ] | |||
| fourth schedule = ] | |||
| #default = {{{legal_NZ|}}}{{main other |]}} | |||
}} {{{legal_NZ_comment|}}} | |||
}}<!-- | }}<!-- | ||
UK ----- UK ----- UK ----- UK ----- UK ----- UK ----- UK ----- UK ----- | UK ----- UK ----- UK ----- UK ----- UK ----- UK ----- UK ----- UK ----- | ||
-->{{#if:{{{legal_UK|}}} | | -->{{#if:{{{legal_UK|}}}{{{legal_UK_comment|}}} | | ||
* <small>{{abbr|UK|United Kingdom}}:</small>& |
* <small>{{abbr|UK|United Kingdom}}:</small> {{#switch:{{lc:{{{legal_UK|}}}}} | ||
| |
| unscheduled = Unscheduled | ||
| gsl | general sales list = ] (GSL, OTC) | |||
| p = P | |||
| p | pharmacy | pharmacy medicines = ] | |||
⚫ | | |
||
| pom | prescription-only | prescription only | prescription only medicine | prescription only medicines = ] (POM) | |||
| cd = CD | | cd = CD | ||
| cd lic = |
| cd lic = ] Lic | ||
| cd pom = |
| cd pom = ] POM | ||
| cd no reg pom = |
| cd no reg pom = ] No Reg POM | ||
| cd (anab) pom = |
| cd (anab) pom = ] (Anab) POM | ||
| cd (benz) pom = |
| cd (benz) pom = ] (Benz) POM | ||
| cd inv pom = |
| cd inv pom = ] Inv POM | ||
| class a = ] | |||
| class b = ] | |||
| class c = ] | |||
| temporary class | temporary | |||
= ] | |||
| #default = {{{legal_UK|}}}{{main other |]}} | | #default = {{{legal_UK|}}}{{main other |]}} | ||
}} {{{legal_UK_comment|}}} | |||
}} | |||
}}<!-- | }}<!-- | ||
US ----- US ----- US ----- US ----- US ----- US ----- US ----- US ----- | US ----- US ----- US ----- US ----- US ----- US ----- US ----- US ----- | ||
-->{{#if:{{{legal_US|}}} | | -->{{#if:{{{legal_US|}}}{{{legal_US_comment|}}} | | ||
* <small>{{abbr|US|United States}}:</small>& |
* <small>{{abbr|US|United States}}:</small> {{#switch:{{lc:{{{legal_US|}}}}} | ||
| unscheduled = Unscheduled | |||
| otc | |||
= ] | | otc = ] | ||
| ℞ | rx |
| ℞ | rx | ℞-only | rx-only | ℞ only | rx only | ||
= ] | = ] | ||
| schedule i | | schedule i | ||
Line 90: | Line 109: | ||
| list ii otc | | list ii otc | ||
= ] ] | = ] ] | ||
| list i ℞-only | list i rx-only |
| list i ℞-only | list i rx-only | list i ℞ | list i rx | ||
= ] ] | = ] ] | ||
| list ii ℞-only | list ii rx-only | list ii |
| list ii ℞-only | list ii rx-only | list ii ℞ only | list ii rx only | list ii ℞ | list ii rx | ||
= ] ] | = ] ] | ||
| list i cmea otc | | list i cmea otc | ||
Line 102: | Line 121: | ||
| ssl otc | | ssl otc | ||
= ] ] | = ] ] | ||
| ssl ℞-only | ssl rx-only | ssl |
| ssl ℞-only | ssl rx-only | ssl ℞ only | ssl rx only | ssl rx | ssl ℞ | ||
= ] ] | = ] ] | ||
| #default = {{{legal_US|}}}{{main other |]}} | | #default = {{{legal_US|}}}{{main other |]}} | ||
}} {{{legal_US_comment|}}} | |||
}} | |||
}}<!-- | }}<!-- | ||
UN ----- UN ----- UN ----- UN ----- UN ----- UN ----- UN ----- UN ----- | UN ----- UN ----- UN ----- UN ----- UN ----- UN ----- UN ----- UN ----- | ||
-->{{#if:{{{legal_UN|}}} | | -->{{#if:{{{legal_UN|}}}{{{legal_UN_comment|}}} | | ||
* <small>{{abbr|UN|United Nations}}:</small>& |
* <small>{{abbr|UN|United Nations}}:</small> {{#switch:{{lc:{{{legal_UN|}}}}} | ||
| unscheduled = Unscheduled | |||
| n i | narcotic schedule i | | n i | narcotic schedule i | ||
= ] | = ] | ||
| n ii | narcotic schedule ii | | n ii | narcotic schedule ii | ||
= ] | = ] | ||
| n i iii | narcotic schedules i and iii | | n i iii | narcotic schedules i and iii | ||
= ] | = ] | ||
| n ii iii | narcotic schedules ii and iii | | n ii iii | narcotic schedules ii and iii | ||
= ] | = ] | ||
| n i iv | narcotic schedules i and iv | | n i iv | narcotic schedules i and iv | ||
= ] | = ] | ||
| p i | psychotropic schedule i | | p i | psychotropic schedule i | ||
= ] | = ] | ||
| p ii | psychotropic schedule ii | | p ii | psychotropic schedule ii | ||
= ] | = ] | ||
| p iii | psychotropic schedule iii | | p iii | psychotropic schedule iii | ||
= ] | = ] | ||
| p iv | psychotropic schedule iv | | p iv | psychotropic schedule iv | ||
= ] | = ] | ||
| pre i | precursor table i | precursors table i | | pre i | precursor table i | precursors table i | ||
= ] | = ] | ||
| pre ii | precursor table ii | precursors table ii | | pre ii | precursor table ii | precursors table ii | ||
= ] | = ] | ||
| #default = {{{legal_UN|}}}{{main other |]}} | | #default = {{{legal_UN|}}}{{main other |]}} | ||
}} {{{legal_UN_comment|}}} | |||
}} | |||
}}<!-- | }}<!-- | ||
EU ----- EU ----- EU ----- EU ----- EU ----- EU ----- EU ----- EU ----- | EU ----- EU ----- EU ----- EU ----- EU ----- EU ----- EU ----- EU ----- | ||
-->{{#if:{{{legal_EU|}}} | | -->{{#if:{{{legal_EU|}}}{{{legal_EU_comment|}}} | | ||
* <small>{{abbr|EU|European Union}}:</small>& |
* <small>{{abbr|EU|European Union}}:</small> {{#switch:{{lc:{{{legal_EU|}}}}} | ||
| unscheduled = Unscheduled | |||
| designer drug | recommended for scheduling | | designer drug | recommended for scheduling | ||
= ] | = ] | ||
Line 147: | Line 168: | ||
= ] | = ] | ||
| #default = {{{legal_EU|}}}{{main other |]}} | | #default = {{{legal_EU|}}}{{main other |]}} | ||
}} {{{legal_EU_comment|}}} | |||
}} | |||
}}<!-- | }}<!-- | ||
general ----- general ----- general ----- general ----- general ----- general ----- | general ----- general ----- general ----- general ----- general ----- general ----- | ||
-->{{#if:{{{legal_status|}}} | | -->{{#if:{{{legal_status|}}} | | ||
* {{#switch:{{lc:{{{legal_status|}}}}} | * {{#switch:{{lc:{{{legal_status|}}}}} | ||
| ℞ | rx | {{lc:{{Unicode|℞}}}} | ℞ |
| ℞ | rx | ℞-only | rx-only | ℞ only | rx only | {{lc:{{Unicode|℞}}}} | {{lc:{{Unicode|℞}}}}-only | {{lc:{{Unicode|℞}}}} only | ||
= {{Unicode|℞}} Prescription only | = {{Unicode|℞}} (Prescription only){{main other |]}}<!-- Bad general description --> | ||
| #default = {{{legal_status}}} | | #default = {{{legal_status}}} | ||
}} }}< |
}} }}<!-- | ||
Check for {{Unicode|...}} input | |||
-->{{#ifeq:{{#invoke:String|find |source={{lc:{{{legal_AU|}}}{{{legal_CA|}}}{{{legal_NZ|}}}{{{legal_UK|}}}{{{legal_US|}}}{{{legal_UN|}}}{{{legal_EU|}}} }}|target=unicode |plain= true}}|0||{{main other |]}} }}</div>}}<noinclude> | |||
{{documentation}} | {{documentation}} | ||
Revision as of 19:45, 9 April 2015
Template documentation[view] [edit] [history] [purge]This template is used on approximately 10,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
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=
Standard |legal_...= input options
| |
---|---|
Australia, AU (Standard for Scheduling Drugs and Poisons) | |
legal_AU=
|
Shows |
Unscheduled |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Any other text |
|
legal_AU_comment= MyComment |
|
Brazil, BR (Brazilian Controlled Drugs and Substances Act) | |
legal_BR=
|
Shows |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Canada (Controlled_Drugs_and_Substances_Act) | |
|legal_CA=
|
Shows |
Unscheduled |
|
otc |
|
|
|
Schedule i |
|
Schedule ii |
|
Schedule iii |
|
Schedule iv |
|
Schedule v |
|
Schedule vi |
|
Schedule vii |
|
Schedule viii |
|
Any other text |
|
legal_CA_comment= MyComment |
|
| |
| |
Germany | |
Input legal_DE=
|
Shows |
Anlage I | |
Anlage II | |
Anlage III | |
Any other text | (Unedited) |
legal_DE_comment= MyComment |
|
New Zealand | |
Input legal_NZ=
|
Shows |
Unscheduled |
|
OTC |
|
Class A |
|
Class B |
|
Class C |
|
Fourth Schedule |
|
Temporary Class |
|
Any other text |
|
legal_NZ_comment= MyComment |
|
| |
| |
United Kingdom (UK) (Sources: NHS) | |
Input legal_UK=
|
Shows |
Unscheduled |
|
|
|
|
|
|
|
|
|
|
|
CD pom |
|
CD no reg pom |
|
CD (anab) pom |
|
CD (benz) pom |
|
CD inv pom |
|
Class A |
|
Class B |
|
Class C |
|
Temporary Class |
|
Any other text |
|
legal_UK_comment= MyComment |
|
| |
| |
United States (US) | |
Input legal_US=
|
Shows |
Unscheduled |
|
|
|
OTC |
|
|
|
Schedule I |
|
Schedule II |
|
Schedule III |
|
Schedule IV |
|
Schedule V |
|
List I |
|
List II |
|
List I OTC | |
List II OTC | |
|
|
|
|
List I CMEA OTC | |
List I CMEA | |
SSL | |
SSL OTC | |
|
|
Analogue, analoge |
|
IND, Investigative New Drug |
|
Any other text |
|
legal_US_comment= MyComment |
|
| |
| |
United Nations (UN) (Single Convention on Narcotic Drugs, Convention on Psychotropic Substances) | |
Input legal_UN=
|
Shows |
Unscheduled |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Any other text |
|
legal_UN_comment= MyComment |
|
| |
| |
European Union (EU) (European law on drug precursors, European Council decisions on designer drugs) | |
Input legal_EU=
|
Shows |
Unscheduled |
|
|
|
category 1 precursor | |
category 2 precursor | |
category 3 precursor | |
Any other text |
|
legal_EU_comment= MyComment |
|
| |
| |
General input, |legal_status=
| |
Input legal_status=
|
Shows |
|
|
OTC |
|
|
|
|
|
|
|
- Articles with input to be checked are categorised in Category:Drugs with non-standard legal status (3,185). See also the category TOC.
- 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=
Input legal_status=
|
Shows |
---|---|
℞ rx ℞-only rx-only ℞ only rx only |
|
OTC |
|
Any other text |
Unedited. Article is not categorised for this. |
See also
- {{Infobox drug/legal status}}
- {{Infobox drug/pregnancy category}}
- {{Chembox Pharmacology}}
- Category:Drugs with non-standard legal status (input not recognised)
- Category:Drugs with no legal status (no input at all for all 6 countries/authorities)
Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.