Difference between revisions of "Template:Infobox botanical product"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
m (replace {{PAGENAME}} with {{PAGENAMEBASE}} to remove any disambiguation if article name is used as infobox title, using AWB)
imported>DePiep
Line 20: Line 20:
 
|label8=Main consumers
 
|label8=Main consumers
 
|data8={{{consumers|}}}
 
|data8={{{consumers|}}}
| label31 = [[Regulation of therapeutic goods|Legal status]]
+
 
|  data31 = <div class="plainlist"><!--
 
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 currently use this — and for future appends free-text to country-specified categorisations.
 
-->{{#if:{{{legal_AU|}}} |
 
* <small>[[Australia|AU]]:</small>&nbsp;{{#switch:{{lc:{{{legal_AU|}}}}}
 
| unscheduled = Unscheduled |
 
| s2 | schedule 2 = [[Standard for the Uniform Scheduling of Drugs and Poisons#Schedule 2 Pharmacy Medicine|Pharmacy Only (S2)]]
 
| s3 | schedule 3 = [[Standard for the Uniform Scheduling of Drugs and Poisons#Schedule 3 Pharmacist Only Medicine|Pharmacist Only (S3)]]
 
| s4 | schedule 4 = [[Standard for the Uniform Scheduling of Drugs and Poisons#Schedule 4 Prescription Only Medicine|Prescription Only (S4)]]
 
| s5 | schedule 5 = [[Standard for the Uniform Scheduling of Drugs and Poisons#Schedule 5 Caution|Caution (S5)]]
 
| s6 | schedule 6 = [[Standard for the Uniform Scheduling of Drugs and Poisons#Schedule 6 Poison|Poison (S6)]]
 
| 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)]]
 
| {{{legal_AU|}}}
 
}}
 
}}{{#if:{{{legal_CA|}}} |
 
* <small>[[Canada|CA]]</small>:&nbsp;{{#switch:{{lc:{{{legal_CA|}}}}}
 
| otc = [[Over-the-counter drug|OTC]]
 
| ℞-only | ℞ | rx | rx-only = [[Prescription drug|℞-only]]
 
| schedule i = [[Controlled_Drugs_and_Substances_Act#Schedule_I|Schedule I]]
 
| schedule ii = [[Controlled_Drugs_and_Substances_Act#Schedule_II|Schedule II]]
 
| schedule iii = [[Controlled_Drugs_and_Substances_Act#Schedule_III|Schedule III]]
 
| 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]]
 
| {{{legal_CA|}}}
 
}}
 
}}{{#if:{{{legal_UK|}}} |
 
* <small>[[United Kingdom|UK]]:</small>&nbsp;{{#switch: {{lc:{{{legal_UK|}}}}}
 
| gsl = GSL
 
| p =P
 
| pom = [[Prescription drug|POM]]
 
| cd =CD
 
| cd lic = CD Lic
 
| cd pom = CD POM
 
| cd no reg pom = CD No Reg POM
 
| cd (anab) pom = CD (Anab) POM
 
| cd (benz) pom = CD (Benz) POM
 
| cd inv pom = CD Inv POM
 
| {{{legal_UK|}}}
 
}}
 
}}{{#if:{{{legal_US|}}} |
 
* <small>[[United States|US]]:</small>&nbsp;{{#switch: {{{legal_US|}}}
 
| otc | OTC = [[Over-the-counter drug|OTC]]
 
| ℞-only | ℞ | rx | Rx | rx-only | Rx-only = [[Prescription drug|℞-only]]
 
| 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]]
 
| List I = [[DEA list of chemicals#List I chemicals|List I]]{{main other |[[Category:United States regulated drug precursors]]}}
 
| List II = [[DEA list of chemicals#List II chemicals|List II]]{{main other |[[Category:United States regulated drug precursors]]}}
 
| List I OTC = [[DEA list of chemicals#List I chemicals|List I]] [[Over-the-counter drug|OTC]]{{main other |[[Category:United States regulated drug precursors]]}}
 
| List II OTC = [[DEA list of chemicals#List II chemicals|List II]] [[Over-the-counter drug|OTC]]{{main other |[[Category:United States regulated drug precursors]]}}
 
| List I ℞-only | List I ℞ | List I RX | List I Rx = [[DEA list of chemicals#List I chemicals|List I]] [[Prescription drug|℞-only]]{{main other |[[Category:United States regulated drug precursors]]}}
 
| List II ℞-only | List II ℞ | List II RX | List II Rx = [[DEA list of chemicals#List II chemicals|List II]] [[Prescription drug|℞-only]]{{main other |[[Category:United States regulated drug precursors]]}}
 
| List I CMEA OTC = [[DEA list of chemicals#List I chemicals|List I]] [[Combat Methamphetamine Epidemic Act of 2005|CMEA]] [[Over-the-counter drug|OTC]]{{main other |[[Category:United States regulated drug precursors]]}}
 
| List I CMEA = [[DEA list of chemicals#List I chemicals|List I]] [[Combat Methamphetamine Epidemic Act of 2005|CMEA]]{{main other |[[Category:United States regulated drug precursors]]}}
 
| SSL = [[DEA list of chemicals#Special Surveillance List|Special Surveillance List]]{{main other |[[Category:United States regulated drug precursors]]}}
 
| SSL OTC = [[DEA list of chemicals#Special Surveillance List|Special Surveillance List]] [[Over-the-counter drug|OTC]]{{main other |[[Category:United States regulated drug precursors]]}}
 
| SSL ℞-only | SSL ℞ | SSL RX | SSL Rx = [[DEA list of chemicals#Special Surveillance List|Special Surveillance List]] [[Prescription drug|℞-only]]{{main other |[[Category:United States regulated drug precursors]]}}
 
| {{{legal_US|}}}
 
}}
 
}}{{#if:{{{legal_UN|}}} |
 
* <small>[[United Nations|UN]]:</small>&nbsp;{{#switch: {{{legal_UN|}}}
 
| N I | Narcotic Schedule I = [[Single Convention on Narcotic Drugs#List of controlled narcotic drugs|Narcotic Schedule I]]
 
| N II | Narcotic Schedule II = [[Single Convention on Narcotic Drugs#List of controlled narcotic drugs|Narcotic Schedule II]]
 
| N I III | Narcotic Schedules I and III = [[Single Convention on Narcotic Drugs#List of controlled narcotic drugs|Narcotic Schedules I and III]]
 
| N II III | Narcotic Schedules II and III = [[Single Convention on Narcotic Drugs#List of controlled narcotic drugs|Narcotic Schedules II and III]]
 
| N I IV | Narcotic Schedules I and IV = [[Single Convention on Narcotic Drugs#List of controlled narcotic drugs|Narcotic Schedules I and IV]]
 
| P I | Psychotropic Schedule I = [[Convention on Psychotropic Substances#Schedule I|Psychotropic Schedule I]]
 
| P II | Psychotropic Schedule II = [[Convention on Psychotropic Substances#Schedule II|Psychotropic Schedule II]]
 
| P III | Psychotropic Schedule III = [[Convention on Psychotropic Substances#Schedule III|Psychotropic Schedule III]]
 
| P IV | Psychotropic Schedule IV = [[Convention on Psychotropic Substances#Schedule IV|Psychotropic Schedule IV]]
 
| Pre I | Precursors Table I = [[United Nations Convention Against Illicit Traffic in Narcotic Drugs and Psychotropic Substances#Table I|Precursors Table I]]{{main other |[[Category:United Nations controlled drug precursors]]}}
 
| Pre II | Precursor Table II = [[United Nations Convention Against Illicit Traffic in Narcotic Drugs and Psychotropic Substances#Table II|Precursors Table II]]{{main other |[[Category:United Nations controlled drug precursors]]}}
 
| {{{legal_UN|}}}
 
}}
 
}}{{#if:{{{legal_EU|}}} |
 
* <small>[[European Union|EU]]:</small>&nbsp;{{#switch: {{lc:{{{legal_EU|}}}}}
 
| designer drug | recommended for scheduling = [[European Council decisions on designer drugs|Recommended for scheduling]]{{main other |[[Category:Designer drugs recommended for scheduling by the European Council]]}}
 
| category 1 precursor = [[European law on drug precursors#Category 1 Precursors|Category 1 Precursor]]{{main other |[[Category:European Union controlled drug precursors]]}}
 
| category 2 precursor = [[European law on drug precursors#Category 2 Precursors|Category 2 Precursor]]{{main other |[[Category:European Union controlled drug precursors]]}}
 
| category 3 precursor = [[European law on drug precursors#Category 3 Precursors|Category 3 Precursor]]{{main other |[[Category:European Union controlled drug precursors]]}}
 
| {{{legal_EU|}}}
 
}}
 
}}{{#if:{{{legal_status|}}} |
 
* {{#switch: {{lc:{{{legal_status|}}}}}
 
| rx | rx-only = ℞ Prescription only
 
| {{{legal_status}}}
 
}}
 
}}{{#if:{{{legal_AU|}}}{{{legal_CA|}}}{{{legal_UK|}}}{{{legal_US|}}}{{{legal_UN|}}}{{{legal_EU|}}}{{{legal_status|}}} | | ? }}
 
</div>
 
 
|label10=Wholesale price
 
|label10=Wholesale price
 
|data10={{{wholesale|}}}
 
|data10={{{wholesale|}}}
 
|label11=Retail price
 
|label11=Retail price
|data11={{{retail|}}}
+
|data11={{{retail|}}}<!--
 +
 
 +
legal status -->
 +
| label21 = [[Regulation of therapeutic goods|Legal status]]
 +
|  data21 =
 +
{{Infobox drug/legal status
 +
|legal_AU={{{legal_AU|}}}
 +
|legal_CA={{{legal_CA|}}}
 +
|legal_DE={{{legal_DE|}}}
 +
|legal_NZ={{{legal_NZ|}}}
 +
|legal_UK={{{legal_UK|}}}
 +
|legal_US={{{legal_US|}}}
 +
|legal_EU={{{legal_EU|}}}
 +
|legal_UN={{{legal_UN|}}}
 +
|legal_AU_comment={{{legal_AU_comment|}}}
 +
|legal_CA_comment={{{legal_CA_comment|}}}
 +
|legal_DE_comment={{{legal_DE_comment|}}}
 +
|legal_NZ_comment={{{legal_NZ_comment|}}}
 +
|legal_UK_comment={{{legal_UK_comment|}}}
 +
|legal_US_comment={{{legal_US_comment|}}}
 +
|legal_EU_comment={{{legal_EU_comment|}}}
 +
|legal_UN_comment={{{legal_UN_comment|}}}
 +
|legal_status={{{legal_status|}}}
 +
 
 +
}}
 
}}<!--
 
}}<!--
  
 
--><noinclude>{{documentation}}</noinclude>
 
--><noinclude>{{documentation}}</noinclude>

Revision as of 21:18, 27 November 2016

Template:PAGENAMEBASE

[[Category:Infobox templates|Template:Remove first word]]

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

This infobox is intended for herbal drugs, e.g. Opium, or other materials processed from particular parts of plants.

Usage

Template:PAGENAMEBASE
[[File:{{{image}}}|frameless]]
{{{caption}}}
Botanical name{{{product}}}
Source plant(s){{{plant}}}
Part(s) of plant{{{part}}}
Geographic origin{{{origin}}}
Active ingredients{{{active}}}
Uses{{{uses}}}
Main producers{{{producers}}}
Main consumers{{{consumers}}}
Wholesale price{{{wholesale}}}
Retail price{{{retail}}}
Legal status
  • AU: {{{legal_AU}}}
  • CA: {{{legal_CA}}}
  • DE: {{{legal_DE}}}
  • UK: {{{legal_UK}}}
  • US: {{{legal_US}}}
  • UN: {{{legal_UN}}}
  • EU: {{{legal_EU}}}
  • {{{legal_status}}}
[[Category:Infobox templates|Template:Remove first word]]
{{Infobox botanical product
| product          = 
| image            = 
| caption          = 
| pronounce        =
| plant            = 
| part             = 
| origin           = 
| active           = 
| uses             = 
| producers        = 
| consumers        = 
| wholesale        = 
| retail           = 
| legal_AU         = 
| legal_CA         = 
| legal_DE         =
| legal_UK         = 
| legal_US         = 
| legal_UN         = 
| legal_EU         = 
| legal_status     = 
}}

Parameters

Except for "product", all fields are optional.

product
Name of finished product
image
Image
caption
Image caption
plant
Scientific name of the plant, linked to the article
part
Portions of the plant used for production
origin
The geographic origin of the plant species prior to cultivation, or else where it was first introduced
active
Principal active ingredients
uses
Broad summary of purposes for which the product is currently most often used.
producers 
Leading modern producer nations or regions
consumers 
Leading modern consumer nations or regions
wholesale 
Wholesale price near the source of production
retail
Retail price near the consumers
legal
Legal status, e.g. Controlled Substances Act schedule status, prescription drug status, or other restriction. See options.

Template Data

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Infobox botanical product

No description.

Template parameters

ParameterDescriptionTypeStatus
Productproduct

no description

Unknownoptional
Imageimage

no description

Unknownoptional
Captioncaption

no description

Unknownoptional
Plantplant

no description

Unknownoptional
Partpart

no description

Unknownoptional
Originorigin

no description

Unknownoptional
Activeactive

no description

Unknownoptional
Usesuses

no description

Unknownoptional
Producersproducers

no description

Unknownoptional
Consumersconsumers

no description

Unknownoptional
Wholesalewholesale

no description

Unknownoptional
Retailretail

no description

Unknownoptional
Legal_AUlegal_AU

no description

Unknownoptional
Legal_CAlegal_CA

no description

Unknownoptional
Legal_DElegal_DE

no description

Unknownoptional
Legal_UKlegal_UK

no description

Unknownoptional
Legal_USlegal_US

no description

Unknownoptional
Legal_UNlegal_UN

no description

Unknownoptional
Legal_EUlegal_EU

no description

Unknownoptional
Legal_statuslegal_status

no description

Unknownoptional