Difference between revisions of "Template:Chembox Pharmacology"
imported>DePiep (External links: show icon and add css-title. Following CAS RN pilot. See talk:Chembox) |
imported>DePiep (add parameter |Drug_class= (similar to Template talk:Infobox_drug#Proposal: Add .22drug class.22). Also move Legal_status to bottom, outside of the clinical/medical info) |
||
| Line 1: | Line 1: | ||
| − | {{#if:{{{ATCCode_prefix|}}}{{{ATCCode_suffix|}}}{{{ATC_Supplemental|}}}{{{AdminRoutes|}}}{{{Bioavail|}}}{{{ProteinBound|}}}{{{Metabolism|}}}{{{Metabolites|}}}{{{OnsetOfAction|}}}{{{HalfLife|}}}{{{DurationOfAction|}}}{{{Excretion|}}}{{{Licence_EU|}}}{{{Licence_US|}}} | + | {{#if:{{{Drug_class|}}}{{{ATCCode_prefix|}}}{{{ATCCode_suffix|}}}{{{ATC_Supplemental|}}}{{{AdminRoutes|}}}{{{Bioavail|}}}{{{ProteinBound|}}}{{{Metabolism|}}}{{{Metabolites|}}}{{{OnsetOfAction|}}}{{{HalfLife|}}}{{{DurationOfAction|}}}{{{Excretion|}}}{{{Licence_EU|}}}{{{Licence_US|}}} |
{{{Legal_status|}}}{{{Legal_AU|}}}{{{Legal_CA|}}}{{{Legal_DE|}}}{{{Legal_NZ|}}}{{{Legal_UK|}}}{{{Legal_US|}}}{{{Legal_UN|}}}{{{Legal_EU|}}} | {{{Legal_status|}}}{{{Legal_AU|}}}{{{Legal_CA|}}}{{{Legal_DE|}}}{{{Legal_NZ|}}}{{{Legal_UK|}}}{{{Legal_US|}}}{{{Legal_UN|}}}{{{Legal_EU|}}} | ||
{{{Legal_AU_comment|}}}{{{Legal_CA_comment|}}}{{{Legal_DE_comment|}}}{{{Legal_NZ_comment|}}}{{{Legal_UK_comment|}}}{{{Legal_US_comment|}}}{{{Legal_UN_comment|}}}{{{Legal_EU_comment|}}} | {{{Legal_AU_comment|}}}{{{Legal_CA_comment|}}}{{{Legal_DE_comment|}}}{{{Legal_NZ_comment|}}}{{{Legal_UK_comment|}}}{{{Legal_US_comment|}}}{{{Legal_UN_comment|}}}{{{Legal_EU_comment|}}} | ||
| Line 14: | Line 14: | ||
|check | |check | ||
|template=Template:Chembox Pharmacology | |template=Template:Chembox Pharmacology | ||
| − | |all= |opt= Pharmacology_ref= Addiction_liability= ATCCode_prefix= ATCCode_suffix= ATC_Supplemental= ATCvet= AdminRoutes= Bioavail= ProteinBound= Metabolism= Metabolites= OnsetOfAction= HalfLife= DurationOfAction= Excretion= Licence_EU= Licence_US= | + | |all= |opt= Pharmacology_ref= Addiction_liability= ATCCode_prefix= ATCCode_suffix= ATC_Supplemental= ATCvet= AdminRoutes= Bioavail= ProteinBound= Metabolism= Metabolites= OnsetOfAction= HalfLife= Drug_class= DurationOfAction= Excretion= Licence_EU= Licence_US= |
Legal_status= Legal_AU= Legal_CA= Legal_DE= Legal_NZ= Legal_UK= Legal_US= Legal_EU= Legal_UN= | Legal_status= Legal_AU= Legal_CA= Legal_DE= Legal_NZ= Legal_UK= Legal_US= Legal_EU= Legal_UN= | ||
Legal_AU_comment= Legal_CA_comment= Legal_DE_comment= Legal_NZ_comment= Legal_UK_comment= Legal_US_comment= Legal_EU_comment= Legal_UN_comment= | Legal_AU_comment= Legal_CA_comment= Legal_DE_comment= Legal_NZ_comment= Legal_UK_comment= Legal_US_comment= Legal_EU_comment= Legal_UN_comment= | ||
| Line 23: | Line 23: | ||
----- END HEADERBAR -->}}<!-- | ----- END HEADERBAR -->}}<!-- | ||
----- START DATA ROWS ----- --> | ----- START DATA ROWS ----- --> | ||
| + | {{#if:{{{Drug_class|}}}|{{Chembox DrugClass|class={{{Drug_class|}}} }}}} | ||
{{#if:{{{ATCCode_prefix|}}}{{{ATCCode_suffix|}}}{{{ATC_Supplemental|}}} |{{Chembox ATCCode |ATCCode_prefix={{{ATCCode_prefix|}}} |ATCCode_suffix={{{ATCCode_suffix|}}} |ATCCode_Supplemental={{{ATC_Supplemental|}}} |ATCCode_vet={{#switch:{{lc:{{{ATCvet|}}}}}|y|yes|true|1|q|vet=yes||#default=no}} }}}} | {{#if:{{{ATCCode_prefix|}}}{{{ATCCode_suffix|}}}{{{ATC_Supplemental|}}} |{{Chembox ATCCode |ATCCode_prefix={{{ATCCode_prefix|}}} |ATCCode_suffix={{{ATCCode_suffix|}}} |ATCCode_Supplemental={{{ATC_Supplemental|}}} |ATCCode_vet={{#switch:{{lc:{{{ATCvet|}}}}}|y|yes|true|1|q|vet=yes||#default=no}} }}}} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
{{#if:{{{Pregnancy_category|}}}{{{Pregnancy_AU|}}}{{{Pregnancy_US|}}}{{{Pregnancy_AU_comment|}}}{{{Pregnancy_US_comment|}}}{{{PLLR|}}} | {{#if:{{{Pregnancy_category|}}}{{{Pregnancy_AU|}}}{{{Pregnancy_US|}}}{{{Pregnancy_AU_comment|}}}{{{Pregnancy_US_comment|}}}{{{PLLR|}}} | ||
|{{Chembox PregCat | |{{Chembox PregCat | ||
| Line 67: | Line 49: | ||
| duration-of-action={{{DurationOfAction|}}} | | duration-of-action={{{DurationOfAction|}}} | ||
| excretion={{{Excretion|}}} }}}}<!-- | | excretion={{{Excretion|}}} }}}}<!-- | ||
| − | -->}}<!-- | + | LEGAL STATUS |
| + | --> | ||
| + | {{#if:{{{legal_status|}}}{{{legal_AU|}}}{{{legal_CA|}}}{{{legal_NZ|}}}{{{legal_UK|}}}{{{legal_US|}}}{{{legal_EU|}}}{{{legal_UN|}}}{{{Legal_status|}}}{{{Legal_AU|}}}{{{Legal_CA|}}}{{{Legal_UK|}}}{{{Legal_US|}}}{{{Legal_EU|}}}{{{Legal_UN|}}}{{{legal_AU_comment|}}}{{{legal_CA_comment|}}}{{{legal_NZ_comment|}}}{{{legal_UK_comment|}}}{{{legal_US_comment|}}}{{{legal_EU_comment|}}}{{{legal_UN_comment|}}}{{{Legal_status|}}}{{{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|}}} | ||
| + | |{{Chembox Legal_status | ||
| + | |legal_status={{{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|}}} }}}} | ||
| + | }}<!-- | ||
--><noinclude>{{documentation}}</noinclude> | --><noinclude>{{documentation}}</noinclude> | ||
Revision as of 11:09, 17 December 2016
| 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 | |
|---|---|
| N05CC05 (WHO) | |
| |
| 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 Pharmacology Adds a subsection to {{Chembox}}. To be used: |Section6={{Chembox Pharmacology|...}}
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
See also
References
- ↑ Cristau B
| The above documentation is transcluded from Template:Chembox Pharmacology/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |