Difference between revisions of "Template:Chembox ATCCode"
imported>DePiep (add documentation) |
imported>DePiep (Update Template:Chembox suite templates per WT:Chembox changes c.s.) |
||
| Line 1: | Line 1: | ||
| − | | {{#ifeq:{{{ | + | | {{#ifeq:{{{ATCCode_vet|}}} |yes |[[ATCvet code]] |[[Anatomical Therapeutic Chemical Classification System|ATC code]] }} |
| − | | {{#if:{{{ | + | | {{#invoke:String|replace|source=<!-- (remove any initial linebreak) |
| − | {{#ifeq:{{{ | + | -->{{#if:{{{ATCCode|}}} |<span class="reflink plainlinksneverexpand">{{#ifeq:{{{ATCCode_vet|}}} |yes | |
| − | [http://www.whocc.no/atcvet/atcvet_index/?code=Q{{{ | + | [http://www.whocc.no/atcvet/atcvet_index/?code=Q{{{ATCCode}}} Q{{{ATCCode}}}] | [http://www.whocc.no/atc_ddd_index/?code={{{ATCCode}}} {{{ATCCode}}}]}}</span>}}<!-- |
| + | -->{{#if:{{{ATCCode_prefix|}}}{{{ATCCode_suffix|}}} |<br/>[[ATC code {{{ATCCode_prefix}}}|{{#ifeq:{{{ATCCode_vet|}}} |yes |Q}}{{{ATCCode_prefix}}}]]<span class="reflink plainlinksneverexpand">{{#ifeq:{{{ATCCode_vet|}}} |yes |<!-- | ||
| + | -->[http://www.whocc.no/atcvet/atcvet_index/?code=Q{{{ATCCode_prefix}}}{{{ATCCode_suffix}}} {{{ATCCode_suffix}}}] |<!-- | ||
| + | -->[http://www.whocc.no/atc_ddd_index/?code={{{ATCCode_prefix}}}{{{ATCCode_suffix}}} {{{ATCCode_suffix}}}] }}</span> }}<!-- | ||
| + | -->{{#if:{{{ATCCode_Supplemental|}}} |<br/>{{{ATCCode_Supplemental}}} }}<!-- | ||
| + | -->|pattern=^%<br%s*%/?%s*%>|replace=|plain=false|no_category=true}} | ||
<!-- --> | <!-- --> | ||
|-<noinclude>{{documentation}}</noinclude> | |-<noinclude>{{documentation}}</noinclude> | ||
Revision as of 11:58, 6 February 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 | N05 |
| |
| 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. |