Template:Infobox medical condition/doc: Difference between revisions

From greek.doctor
m (1 revision imported)
No edit summary
 
(18 intermediate revisions by the same user not shown)
Line 5: Line 5:
{{auto short description}}
{{auto short description}}


{{Lua|Module:Infobox|Module:InfoboxImage|Module:String2|Module:WikidataIB|Module:PrevalenceData|Module:Check for unknown parameters}}
{{Lua|Module:Infobox|Module:InfoboxImage|Module:String2Module:PrevalenceData|Module:Check for unknown parameters}}
{{Uses Wikidata|P1995}}


The {{tlx|Infobox medical condition}} template may be used for any medical condition. Its use is not limited strictly to diseases. Please consider adding the {{tl|Medical resources}} navbox template at the same time.
The {{tlx|Infobox medical condition}} template may be used for any medical condition. Its use is not limited strictly to diseases. Please consider adding the {{tl|Medical resources}} navbox template at the same time.
Line 21: Line 20:
  |name            =  
  |name            =  
  |synonyms        = <!-- or |synonym= -->
  |synonyms        = <!-- or |synonym= -->
|frequency      = <!-- also |incidence or |prevalence= -->
  |image          =  
  |image          =  
  |image_upright  =  
  |image_upright  =  
Line 39: Line 39:
  |specialty      = <!-- from Wikidata; can be overwritten -->
  |specialty      = <!-- from Wikidata; can be overwritten -->
  |symptoms        =  
  |symptoms        =  
|complications  =
  |onset          =  
  |onset          =  
  |duration        =  
  |duration        =  
Line 51: Line 50:
  |medication      =  
  |medication      =  
  |prognosis      =  
  |prognosis      =  
  |frequency      = <!-- also |incidence= or |prevalence= -->
  |complications  =  
  |deaths          =  
  |deaths          =  
  |named after    = <!-- or |eponym= -->
  |named after    = <!-- or |eponym= -->
Line 91: Line 90:
"description": "Image file (just the filename without File: or |thumb, etc.)",
"description": "Image file (just the filename without File: or |thumb, etc.)",
"example": "USMC-120503-M-9426J-001.jpg",
"example": "USMC-120503-M-9426J-001.jpg",
"type": "wiki-file-name",
"type": "wiki-file-name"
"suggested": true
},
},
"alt": {
"alt": {
"description": "Brief description of image for individuals who cannot see the image.",
"description": "Brief description of image for individuals who cannot see the image.",
"example": "Painting by Monet of water lillies",
"example": "Painting by Monet of water lillies",
"type": "string",
"type": "string"
"suggested": true
},
},
"caption": {
"caption": {
"description": "Caption for the image.",
"description": "Caption for the image.",
"example": "Claude Monet, The Water Lilies – Setting Sun, 1920–1926, Musée de l'Orangerie",
"example": "Claude Monet, The Water Lilies – Setting Sun, 1920–1926, Musée de l'Orangerie",
"type": "string",
"type": "string"
"suggested": true
},
},
"image_size": {
"image_size": {
Line 122: Line 118:
"description": "Image file (just the filename without File: or |thumb, etc.)",
"description": "Image file (just the filename without File: or |thumb, etc.)",
"example": "USMC-120503-M-9426J-001.jpg",
"example": "USMC-120503-M-9426J-001.jpg",
"type": "wiki-file-name",
"type": "wiki-file-name"
"suggested": true
},
},
"alt2": {
"alt2": {
"description": "Brief description of image for individuals who cannot see the image.",
"description": "Brief description of image for individuals who cannot see the image.",
"example": "Painting by Monet of water lillies",
"example": "Painting by Monet of water lillies",
"type": "string",
"type": "string"
"suggested": true
},
},
"caption2": {
"caption2": {
"description": "Caption for the image.",
"description": "Caption for the image.",
"example": "Claude Monet, The Water Lilies – Setting Sun, 1920–1926, Musée de l'Orangerie",
"example": "Claude Monet, The Water Lilies – Setting Sun, 1920–1926, Musée de l'Orangerie",
"type": "string",
"type": "string"
"suggested": true
},
},
"image_size2": {
"image_size2": {
Line 162: Line 155:
"type": "string",
"type": "string",
"aliases": [
"aliases": [
"fetchwikidata",
"onlysourced",
"field",
"speciality"
"speciality"
]
]
Line 171: Line 161:
"description": "Brief description of most common symptoms (or symptom clusters)",
"description": "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",
"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",
"type": "string"
"type": "string",
"suggested": true
},
},
"onset": {
"onset": {
"description": "Typical or average age of onset (if known)",
"description": "Typical or average age of onset (if known)",
"example": "Schizophrenia – Early adulthood",
"example": "Schizophrenia – Early adulthood",
"type": "string"
"type": "string",
"suggested": true
},
},
"onset_always": {
"onset_always": {
Line 186: Line 178:
"description": "Average or median duration of illness or range (if known)",
"description": "Average or median duration of illness or range (if known)",
"example": "Upper respiratory tract infection – 7 to 14 days",
"example": "Upper respiratory tract infection – 7 to 14 days",
"type": "string"
},
"causes": {
"description": "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",
"type": "string",
"type": "string",
"aliases": [
"suggested": true
"cause"
]
},
},
"risks": {
"risks": {
Line 202: Line 187:
"aliases": [
"aliases": [
"risk"
"risk"
]
],
"suggested": true
},
},
"diagnosis": {
"diagnosis": {
"description": "How is the illness usually diagnosed? For example: Based on symptoms, medical imagine, genetic testing, blood tests, etc.",
"description": "How is the illness usually diagnosed? For example: Based on symptoms, medical imagine, genetic testing, blood tests, etc.",
"type": "string"
"type": "string",
"suggested": true
},
},
"differential": {
"differential": {
Line 215: Line 202:
"differential diagnosis",
"differential diagnosis",
"diff"
"diff"
]
],
"suggested": true
},
},
"prevention": {},
"prevention": {},
Line 227: Line 215:
},
},
"medication": {},
"medication": {},
"prognosis": {},
"prognosis": {
"suggested": true
},
"frequency": {
"frequency": {
"description": "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).",
"description": "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).",
Line 235: Line 225:
"incidence",
"incidence",
"prevalence"
"prevalence"
]
],
"suggested": true
},
},
"deaths": {
"deaths": {
Line 250: Line 241:
},
},
"pronounce 2": {},
"pronounce 2": {},
"complications": {},
"complications": {
"suggested": true,
"type": "string",
"suggestedvalues": [
"Death",
"Heart failure"
]
},
"types": {},
"types": {},
"QID": {},
"QID": {},
Line 264: Line 262:
"example": "1.3",
"example": "1.3",
"type": "number"
"type": "number"
},
"cause": {
"label": "Most common causes",
"description": "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",
"type": "string",
"suggested": true,
"aliases": [
"causes"
]
},
"definition": {
"type": "string",
"required": true
}
}
},
},
"paramOrder": [
"paramOrder": [
"name",
"name",
"definition",
"synonym",
"synonym",
"frequency",
"image",
"image",
"alt",
"alt",
Line 283: Line 297:
"pronounce",
"pronounce",
"specialty",
"specialty",
"cause",
"symptoms",
"symptoms",
"onset",
"onset",
"onset_always",
"onset_always",
"duration",
"duration",
"causes",
"risks",
"risks",
"diagnosis",
"diagnosis",
"differential",
"differential",
"treatment",
"prevention",
"prevention",
"treatment",
"medication",
"medication",
"prognosis",
"prognosis",
"frequency",
"complications",
"deaths",
"deaths",
"named after",
"named after",
"pronounce 2",
"pronounce 2",
"complications",
"types",
"types",
"QID"
"QID"
Line 309: Line 322:
<!-- Categories below this line, please; interwikis at Wikidata -->
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Medicine infobox templates|Medical condition]]
[[Category:Medicine infobox templates|Medical condition]]
[[Category:Infobox templates using Wikidata]]
[[Category:Templates that add a tracking category]]
[[Category:Templates that add a tracking category]]
}}</includeonly>
}}</includeonly>

Latest revision as of 17:42, 20 February 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

Stringrequired
synonymsynonym synonyms

Common terms for the illness or condition.

Example
Upper respiratory tract infection – "common cold", "bug", "snuffles"
Stringoptional
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)
Stringsuggested
imageimage

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

Example
USMC-120503-M-9426J-001.jpg
Fileoptional
altalt

Brief description of image for individuals who cannot see the image.

Example
Painting by Monet of water lillies
Stringoptional
captioncaption

Caption for the image.

Example
Claude Monet, The Water Lilies – Setting Sun, 1920–1926, Musée de l'Orangerie
Stringoptional
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
Fileoptional
alt2alt2

Brief description of image for individuals who cannot see the image.

Example
Painting by Monet of water lillies
Stringoptional
caption2caption2

Caption for the image.

Example
Claude Monet, The Water Lilies – Setting Sun, 1920–1926, Musée de l'Orangerie
Stringoptional
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
pronouncepronounce pronunciation pronounce comment pronounce ref

no description

Unknownoptional
specialtyspecialty speciality

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

Example
Psychiatry, clinical psychology
Stringoptional
Most common causescause causes

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
Stringsuggested
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
Stringsuggested
onsetonset

Typical or average age of onset (if known)

Example
Schizophrenia – Early adulthood
Stringsuggested
onset_alwaysonset_always

Any string, e.g. `y`, will force display of heading “Onset” instead of “Usual onset”

Example
y
Stringoptional
durationduration

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

Example
Upper respiratory tract infection – 7 to 14 days
Stringsuggested
risksrisks risk

Risk factors

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

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

Stringsuggested
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
Stringsuggested
treatmenttreatment management

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

Stringsuggested
preventionprevention

no description

Unknownoptional
medicationmedication

no description

Unknownoptional
prognosisprognosis

no description

Unknownsuggested
complicationscomplications

no description

Suggested values
Death Heart failure
Stringsuggested
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
pronounce 2pronounce 2

no description

Unknownoptional
typestypes

no description

Unknownoptional
QIDQID

no description

Unknownoptional