Template:Infobox medical condition/doc: Difference between revisions
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 20: | Line 20: | ||
|name = | |name = | ||
|synonyms = <!-- or |synonym= --> | |synonyms = <!-- or |synonym= --> | ||
|frequency = <!-- also |incidence or |prevalence= --> | |||
|image = | |image = | ||
|image_upright = | |image_upright = | ||
Line 38: | Line 39: | ||
|specialty = <!-- from Wikidata; can be overwritten --> | |specialty = <!-- from Wikidata; can be overwritten --> | ||
|symptoms = | |symptoms = | ||
|onset = | |onset = | ||
|duration = | |duration = | ||
Line 50: | Line 50: | ||
|medication = | |medication = | ||
|prognosis = | |prognosis = | ||
| | |complications = | ||
|deaths = | |deaths = | ||
|named after = <!-- or |eponym= --> | |named after = <!-- or |eponym= --> | ||
Line 242: | Line 242: | ||
"pronounce 2": {}, | "pronounce 2": {}, | ||
"complications": { | "complications": { | ||
"suggested": true | "suggested": true, | ||
"type": "string", | |||
"suggestedvalues": [ | |||
"Death", | |||
"Heart failure" | |||
] | |||
}, | }, | ||
"types": {}, | "types": {}, | ||
Line 263: | Line 268: | ||
"example": "Diabetes (Type 2) – Family history; obesity; sedentary lifestyle; age over 45", | "example": "Diabetes (Type 2) – Family history; obesity; sedentary lifestyle; age over 45", | ||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true, | ||
"aliases": [ | |||
"causes" | |||
] | |||
}, | }, | ||
"definition": { | "definition": { | ||
Line 301: | Line 309: | ||
"medication", | "medication", | ||
"prognosis", | "prognosis", | ||
"complications", | |||
"deaths", | "deaths", | ||
"named after", | "named after", | ||
"pronounce 2", | "pronounce 2", | ||
"types", | "types", | ||
"QID" | "QID" |
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 |