Template:Infobox drug: Difference between revisions
From WikiMD's Wellness Encyclopedia
Replaced content with "<includeonly> {| class="infobox" style="width: 22em; font-size: 90%;" |+ '''{{{name|{{PAGENAME}}}}}''' |- ! colspan="2" style="background: #EFEFEF; text-align: center;" |..." Tag: Replaced |
No edit summary |
||
| (8 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{| class="infobox" style="width: 22em; font-size: 90%;" | {| class="infobox" style="width: 22em; font-size: 90%;" | ||
| | ! colspan="2" style="background:#ddd; text-align: center;" | {{{drug_name|{{PAGENAME}}}}} | ||
|- | |- | ||
| colspan="2" style="text-align:center;" | [[File:{{{image|}}}|frameless|220px|alt={{{alt|}}}|{{{caption|}}}]] | |||
|- | |- | ||
| | ! [[International Nonproprietary Name|INN]] | ||
| {{{ | | {{{INN|}}} | ||
|- | |- | ||
! [[Drug class]] | |||
| {{{ | | {{{class|}}} | ||
|- | |- | ||
! [[Routes of administration]] | |||
| {{{ | | {{{routes_of_administration|}}} | ||
|- | |- | ||
! [[Pregnancy category]] | |||
| {{{ | | {{{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|}}} | | {{{PubChem|}}} | ||
|- | |- | ||
! [[DrugBank]] | |||
| {{{DrugBank|}}} | | {{{DrugBank|}}} | ||
|- | |- | ||
! [[ChemSpider]] | |||
| {{{ChemSpiderID|}}} | | {{{ChemSpiderID|}}} | ||
|- | |- | ||
! [[KEGG]] | |||
| {{{KEGG|}}} | | {{{KEGG|}}} | ||
|} | |} | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
== | == Documentation == | ||
This template | This template provides a basic infobox for drugs. Include relevant parameters for display. | ||
=== Parameters === | |||
* '''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 == | === Example Usage === | ||
< | <code> | ||
{{Infobox drug | {{Infobox drug | ||
| | | drug_name = Paracetamol | ||
| image = | | image = Paracetamol-3D.png | ||
| caption = Structure of paracetamol | |||
| caption = | | INN = Paracetamol | ||
| | | 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 | |||
| ChemSpiderID = 1915 | |||
| | | KEGG = D00114 | ||
| | |||
| | |||
| | |||
}} | }} | ||
</ | </code> | ||
</noinclude> | </noinclude> | ||
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