Difference between revisions of "Template:Chembox ATCCode"
imported>Christian75 (Direct link) |
imported>DePiep (add documentation) |
||
| Line 1: | Line 1: | ||
| − | + | | {{#ifeq:{{{value4|}}}|yes|[[ATCvet code]]|[[Anatomical Therapeutic Chemical Classification System|ATC code]]}} | |
| {{#if:{{{value|}}}|<span class="reflink plainlinksneverexpand"> | | {{#if:{{{value|}}}|<span class="reflink plainlinksneverexpand"> | ||
{{#ifeq:{{{value4|}}}|yes| | {{#ifeq:{{{value4|}}}|yes| | ||
[http://www.whocc.no/atcvet/atcvet_index/?code=Q{{{value}}} Q{{{value}}}] | [http://www.whocc.no/atc_ddd_index/?code={{{value}}} {{{value}}}]}}</span>}}{{#if:{{{value1|}}}{{{value2|}}}|{{#if:{{{value|}}}|, }}[[ATC code {{{value1}}}|{{#ifeq:{{{value4|}}}|yes|Q}}{{{value1}}}]]<span class="reflink plainlinksneverexpand">[{{#ifeq:{{{value4}}} | yes | http://www.whocc.no/atcvet/atcvet_index/?code=Q{{{value1}}}{{{value2}}} {{{value2}}} | http://www.whocc.no/atc_ddd_index/?code={{{value1}}}{{{value2}}} {{{value2}}}}}]</span> }}{{#if:{{{value3|}}}|{{#if:{{{value|}}}{{{value1|}}}{{{value2|}}}|, }}{{{value3}}}}} | [http://www.whocc.no/atcvet/atcvet_index/?code=Q{{{value}}} Q{{{value}}}] | [http://www.whocc.no/atc_ddd_index/?code={{{value}}} {{{value}}}]}}</span>}}{{#if:{{{value1|}}}{{{value2|}}}|{{#if:{{{value|}}}|, }}[[ATC code {{{value1}}}|{{#ifeq:{{{value4|}}}|yes|Q}}{{{value1}}}]]<span class="reflink plainlinksneverexpand">[{{#ifeq:{{{value4}}} | yes | http://www.whocc.no/atcvet/atcvet_index/?code=Q{{{value1}}}{{{value2}}} {{{value2}}} | http://www.whocc.no/atc_ddd_index/?code={{{value1}}}{{{value2}}} {{{value2}}}}}]</span> }}{{#if:{{{value3|}}}|{{#if:{{{value|}}}{{{value1|}}}{{{value2|}}}|, }}{{{value3}}}}} | ||
| − | |- | + | <!-- --> |
| − | {{ | + | |-<noinclude>{{documentation}}</noinclude> |
| − | </noinclude> | ||
Revision as of 16:34, 6 January 2015
| ATC code |
|-
| 30px | This template uses Lua: |
Usage
This box can be used as a module in the {{chembox}}.
This parameter list:
| Section6 = {{Chembox Pharmacology
| Pharmacology_ref =
| ATCCode_prefix =
| ATCCode_suffix =
| ATC_Supplemental =
| ATCvet =
| Licence_EU =
| INN =
| INN_EMA =
| Licence_US =
| Legal_status =
| Legal_AU =
| Legal_AU_comment =
| Legal_CA =
| Legal_CA_comment =
| Legal_NZ =
| Legal_NZ_comment =
| Legal_UK =
| Legal_UK_comment =
| Legal_US =
| Legal_US_comment =
| Legal_EU =
| Legal_EU_comment =
| Legal_UN =
| Legal_UN_comment =
| Pregnancy_category =
| Pregnancy_AU =
| Pregnancy_AU_comment =
| Pregnancy_US =
| Pregnancy_US_comment =
| Dependence_liability =
| Addiction_liability =
| AdminRoutes =
| Bioavail =
| ProteinBound =
| Metabolism =
| Metabolites =
| OnsetOfAction =
| HalfLife =
| DurationOfAction =
| Excretion =
}}
|
- Complete list
Example
- Example values from Paraldehyde, Valnoctamide, Tiopronin
| Pharmacology | |
|---|---|
| ATC code | |
| |
| License data | |
| dependence liab. | |
| addiction liab. | |
| |
| Pharmacokinetics: | |
| 94% | |
| 89 % Hepatic[1] | |
| 30 min | |
| 10 hours | |
| 3hr | |
| kidney | |
| Legal status | |
Except where otherwise noted, data are given for materials in their standard state (at 25 °C [77 °F], 100 kPa). | |
| Infobox references | |
{{Chembox
| Name = Paraldehyde
|Section6={{Chembox Pharmacology
| ATCCode_prefix = N05
| ATCCode_suffix = CC05
| ATCCode_Supplemental =
| Licence_EU = XYZ
| Licence_US = KLM
| Legal_status =
| Legal_AU = A
| Legal_AU_comment =
| Legal_CA = B
| Legal_CA_comment =
| Legal_NZ =
| Legal_NZ_comment =
| Legal_UK = POM
| Legal_UK_comment =
| Legal_US = Rx
| Legal_US_comment = Some comment for US
| Legal_EU =
| Legal_EU_comment =
| Legal_UN =
| Legal_UN_comment =
| Pregnancy_category =
| Pregnancy_AU = A
| Pregnancy_AU_comment =
| Pregnancy_US = C
| Pregnancy_US_comment =
| Dependence_liability = dependence liab.
| Addiction_liability = addiction liab.
| AdminRoutes = {{Unbulleted list|Intravenous|Oral|[[subcutaneous injection|SC]]}}
| Bioavail = 94%
| ProteinBound =
| Metabolism = 89 % Hepatic<ref>Cristau B</ref>
| Metabolites =
| OnsetOfAction = 30 min
| HalfLife = 10 hours
| DurationOfAction = 3hr
| Excretion = kidney
}}
}}
Tracking category
TemplateData
TemplateData documentation used by VisualEditor and other tools
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
See the monthly parameter usage report for this template.
TemplateData for Chembox ATCCode Adds a subsection to {{Chembox}}. To be used: |Section6={{Chembox Pharmacology|...}}
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
See also
References
- ↑ Cristau B
| The above documentation is transcluded from Template:Chembox ATCCode/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |