Difference between revisions of "Template:Infobox drug reference"
Chris Rishel (talk | contribs) Tag: 2017 source edit |
Chris Rishel (talk | contribs) Tag: 2017 source edit |
||
(38 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div class="infobox"> | <templatestyles src="Infobox drug reference/styles.css" /><div class="infobox"> | ||
<div class="infobox-title{{}}">{{PAGENAME}}</div>{{#if:{{{trade_names|}}}| | <div class="infobox-title {{#if:{{{drug_class_color|}}}|drug-class-{{{drug_class_color}}}}}">{{PAGENAME}}</div> | ||
<table class="table">{{#if:{{{trade_names|}}}|<tr> | |||
<th>Trade names</th> | <th>Trade names</th> | ||
<td>{{{trade_names}}}</td> | <td> | ||
</tr | {{{trade_names}}} | ||
</td> | |||
<div | </tr>}}{{#if:{{{image_file|}}}|<tr><td colspan="2" class="infobox-image"> | ||
<div>[[File:{{{image_file}}}|320px]]</div>{{#if:{{{image_caption|}}}| | |||
<div>{{{image_caption}}}</div>}}</td></tr>}}<tr> | |||
<td class="infobox-table-section-heading" colspan="2">Clinical data</td> | |||
</tr>{{#if:{{{drug_class|}}}|<tr> | |||
<th>Drug class</th> | <th>Drug class</th> | ||
<td>{{{drug_class}}}</td> | <td> | ||
</tr>}}</ | {{{drug_class}}} | ||
</ | </td> | ||
</tr>}}{{#if:{{{uses|}}}|<tr> | |||
<th>Uses</th> | |||
<td> | |||
{{{uses}}} | |||
</td> | |||
</tr>}}{{#if:{{{contraindications|}}}|<tr> | |||
<th>Contraindications</th> | |||
routes | <td> | ||
dosage | {{{contraindications}}} | ||
</td> | |||
mechanism | </tr>}}{{#if:{{{routes|}}}|<tr> | ||
adverse_effects | <th>Routes of administration</th> | ||
<td> | |||
time_onset | {{{routes}}} | ||
</td> | |||
</tr>}}{{#if:{{{dosage|}}}|<tr> | |||
metabolism | <th>Dosage</th> | ||
clearance | <td> | ||
bioavailability | {{{dosage}}} | ||
</td> | |||
</tr>}}{{#if:{{{dosage_calculation|}}}|<tr> | |||
<td class="infobox-table-section-heading" colspan="2">Dosage</td> | |||
</tr><tr> | |||
<td colspan="2" class="calculation-infobox"> | |||
<calculatormodule id="drugDosage" /> | |||
<calculatoroptions patientInputInline="true" /> | |||
<div class="calculator-calculation calculator-calculation-drugDosages-{{{dosage_calculation}}}"></div> | |||
</td> | |||
</tr>}}<tr> | |||
<td class="infobox-table-section-heading" colspan="2">Pharmacodynamics</td> | |||
</tr>{{#if:{{{mechanism|}}}|<tr> | |||
< | <th>Mechanism of action</th> | ||
<td> | |||
< | {{{mechanism}}} | ||
</td> | |||
</tr>}}{{#if:{{{adverse_effects|}}}|<tr> | |||
<th>Adverse effects</th> | |||
<td> | |||
{{{adverse_effects}}} | |||
</td> | |||
</tr>}}<tr> | |||
<td class="infobox-table-section-heading" colspan="2">Pharmacokinetics</td> | |||
</tr>{{#if:{{{time_onset|}}}|<tr> | |||
<th>Onset of action</th> | |||
<td> | |||
{{{time_onset}}} | |||
</td> | |||
</tr>}}{{#if:{{{duration|}}}|<tr> | |||
<th>Duration of action</th> | |||
<td> | |||
{{{duration}}} | |||
</td> | |||
</tr>}}{{#if:{{{metabolism|}}}|<tr> | |||
<th>Metabolism</th> | |||
<td> | |||
{{{metabolism}}} | |||
</td> | |||
</tr>}}{{#if:{{{halflife_redistribution|}}}|<tr> | |||
<th>Redistribution half-life</th> | |||
<td> | |||
{{{halflife_redistribution}}} | |||
</td> | |||
</tr>}}{{#if:{{{halflife_elimination|}}}|<tr> | |||
<th>Elimination half-life</th> | |||
<td> | |||
{{{halflife_elimination}}} | |||
</td> | |||
</tr>}}{{#if:{{{clearance|}}}|<tr> | |||
<th>Clearance</th> | |||
<td> | |||
{{{clearance}}} | |||
</td> | |||
</tr>}}{{#if:{{{bioavailability|}}}|<tr> | |||
<th>Bioavailability</th> | |||
<td> | |||
{{{bioavailability}}} | |||
</td> | |||
</tr>}}{{#if:{{{protein_binding|}}}|<tr> | |||
<th>Protein binding</th> | |||
<td> | |||
{{{protein_binding}}} | |||
</td> | |||
</tr>}}{{#if:{{{pka|}}}|<tr> | |||
<th>pKa</th> | |||
<td> | |||
{{{pka}}} | |||
</td> | |||
</tr>}}{{#if:{{{volume_distribution|}}}|<tr> | |||
<th>Volume of distribution</th> | |||
<td> | |||
{{{volume_distribution}}} | |||
</td> | |||
</tr>}}<tr> | |||
<td class="infobox-table-section-heading" colspan="2">Physical and chemical data</td> | |||
</tr>{{#if:{{{formula|}}}|<tr> | |||
<th>Formula</th> | |||
<td> | |||
{{{formula}}} | |||
</td> | |||
</tr>}}{{#if:{{{molar_mass|}}}|<tr> | |||
<th>Molar mass</th> | |||
<td> | |||
{{{molar_mass}}} | |||
</td> | |||
</tr>}}{{#if:{{{boiling_point|}}}|<tr> | |||
<th>Boiling point</th> | |||
<td> | |||
{{{boiling_point}}} | |||
</td> | |||
</tr>}}{{#if:{{{vapor_pressure|}}}|<tr> | |||
<th>Vapor pressure</th> | |||
<td> | |||
{{{vapor_pressure}}} | |||
</td> | |||
</tr>}}{{#if:{{{blood_gas_partition|}}}|<tr> | |||
<th>Blood-gas partition coefficient</th> | |||
<td> | |||
{{{blood_gas_partition}}} | |||
</td> | |||
</tr>}}{{#if:{{{oil_gas_partition|}}}|<tr> | |||
<th>Oil-gas partition coefficient</th> | |||
<td> | |||
{{{oil_gas_partition}}} | |||
</td> | |||
</tr>}} | |||
{{Infobox content footer}} | |||
</table> | |||
</div><noinclude> | |||
<templatedata> | <templatedata> | ||
{ | { | ||
Line 59: | Line 156: | ||
"label": "Article image", | "label": "Article image", | ||
"description": "An image relevant to the drug", | "description": "An image relevant to the drug", | ||
"example": " | "example": "Propofol.png", | ||
"type": "wiki-file-name" | "type": "wiki-file-name" | ||
}, | }, | ||
Line 71: | Line 168: | ||
"description": "List the classes of the drug.", | "description": "List the classes of the drug.", | ||
"example": "Sedative hypnotic", | "example": "Sedative hypnotic", | ||
"type": " | "type": "content", | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
"drug_class_color": { | "drug_class_color": { | ||
"label": "Drug class color", | "label": "Drug class color", | ||
"description": "If applicable, select from one of the predefined options to apply a highlight color for the drug in the title of the infobox. Valid options:\n\nanticholinergic, | "description": "If applicable, select from one of the predefined options to apply a highlight color for the drug in the title of the infobox. Valid options:\n\nanticholinergic, benzodiazepine, benzodiazepine_reversal, cardiovascular_agonist, cardiovascular_antagonist, desflurane, enflurane, halothane, isoflurane, local_anesthetic, nitrous_oxide, neuromuscular_blocker, neuromuscular_blocker_reversal, opioid, opioid_reversal, sedative_hypnotic, sevoflurane", | ||
"example": "sedative_hypnotic", | "example": "sedative_hypnotic", | ||
"type": "line", | "type": "line", | ||
Line 86: | Line 183: | ||
"example": "Induction and maintenance of anesthesia,\nSedation,\n", | "example": "Induction and maintenance of anesthesia,\nSedation,\n", | ||
"type": "content", | "type": "content", | ||
" | "suggested": true | ||
}, | }, | ||
"contraindications": { | "contraindications": { | ||
Line 92: | Line 189: | ||
"description": "If applicable, list absolute and relative contraindications of the drug. Do not include allergy to the drug itself.", | "description": "If applicable, list absolute and relative contraindications of the drug. Do not include allergy to the drug itself.", | ||
"example": "Egg/soy allergy (controversial)", | "example": "Egg/soy allergy (controversial)", | ||
"type": "content", | |||
"suggested": true | "suggested": true | ||
}, | }, | ||
"routes": { | "routes": { | ||
"label": "Routes of administration", | "label": "Routes of administration", | ||
"description": "List the routes of administration of the drug. Standardized options: Epidural, Inhalation, Intramuscular, Intranasal, Intrathecal, Intravenous, Transdermal, | "description": "List the routes of administration of the drug. If one route, use the full term. If multiple routes, use only abbreviations. Standardized options: Epidural (EP), Inhalation (INH), Intramuscular (IM), Intranasal (IN), Intrathecal (IT), Intravenous (IV), Transdermal (TD), Endotracheal (ETT)", | ||
"type": "content", | "type": "content", | ||
" | "suggested": true | ||
}, | }, | ||
"dosage": { | "dosage": { | ||
Line 106: | Line 203: | ||
"example": "Induction of anesthesia:\n* Adult: 1-2.5 mg/kg\n* Elderly: 1-1.5 mg/kg\n* Pediatric: 2.5-3.5 mg/kg\nMaintenance of anesthesia:\n* Adult: 100-200 mcg/kg/min\n* Elderly: 50-100 mcg/kg/min\n* Pediatric: 125-300 mcg/kg/min", | "example": "Induction of anesthesia:\n* Adult: 1-2.5 mg/kg\n* Elderly: 1-1.5 mg/kg\n* Pediatric: 2.5-3.5 mg/kg\nMaintenance of anesthesia:\n* Adult: 100-200 mcg/kg/min\n* Elderly: 50-100 mcg/kg/min\n* Pediatric: 125-300 mcg/kg/min", | ||
"type": "content", | "type": "content", | ||
" | "suggested": true | ||
}, | |||
"dosage_calculation": { | |||
"label": "Dosage calculation id", | |||
"description": "Embeds a drug dosage calculator into the infobox. The drug id must be defined in MediaWiki:Gadgets-calculator-drugs-data.js.", | |||
"example": "propofol", | |||
"type": "line", | |||
"suggested": true | |||
}, | |||
"mechanism": { | |||
"label": "Mechanism of action", | |||
"description": "State the mechanism of action of the drug", | |||
"example": "GABA agonism", | |||
"type": "content", | |||
"suggested": true | |||
}, | |||
"adverse_effects": { | |||
"label": "Adverse effects", | |||
"description": "List important adverse effects of the drug", | |||
"example": "Hypotension, bradycardia, pain on injection", | |||
"type": "content", | |||
"suggested": true | |||
}, | |||
"time_onset": { | |||
"label": "Onset of action", | |||
"description": "State the onset of action of the drug", | |||
"example": "15-30 seconds", | |||
"type": "content", | |||
"suggested": true | |||
}, | |||
"duration": { | |||
"label": "Duration of action", | |||
"description": "State the duration of action of the drug", | |||
"example": "5-10 minutes", | |||
"type": "content", | |||
"suggested": true | |||
}, | |||
"metabolism": { | |||
"label": "Metabolism", | |||
"description": "Describe the metabolism of the drug", | |||
"example": "Liver glucuronidation", | |||
"type": "content", | |||
"suggested": true | |||
}, | |||
"halflife_redistribution": { | |||
"label": "Redistribution half-life", | |||
"description": "State the redistribution half-life of the drug", | |||
"example": "2-8 minutes (initial)\n30-70 minutes (slow)", | |||
"type": "content", | |||
"suggested": true | |||
}, | |||
"halflife_elimination": { | |||
"label": "Elimination half-life", | |||
"description": "State the elimination half-life of the drug", | |||
"example": "1.5-31 hours", | |||
"type": "content", | |||
"suggested": true | |||
}, | |||
"clearance": { | |||
"label": "Clearance", | |||
"description": "State the clearance of the drug", | |||
"example": "1.5-2.2 L/min", | |||
"type": "content", | |||
"suggested": true | |||
}, | |||
"bioavailability": { | |||
"label": "Bioavailability", | |||
"description": "If applicable, state the bioavailability of the drug", | |||
"example": "100%", | |||
"type": "content" | |||
}, | |||
"protein_binding": { | |||
"label": "Protein binding", | |||
"description": "State the protein binding of the drug", | |||
"example": "95-99%", | |||
"type": "content", | |||
"suggested": true | |||
}, | |||
"pka": { | |||
"label": "pKa", | |||
"description": "State the pKa of the drug", | |||
"example": "11", | |||
"type": "content" | |||
}, | |||
"volume_distribution": { | |||
"label": "Volume of distribution", | |||
"description": "State the volume of distribution of the drug", | |||
"example": "6-40 L (central)\n150-700 L (steady state)", | |||
"type": "content" | |||
}, | |||
"formula": { | |||
"label": "Formula", | |||
"description": "State the chemical formula of the drug", | |||
"example": "C<sub>12</sub>H<sub>18</sub>O", | |||
"type": "content" | |||
}, | |||
"molar_mass": { | |||
"label": "Molar mass", | |||
"description": "State the molar mass of the drug", | |||
"example": "178.275 g/mol", | |||
"type": "content" | |||
}, | |||
"boiling_point": { | |||
"label": "Boiling point", | |||
"description": "State the boiling point of the drug at standard pressure", | |||
"example": "58.6 °C", | |||
"type": "content" | |||
}, | |||
"vapor_pressure": { | |||
"label": "Vapor pressure", | |||
"description": "State the vapor pressure of the drug at standard pressure and temperature", | |||
"example": "197 mmHg", | |||
"type": "content" | |||
}, | |||
"blood_gas_partition": { | |||
"label": "Blood-gas partition coefficient", | |||
"description": "State the blood-gas partition coefficient of the drug", | |||
"example": "0.68", | |||
"type": "content" | |||
}, | |||
"oil_gas_partition": { | |||
"label": "Oil-gas partition coefficient", | |||
"description": "State the oil-gas partition coefficient of the drug", | |||
"example": "47", | |||
"type": "content" | |||
} | } | ||
}, | }, | ||
Line 120: | Line 341: | ||
"contraindications", | "contraindications", | ||
"routes", | "routes", | ||
"dosage" | "dosage", | ||
"dosage_calculation", | |||
"mechanism", | |||
"adverse_effects", | |||
"time_onset", | |||
"duration", | |||
"metabolism", | |||
"halflife_redistribution", | |||
"halflife_elimination", | |||
"clearance", | |||
"bioavailability", | |||
"protein_binding", | |||
"pka", | |||
"volume_distribution", | |||
"formula", | |||
"molar_mass", | |||
"boiling_point", | |||
"vapor_pressure", | |||
"blood_gas_partition", | |||
"oil_gas_partition" | |||
] | ] | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |
Latest revision as of 14:19, 19 August 2022
Clinical data | |
Pharmacodynamics | |
Pharmacokinetics | |
Physical and chemical data | |
Article information | |
Editor rating | |
---|---|
Likes | |
Top authors | |
Chris Rishel |
This Infobox will display the most pertinent information about a drug at the top of the article. When appropriate, please use the standardized options listed in the field description (click the (i) icon above each field to show a list which can be copy-pasted). You may also include brief clarification in parenthesis after each item. If using an abbreviation, please link to a page that defines it (e.g. use [[ETT]] not ETT). To display items on separate lines, add <br/> between them.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Trade names | trade_names | If applicable, list trade names of the drug
| Content | suggested |
Article image | image_file | An image relevant to the drug
| File | optional |
Article image caption | image_caption | A caption for the article image | Content | optional |
Drug class | drug_class | List the classes of the drug.
| Content | suggested |
Drug class color | drug_class_color | If applicable, select from one of the predefined options to apply a highlight color for the drug in the title of the infobox. Valid options: anticholinergic, benzodiazepine, benzodiazepine_reversal, cardiovascular_agonist, cardiovascular_antagonist, desflurane, enflurane, halothane, isoflurane, local_anesthetic, nitrous_oxide, neuromuscular_blocker, neuromuscular_blocker_reversal, opioid, opioid_reversal, sedative_hypnotic, sevoflurane
| Line | suggested |
Uses | uses | List the uses of the drug
| Content | suggested |
Contraindications | contraindications | If applicable, list absolute and relative contraindications of the drug. Do not include allergy to the drug itself.
| Content | suggested |
Routes of administration | routes | List the routes of administration of the drug. If one route, use the full term. If multiple routes, use only abbreviations. Standardized options: Epidural (EP), Inhalation (INH), Intramuscular (IM), Intranasal (IN), Intrathecal (IT), Intravenous (IV), Transdermal (TD), Endotracheal (ETT) | Content | suggested |
Dosage | dosage | List dosages of the drug. Use multiple lines and/or bullet points if necessary.
| Content | suggested |
Dosage calculation id | dosage_calculation | Embeds a drug dosage calculator into the infobox. The drug id must be defined in MediaWiki:Gadgets-calculator-drugs-data.js.
| Line | suggested |
Mechanism of action | mechanism | State the mechanism of action of the drug
| Content | suggested |
Adverse effects | adverse_effects | List important adverse effects of the drug
| Content | suggested |
Onset of action | time_onset | State the onset of action of the drug
| Content | suggested |
Duration of action | duration | State the duration of action of the drug
| Content | suggested |
Metabolism | metabolism | Describe the metabolism of the drug
| Content | suggested |
Redistribution half-life | halflife_redistribution | State the redistribution half-life of the drug
| Content | suggested |
Elimination half-life | halflife_elimination | State the elimination half-life of the drug
| Content | suggested |
Clearance | clearance | State the clearance of the drug
| Content | suggested |
Bioavailability | bioavailability | If applicable, state the bioavailability of the drug
| Content | optional |
Protein binding | protein_binding | State the protein binding of the drug
| Content | suggested |
pKa | pka | State the pKa of the drug
| Content | optional |
Volume of distribution | volume_distribution | State the volume of distribution of the drug
| Content | optional |
Formula | formula | State the chemical formula of the drug
| Content | optional |
Molar mass | molar_mass | State the molar mass of the drug
| Content | optional |
Boiling point | boiling_point | State the boiling point of the drug at standard pressure
| Content | optional |
Vapor pressure | vapor_pressure | State the vapor pressure of the drug at standard pressure and temperature
| Content | optional |
Blood-gas partition coefficient | blood_gas_partition | State the blood-gas partition coefficient of the drug
| Content | optional |
Oil-gas partition coefficient | oil_gas_partition | State the oil-gas partition coefficient of the drug
| Content | optional |