Template:Infobox medical condition/doc: Difference between revisions

From greek.doctor
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 141: Line 141:
"type": "string",
"type": "string",
"aliases": [
"aliases": [
"fetchwikidata",
"onlysourced",
"field",
"field",
"speciality"
"speciality"
Line 237: Line 235:
"type": "number"
"type": "number"
},
},
"definition": {}
"definition": {
"type": "string"
}
},
},
"paramOrder": [
"paramOrder": [

Revision as of 22:06, 25 January 2024

The {{Infobox medical condition}} template may be used for any medical condition. Its use is not limited strictly to diseases. Please consider adding the {{Medical resources}} navbox template at the same time.

Usage

The template is a summary about the condition itself. Don't worry about trying to fill in all the fields—even if you can only get one or two, that can still be useful. Items are provided as a list with a typical maximum of six.

While editing a condition, copy and paste the following text at the top of the page:

{{{name}}}
Other names{{{synonyms}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright={{{image_upright}}}|thumbtime={{{image_thumbtime}}}]]
{{{caption}}}
[[File:{{{image2}}}|{{{image_size2}}}|alt={{{alt2}}}|upright={{{image2_upright}}}|thumbtime={{{image_thumbtime2}}}]]
{{{caption2}}}
Symptoms{{{symptoms}}}
Complications{{{complications}}}
Usual onset{{{onset}}}
Duration{{{duration}}}
Types{{{types}}}
Causes{{{causes}}}
Risk factors{{{risks}}}
Diagnostic method{{{diagnosis}}}
Differential diagnosis{{{differential}}}
Prevention{{{prevention}}}
Treatment{{{treatment}}}
Medication{{{medication}}}
Prognosis{{{prognosis}}}
Deaths{{{deaths}}}

<syntaxhighlight lang="wikitext" style="overflow:auto;">

Infobox medical condition/doc

</syntaxhighlight>

The |treatment= parameter may be replaced by |management=. This will change the label to "Management".

The |onset_always= parameter may be set, as |onset_always=y, to display "Onset" instead of "Usual onset". This makes sense for most genetic conditions, or conditions guaranteed to always happen at a certain time.

The |frequency= parameter may be replaced by |incidence= or |prevalence=. This will change the label to "Incidence" or "Prevalence" respectively.

Tracking categories

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Infobox medical condition in articles based on its TemplateData.

TemplateData for Infobox medical condition

Infobox for medical conditions

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
namename

Name of disease or medical condition (should be the same as the title of the article)

Example
Posttraumatic stress disorder
Stringrequired
definitiondefinition

no description

Stringoptional
synonymsynonym synonyms

Common terms for the illness or condition.

Example
Upper respiratory tract infection – "common cold", "bug", "snuffles"
Stringoptional
imageimage

Image file (just the filename without File: or |thumb, etc.)

Example
USMC-120503-M-9426J-001.jpg
Filesuggested
captioncaption

Caption for the image.

Example
Claude Monet, The Water Lilies – Setting Sun, 1920–1926, Musée de l'Orangerie
Stringsuggested
Image uprightimage_upright

The upright value for the image.

Example
1.3
Numberoptional
image_sizeimage_size width

Size of image. (See MOS:IMAGE for help.)

Example
250px
Stringoptional
image_thumbtimeimage_thumbtime

Specifies time (seconds) of video to draw thumbnail image from

Example
4
Numberoptional
image2image2

Image file (just the filename without File: or |thumb, etc.)

Example
USMC-120503-M-9426J-001.jpg
Filesuggested
caption2caption2

Caption for the image.

Example
Claude Monet, The Water Lilies – Setting Sun, 1920–1926, Musée de l'Orangerie
Stringsuggested
Second image uprightimage2_upright

The upright value for the second image.

Example
1.3
Numberoptional
image_size2image_size2 width

Size of image. (See MOS:IMAGE for help.)

Example
250px
Stringoptional
image_thumbtime2image_thumbtime2

Specifies time (seconds) of video to draw thumbnail image from

Example
4
Numberoptional
specialtyspecialty field speciality

Main health specialties involved with diagnosis and treatment of the disorder.

Example
Psychiatry, clinical psychology
Stringoptional
symptomssymptoms

Brief description of most common symptoms (or symptom clusters)

Example
Disturbing thoughts, feelings, or dreams related to the event; mental or physical distress to trauma-related cues; efforts to avoid trauma-related situations; increased fight-or-flight response
Stringoptional
onsetonset

Typical or average age of onset (if known)

Example
Schizophrenia – Early adulthood
Stringoptional
durationduration

Average or median duration of illness or range (if known)

Example
Upper respiratory tract infection – 7 to 14 days
Stringoptional
causescauses cause

Cause of the disease (if known). Try to separate from risk factors, although some overlap is common.

Example
Diabetes (Type 2) – Family history; obesity; sedentary lifestyle; age over 45
Stringoptional
typestypes

no description

Unknownoptional
risksrisks risk

Risk factors

Example
Heart disease – Smoking; high blood pressure; high cholesterol; obesity; family history (genetics)
Stringoptional
diagnosisdiagnosis

How is the illness usually diagnosed? For example: Based on symptoms, medical imagine, genetic testing, blood tests, etc.

Stringoptional
differentialdifferential differential diagnosis diff

Differential diagnosis (what other disease or conditions should be evaluated before concluding patient has the illness).

Example
Crohn's disease – Gastritis, gallstones, peptic ulcer, abdominal aortic aneurysm, constipation, irritable bowel syndrome, ulcerative colitis
Stringoptional
preventionprevention

no description

Unknownoptional
treatmenttreatment management

Common treatments. May be replaced by 'management' as appropriate.

Stringsuggested
medicationmedication

no description

Unknownoptional
prognosisprognosis

no description

Unknownoptional
frequencyfrequency incidence prevalence

Incidence (rate of newly diagnosed cases of the disease during a specified period of time, e.g., one month or one year); Period prevalence (the actual number people with the disease during a specified period of time); Lifetime prevalence (the proportion of people who have had the disorder at some time in their life); Lifetime morbid risk (the proportion of people who will eventually develop the disorder at some time in their life whether or not they have a lifetime history at the time of assessment).

Example
PTSD – 8.7% (lifetime risk); 3.5% (12-month risk, US)
Stringoptional
deathsdeaths

Number of deaths per unit of time. Specify the unit of time, such as per year.

Stringoptional
named afternamed after eponym

Intended for diseases and conditions named after a person or place.

Example
[[James Parkinson]]
Stringoptional
complicationscomplications

no description

Unknownoptional