Template:Infobox drug: Difference between revisions

From WikiMD's Wellness Encyclopedia

CSV import
 
No edit summary
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
{{Infobox
{| class="infobox" style="width: 22em; font-size: 90%;"
| name                = {{{name|{{PAGENAME}}}}}
! colspan="2" style="background:#ddd; text-align: center;" | {{{drug_name|{{PAGENAME}}}}}
| IUPAC_name          = {{{IUPAC_name|}}}
|-
| image              = {{{image|}}}
| colspan="2" style="text-align:center;" | [[File:{{{image|}}}|frameless|220px|alt={{{alt|}}}|{{{caption|}}}]]
| caption            = {{{caption|}}}
|-
| pronounce          = {{{pronounce|}}}
! [[International Nonproprietary Name|INN]]
| type                = {{{type|}}}
| {{{INN|}}}
| class              = {{{class|}}}
|-
| uses                = {{{uses|}}}
! [[Drug class]]
| ATC_code_prefix    = {{{ATC_code_prefix|}}}
| {{{class|}}}
| legal_status        = {{{legal_status|}}}
|-
| bioavailability    = {{{bioavailability|}}}
! [[Routes of administration]]
| metabolism          = {{{metabolism|}}}
| {{{routes_of_administration|}}}
| elimination_half-life= {{{elimination_half-life|}}}
|-
| excretion          = {{{excretion|}}}
! [[Pregnancy category]]
| CAS_number          = {{{CAS_number|}}}
| {{{pregnancy_category|}}}
}}
|-
! [[Bioavailability]]
| {{{bioavailability|}}}
|-
! [[Metabolism]]
| {{{metabolism|}}}
|-
! [[Biological half-life|Elimination half-life]]
| {{{elimination_half-life|}}}
|-
! [[Excretion]]
| {{{excretion|}}}
|-
! [[Legal status]]
| {{{legal_status|}}}
|-
! [[CAS Registry Number|CAS Number]]
| {{{CAS_number|}}}
|-
! [[PubChem]]
| {{{PubChem|}}}
|-
! [[DrugBank]]
| {{{DrugBank|}}}
|-
! [[ChemSpider]]
| {{{ChemSpiderID|}}}
|-
! [[KEGG]]
| {{{KEGG|}}}
|}
</includeonly><noinclude>
== Documentation ==
This template provides a basic infobox for drugs. Include relevant parameters for display.


</includeonly><noinclude>
=== Parameters ===
== Usage ==
* '''drug_name''' - Name of the drug.
To use this template, copy and paste the following code into the top of an article about a drug and fill in the appropriate fields:
* '''image''' - Image file name.
* '''caption''' - Caption for the image.
* '''INN''' - International Nonproprietary Name.
* '''class''' - Drug class.
* '''routes_of_administration''' - Methods of administration.
* '''pregnancy_category''' - Pregnancy safety category.
* '''bioavailability''' - Bioavailability of the drug.
* '''metabolism''' - Metabolism details.
* '''elimination_half-life''' - Half-life of the drug.
* '''excretion''' - Excretion pathways.
* '''legal_status''' - Legal status.
* '''CAS_number''' - CAS Registry Number.
* '''PubChem''' - PubChem Compound ID.
* '''DrugBank''' - DrugBank ID.
* '''ChemSpiderID''' - ChemSpider ID.
* '''KEGG''' - KEGG identifier.


<pre>
=== Example Usage ===
<code>
{{Infobox drug
{{Infobox drug
| name                =  
| drug_name = Paracetamol
| IUPAC_name          =  
| image = Paracetamol-3D.png
| image              =  
| caption = Structure of paracetamol
| caption            =  
| INN = Paracetamol
| pronounce          =  
| class = Analgesic
| type                =  
| routes_of_administration = Oral
| class              =  
| pregnancy_category = A
| uses                =  
| bioavailability = 90%
| ATC_code_prefix    =  
| metabolism = Liver
| legal_status       =  
| elimination_half-life = 1-4 hours
| bioavailability    =  
| excretion = Renal
| metabolism          =  
| legal_status = OTC
| elimination_half-life=  
| CAS_number = 103-90-2
| excretion          =  
| PubChem = 1983
| CAS_number          =  
| DrugBank = DB00316
| ChemSpiderID = 1915
| KEGG = D00114
}}
}}
</pre>
</code>
 
=== Parameters ===
* '''name''' – The name of the drug.
* '''IUPAC_name''' – The International Union of Pure and Applied Chemistry (IUPAC) name for the drug.
* '''image''' – An image related to the drug. Format: [[File:Example.jpg|200px]]
* '''caption''' – A brief caption for the image.
* '''pronounce''' – The pronunciation of the drug name.
* '''type''' – The type of drug (e.g. antibiotic, antiviral, antifungal, etc.).
* '''class''' – The pharmacological class of the drug.
* '''uses''' – The medical uses of the drug.
* '''ATC_code_prefix''' – The Anatomical Therapeutic Chemical (ATC) classification system code prefix for the drug.
* '''legal_status''' – The legal status of the drug (e.g. prescription only, over-the-counter, controlled substance, etc.).
* '''bioavailability''' – The drug's bioavailability (e.g. oral, intravenous, intramuscular, etc.).
* '''metabolism''' – How the drug is metabolized, usually specifying the organ (e.g. liver, kidneys, etc.).
* '''elimination_half-life''' – The elimination half-life of the drug.
* '''excretion''' – How the drug is excreted from the body (e.g. urine, feces, etc.).
* '''CAS_number''' – The Chemical Abstracts Service (CAS) registry number for the drug.
 
[[Category:Infobox templates]]
</noinclude>
</noinclude>
{{no-index-template}}

Latest revision as of 19:27, 29 April 2025

Documentation[edit]

This template provides a basic infobox for drugs. Include relevant parameters for display.

Parameters[edit]

  • drug_name - Name of the drug.
  • image - Image file name.
  • caption - Caption for the image.
  • INN - International Nonproprietary Name.
  • class - Drug class.
  • routes_of_administration - Methods of administration.
  • pregnancy_category - Pregnancy safety category.
  • bioavailability - Bioavailability of the drug.
  • metabolism - Metabolism details.
  • elimination_half-life - Half-life of the drug.
  • excretion - Excretion pathways.
  • legal_status - Legal status.
  • CAS_number - CAS Registry Number.
  • PubChem - PubChem Compound ID.
  • DrugBank - DrugBank ID.
  • ChemSpiderID - ChemSpider ID.
  • KEGG - KEGG identifier.

Example Usage[edit]

Paracetamol
INN Paracetamol
Drug class Analgesic
Routes of administration Oral
Pregnancy category A
Bioavailability 90%
Metabolism Liver
Elimination half-life 1-4 hours
Excretion Renal
Legal status OTC
CAS Number 103-90-2
PubChem 1983
DrugBank DB00316
ChemSpider 1915
KEGG D00114