Difference between revisions of "Template:Chembox Legal status"
Jump to navigation
Jump to search
imported>Beetstra (options) |
imported>Beetstra (split up ..) |
||
| Line 1: | Line 1: | ||
| − | | Legal status | + | <includeonly>| Legal status |
| − | | | + | | {{#if:{{{value1|}}} | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | {{#if:{{{value1|}}} | | ||
{{#switch: {{{value1|}}} | {{#switch: {{{value1|}}} | ||
| u | U | unscheduled | Unscheduled = U<small>nscheduled</small> | | | u | U | unscheduled | Unscheduled = U<small>nscheduled</small> | | ||
| Line 17: | Line 12: | ||
| s9 | S9 | Schedule 9 = [[Standard for the Uniform Scheduling of Drugs and Poisons#Schedule 9 Prohibited Substance|Prohibited (S9)]] | | s9 | S9 | Schedule 9 = [[Standard for the Uniform Scheduling of Drugs and Poisons#Schedule 9 Prohibited Substance|Prohibited (S9)]] | ||
| ? | | ? | ||
| − | }}<small>([[Australia|AU]]) </small> | + | }}<small>([[Australia|AU]]) </small>}} |
| − | }}{{#if:{{{value2|}}} | | + | {{#if:{{{value2|}}} | |
{{#switch: {{{value2|}}} | {{#switch: {{{value2|}}} | ||
| Schedule I = [[Controlled_Drugs_and_Substances_Act#Schedule_I|Schedule I]] | | Schedule I = [[Controlled_Drugs_and_Substances_Act#Schedule_I|Schedule I]] | ||
| Line 29: | Line 24: | ||
| Schedule VIII= [[Controlled_Drugs_and_Substances_Act#Schedule_VIII|Schedule VIII]] | | Schedule VIII= [[Controlled_Drugs_and_Substances_Act#Schedule_VIII|Schedule VIII]] | ||
| ? | | ? | ||
| − | }}<small>([[Canada|CA]]) </small> | + | }}<small>([[Canada|CA]]) </small> }} |
| − | }}{{#if:{{{value3|}}} | | + | {{#if:{{{value3|}}} | |
{{#switch: {{{value3|}}} | {{#switch: {{{value3|}}} | ||
| gsl | GSL = GSL | | gsl | GSL = GSL | ||
| Line 40: | Line 35: | ||
| Class C = [[Misuse_of_Drugs_Act_1971#Class_C_drugs|Class C]] | | Class C = [[Misuse_of_Drugs_Act_1971#Class_C_drugs|Class C]] | ||
| ? | | ? | ||
| − | }}<small>([[United Kingdom|UK]]) </small> | + | }}<small>([[United Kingdom|UK]]) </small>}} |
| − | }}{{#if:{{{value4|}}} | | + | {{#if:{{{value4|}}} | |
{{#switch: {{{value4|}}} | {{#switch: {{{value4|}}} | ||
| otc | OTC = OTC | | otc | OTC = OTC | ||
| Line 58: | Line 53: | ||
}} | }} | ||
}} | }} | ||
| − | |- | + | |-</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 counry 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 | ||
Revision as of 12:56, 4 February 2007
| This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
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 counry 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