Template:Infobox medical condition/doc: Difference between revisions
No edit summary Tag: Reverted |
No edit summary |
||
(13 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> | <!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> | ||
{{hatnote|See also <span class{{=}}"plainlinks">[https://en.wikipedia.org/wiki/Special:PrefixIndex?prefix{{=}}Infobox+medical+condition+%28old%29%2F&namespace{{=}}10 Special PrefixIndex Template:Infobox medical condition (old) subpages]</span>.}} | {{hatnote|See also <span class{{=}}"plainlinks">[https://en.wikipedia.org/wiki/Special:PrefixIndex?prefix{{=}}Infobox+medical+condition+%28old%29%2F&namespace{{=}}10 Special PrefixIndex Template:Infobox medical condition (old) subpages]</span>.}} | ||
{{High-use}} | |||
{{auto short description}} | {{auto short description}} | ||
{{Lua|Module:Infobox|Module:InfoboxImage|Module: | {{Lua|Module:Infobox|Module:InfoboxImage|Module:String2Module:PrevalenceData|Module:Check for unknown parameters}} | ||
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 19: | Line 20: | ||
|name = | |name = | ||
|synonyms = <!-- or |synonym= --> | |synonyms = <!-- or |synonym= --> | ||
|frequency = <!-- also |incidence or |prevalence= --> | |||
|image = | |image = | ||
|image_upright = | |image_upright = | ||
Line 37: | Line 39: | ||
|specialty = <!-- from Wikidata; can be overwritten --> | |specialty = <!-- from Wikidata; can be overwritten --> | ||
|symptoms = | |symptoms = | ||
|onset = | |onset = | ||
|duration = | |duration = | ||
Line 49: | Line 50: | ||
|medication = | |medication = | ||
|prognosis = | |prognosis = | ||
| | |complications = | ||
|deaths = | |deaths = | ||
|named after = <!-- or |eponym= --> | |named after = <!-- or |eponym= --> | ||
Line 89: | 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" | ||
" | }, | ||
"alt": { | |||
"description": "Brief description of image for individuals who cannot see the image.", | |||
"example": "Painting by Monet of water lillies", | |||
"type": "string" | |||
}, | }, | ||
"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" | ||
}, | }, | ||
"image_size": { | "image_size": { | ||
Line 114: | 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" | ||
" | }, | ||
"alt2": { | |||
"description": "Brief description of image for individuals who cannot see the image.", | |||
"example": "Painting by Monet of water lillies", | |||
"type": "string" | |||
}, | }, | ||
"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" | ||
}, | }, | ||
"image_size2": { | "image_size2": { | ||
Line 135: | Line 142: | ||
"example": "4", | "example": "4", | ||
"type": "number" | "type": "number" | ||
}, | |||
"pronounce": { | |||
"aliases": [ | |||
"pronunciation", | |||
"pronounce comment", | |||
"pronounce ref" | |||
] | |||
}, | }, | ||
"specialty": { | "specialty": { | ||
Line 141: | Line 155: | ||
"type": "string", | "type": "string", | ||
"aliases": [ | "aliases": [ | ||
"speciality" | "speciality" | ||
] | ] | ||
Line 148: | 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", | |||
"suggested": true | |||
}, | |||
"onset_always": { | |||
"description": "Any string, e.g. `y`, will force display of heading “Onset” instead of “Usual onset”", | |||
"example": "y", | |||
"type": "string" | "type": "string" | ||
}, | }, | ||
Line 158: | 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", | "type": "string", | ||
" | "suggested": true | ||
}, | }, | ||
"risks": { | "risks": { | ||
Line 174: | 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 187: | Line 202: | ||
"differential diagnosis", | "differential diagnosis", | ||
"diff" | "diff" | ||
] | ], | ||
"suggested": true | |||
}, | }, | ||
"prevention": {}, | "prevention": {}, | ||
Line 199: | 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 207: | Line 225: | ||
"incidence", | "incidence", | ||
"prevalence" | "prevalence" | ||
] | ], | ||
"suggested": true | |||
}, | }, | ||
"deaths": { | "deaths": { | ||
Line 221: | Line 240: | ||
] | ] | ||
}, | }, | ||
"complications": {}, | "pronounce 2": {}, | ||
"complications": { | |||
"suggested": true, | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"Death", | |||
"Heart failure" | |||
] | |||
}, | |||
"types": {}, | "types": {}, | ||
"QID": {}, | |||
"image_upright": { | "image_upright": { | ||
"label": "Image upright", | "label": "Image upright", | ||
Line 234: | 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": { | "definition": { | ||
"type": "string" | "type": "string", | ||
"required": true | |||
} | } | ||
}, | }, | ||
Line 243: | Line 282: | ||
"definition", | "definition", | ||
"synonym", | "synonym", | ||
"frequency", | |||
"image", | "image", | ||
"alt", | |||
"caption", | "caption", | ||
"image_upright", | "image_upright", | ||
Line 249: | Line 290: | ||
"image_thumbtime", | "image_thumbtime", | ||
"image2", | "image2", | ||
"alt2", | |||
"caption2", | "caption2", | ||
"image2_upright", | "image2_upright", | ||
"image_size2", | "image_size2", | ||
"image_thumbtime2", | "image_thumbtime2", | ||
"pronounce", | |||
"specialty", | "specialty", | ||
"cause", | |||
"symptoms", | "symptoms", | ||
"onset", | "onset", | ||
"onset_always", | |||
"duration", | "duration", | ||
"risks", | "risks", | ||
"diagnosis", | "diagnosis", | ||
"differential", | "differential", | ||
"treatment", | |||
"prevention", | "prevention", | ||
"medication", | "medication", | ||
"prognosis", | "prognosis", | ||
" | "complications", | ||
"deaths", | "deaths", | ||
"named after", | "named after", | ||
" | "pronounce 2", | ||
"types", | |||
"QID" | |||
] | ] | ||
} | } | ||
Line 277: | 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:Templates that add a tracking category]] | [[Category:Templates that add a tracking category]] | ||
}}</includeonly> | }}</includeonly> |
Latest revision as of 17:42, 20 February 2024
Template:Strong for Template:Terminate sentence It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 10,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template adds an automatically generated short description. If the automatic short description is not optimal, replace it by adding {{Short description}} at the top of the article. |
This template uses Lua: |
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
- Category:Pages using infobox medical condition with unknown parameters (0)
- Category:Medical condition not in Wikidata (0)
TemplateData
TemplateData for Infobox medical condition
Infobox for medical conditions
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | name | Name of disease or medical condition (should be the same as the title of the article)
| String | required |
definition | definition | no description | String | required |
synonym | synonym synonyms | Common terms for the illness or condition.
| String | optional |
frequency | frequency 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).
| String | suggested |
image | image | Image file (just the filename without File: or |thumb, etc.)
| File | optional |
alt | alt | Brief description of image for individuals who cannot see the image.
| String | optional |
caption | caption | Caption for the image.
| String | optional |
Image upright | image_upright | The upright value for the image.
| Number | optional |
image_size | image_size width | Size of image. (See MOS:IMAGE for help.)
| String | optional |
image_thumbtime | image_thumbtime | Specifies time (seconds) of video to draw thumbnail image from
| Number | optional |
image2 | image2 | Image file (just the filename without File: or |thumb, etc.)
| File | optional |
alt2 | alt2 | Brief description of image for individuals who cannot see the image.
| String | optional |
caption2 | caption2 | Caption for the image.
| String | optional |
Second image upright | image2_upright | The upright value for the second image.
| Number | optional |
image_size2 | image_size2 width | Size of image. (See MOS:IMAGE for help.)
| String | optional |
image_thumbtime2 | image_thumbtime2 | Specifies time (seconds) of video to draw thumbnail image from
| Number | optional |
pronounce | pronounce pronunciation pronounce comment pronounce ref | no description | Unknown | optional |
specialty | specialty speciality | Main health specialties involved with diagnosis and treatment of the disorder.
| String | optional |
Most common causes | cause causes | Cause of the disease (if known). Try to separate from risk factors, although some overlap is common.
| String | suggested |
symptoms | symptoms | Brief description of most common symptoms (or symptom clusters)
| String | suggested |
onset | onset | Typical or average age of onset (if known)
| String | suggested |
onset_always | onset_always | Any string, e.g. `y`, will force display of heading “Onset” instead of “Usual onset”
| String | optional |
duration | duration | Average or median duration of illness or range (if known)
| String | suggested |
risks | risks risk | Risk factors
| String | suggested |
diagnosis | diagnosis | How is the illness usually diagnosed? For example: Based on symptoms, medical imagine, genetic testing, blood tests, etc. | String | suggested |
differential | differential differential diagnosis diff | Differential diagnosis (what other disease or conditions should be evaluated before concluding patient has the illness).
| String | suggested |
treatment | treatment management | Common treatments. May be replaced by 'management' as appropriate. | String | suggested |
prevention | prevention | no description | Unknown | optional |
medication | medication | no description | Unknown | optional |
prognosis | prognosis | no description | Unknown | suggested |
complications | complications | no description
| String | suggested |
deaths | deaths | Number of deaths per unit of time. Specify the unit of time, such as per year. | String | optional |
named after | named after eponym | Intended for diseases and conditions named after a person or place.
| String | optional |
pronounce 2 | pronounce 2 | no description | Unknown | optional |
types | types | no description | Unknown | optional |
QID | QID | no description | Unknown | optional |