Difference between revisions of "Template:Chembox Pharmacology"
imported>DePiep m (See {{Chembox}} and talk. parameter name change. (via JWB)) |
imported>DePiep (licence-EU data (EMA EPAR link), searhc by INN (not product name). Following Template:infobox drug (improved existing subtemplate). See Template talk:Chembox#EMA) |
||
| Line 1: | Line 1: | ||
| − | {{#if:{{{Drug_class|}}}{{{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|}}}{{{License_EU|}}}{{{License_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 9: | Line 9: | ||
|ref={{{Pharmacology_ref|}}}<!-- | |ref={{{Pharmacology_ref|}}}<!-- | ||
----- maintenance cats ----- | ----- maintenance cats ----- | ||
| − | -->|addMainCategories={{#ifeq:{{lc:{{{ATCCode_prefix|}}}}} |none |[[Category:Drugs not assigned an ATC code]]}}<!-- | + | -->|addMainCategories={{#ifeq:{{lc:{{{ATCCode_prefix|}}}}} |none |[[Category:Drugs not assigned an ATC code]]}}{{#if:{{{Licence_EU|}}}{{{License_EU|}}}|[[Category:Drug has EMA link|*]]}}<!-- |
----- templatepar ----- | ----- templatepar ----- | ||
-->|templatepar={{#invoke:TemplatePar | -->|templatepar={{#invoke:TemplatePar | ||
|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= Drug_class= 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= INN= INN_EMA= Licence_EU= Licence_US= License_EU= License_US= 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_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= | ||
Pregnancy_category= Pregnancy_AU= Pregnancy_US= Pregnancy_AU_comment= Pregnancy_US_comment= | Pregnancy_category= Pregnancy_AU= Pregnancy_US= Pregnancy_AU_comment= Pregnancy_US_comment= | ||
PLLR= Dependence_liability= | PLLR= Dependence_liability= | ||
| Line 33: | Line 31: | ||
|pregnancy_US_comment={{{Pregnancy_US_comment|}}} | |pregnancy_US_comment={{{Pregnancy_US_comment|}}} | ||
|PLLR={{{PLLR|}}} }}}} | |PLLR={{{PLLR|}}} }}}} | ||
| − | {{#if:{{{Licence_EU|}}}{{{Licence_US|}}} | + | {{#if:{{{Licence_EU|}}}{{{Licence_US|}}}{{{License_EU|}}}{{{License_US|}}}{{{DailyMedID|}}} |
|{{Chembox Licence | |{{Chembox Licence | ||
| − | | | + | |licence_EU={{#if:{{{Licence_EU|}}}{{{License_EU|}}}|yes}} |
| − | | | + | |INN_EMA={{{INN_EMA|}}} |
| + | |INN={{{INN|}}} | ||
| + | <!-- |drug_name={{{drug_name|}}} not used --> | ||
| + | |licence_US={{{Licence_US|}}}{{{License_US|}}} | ||
| + | |DailyMedID={{{DailyMedID|}}} | ||
| + | }}<!-- Licence_CA not supported (no webpage available); 2016 -->}} | ||
{{#if:{{{Dependence_liability|}}} |{{Chembox Dependence_liability |value={{{Dependence_liability|}}} }}}} | {{#if:{{{Dependence_liability|}}} |{{Chembox Dependence_liability |value={{{Dependence_liability|}}} }}}} | ||
{{#if:{{{Addiction_liability|}}} |{{Chembox Addiction_liability |value={{{Addiction_liability|}}} }}}} | {{#if:{{{Addiction_liability|}}} |{{Chembox Addiction_liability |value={{{Addiction_liability|}}} }}}} | ||
Revision as of 13:31, 21 October 2017
| 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. |