Template:Drug: Difference between revisions

From WikiMSK

No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:


{{#if:{{{image|}}}    |{{Row/image    | {{{image}}}              }}                                  }}
{{#if:{{{image|}}}    |{{Row/image    | {{{image}}}              }}                                  }}
{{#if:{{{caption|}}}    |{{Row/caption    | {{{caption}}}              }}                                  }}
{{#if:{{{name|}}}      |{{row/kv| Name| {{{name}}}              }} {{info/name}}                    }}
{{#if:{{{name|}}}      |{{row/kv| Name| {{{name}}}              }} {{info/name}}                    }}
{{#if:{{{other names|}}}  |{{row/kv| Other names| {{{other names}}}          }} {{info/other names}}                }}
{{#if:{{{other names|}}}  |{{row/kv| Other names| {{{other names}}}          }} {{info/other names}}                }}
{{#if:{{{formulations|}}}  |{{row/kv| Formulations| {{{formulations}}}          }} {{info/formulations}}                }}
{{#if:{{{class|}}}  |{{row/kv| Drug class| {{{class}}}        }} {{info/class}}                }}
{{#if:{{{class|}}}  |{{row/kv| Drug class| {{{class}}}        }} {{info/class}}                }}
{{#if:{{{dose|}}}  |{{row/kv| Daily dose| {{{dose}}}          }} {{info/dose}}                }}
{{#if:{{{dose|}}}  |{{row/kv| Daily dose| {{{dose}}}          }} {{info/dose}}                }}
{{#if:{{{maxdose|}}}  |{{row/kv| Maximum dose| {{{maxdose}}}          }} {{info/maxdose}}                }}
{{#if:{{{onset|}}}  |{{row/kv| Onset of action | {{{onset}}}          }} {{info/onset}}                }}
{{#if:{{{onset|}}}  |{{row/kv| Onset of action | {{{onset}}}          }} {{info/onset}}                }}
{{#if:{{{duration|}}}  |{{row/kv| Duration of action | {{{duration}}}          }} {{info/duration}}                }}
{{#if:{{{duration|}}}  |{{row/kv| Duration of action | {{{duration}}}          }} {{info/duration}}                }}
Line 26: Line 29:
{{drug
{{drug
|image=
|image=
|caption=
|name=
|name=
|other names=
|other names=
|formulations=
|class=
|class=
|dose=
|dose=
|maxdose=
|onset=
|onset=
|duration=
|duration=
Line 54: Line 60:
"image": {},
"image": {},
"other names": {},
"other names": {},
"class": {},
"class": {
"label": "Drug Class"
},
"dose": {
"dose": {
"label": "Daily dose",
"label": "Daily dose",
Line 82: Line 90:
"description": "NZ Formulary URL",
"description": "NZ Formulary URL",
"example": "https://nzf.org.nz/nzf_2439"
"example": "https://nzf.org.nz/nzf_2439"
}
},
"maxdose": {
"label": "Maximum Dose"
},
"formulations": {
"label": "Formulations"
},
"caption": {}
},
},
"description": "Adds a drug infobox"
"description": "Adds a drug infobox",
"paramOrder": [
"image",
"caption",
"other names",
"formulations",
"class",
"dose",
"maxdose",
"onset",
"duration",
"metabolism",
"half life",
"indications",
"indication",
"contraindications",
"side effects",
"interactions",
"chemical structure",
"drugbank ID",
"NZF ID"
]
}
}
</templatedata></noinclude>
</templatedata></noinclude>

Latest revision as of 20:49, 19 July 2021

Drug


The {{drug}} infobox template allows you to describe drugs.

Template

{{drug
|image=
|caption=
|name=
|other names=
|formulations=
|class=
|dose=
|maxdose=
|onset=
|duration=
|metabolism=
|half life=
|indications=
|antagonists=
|contraindications=
|side effects=
|interactions=
|chemical structure=
|drugbank ID=
|NZF ID=
}}

Articles using Template

Adds a drug infobox

Template parameters

ParameterDescriptionTypeStatus
imageimage

no description

Unknownoptional
captioncaption

no description

Unknownoptional
other namesother names

no description

Unknownoptional
Formulationsformulations

no description

Unknownoptional
Drug Classclass

no description

Unknownoptional
Daily dosedose

no description

Example
500mg twice daily
Unknownoptional
Maximum Dosemaxdose

no description

Unknownoptional
Onset of actiononset

no description

Unknownoptional
Duration of actionduration

no description

Unknownoptional
metabolismmetabolism

no description

Unknownoptional
half lifehalf life

no description

Unknownoptional
indicationsindications

no description

Unknownoptional
indicationindication

no description

Unknownoptional
contraindicationscontraindications

no description

Unknownoptional
side effectsside effects

no description

Unknownoptional
interactionsinteractions

no description

Unknownoptional
chemical structurechemical structure

no description

Unknownoptional
DrugBank URLdrugbank ID

drugbank.com URL

URLoptional
NZ Formulary IDNZF ID

NZ Formulary URL

Example
https://nzf.org.nz/nzf_2439
Unknownoptional