Template:Infobox medical condition/doc: Difference between revisions
Update added parameters for image_upright |
(No difference)
|
Revision as of 00:55, 16 December 2023
This is a documentation subpage for Template:Infobox medical condition. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 9,900 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: |
NO LABEL (P1995) (see uses)
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}}} | |
Pronunciation |
|
Specialty | {{{specialty}}} |
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}}} |
Frequency | {{{frequency}}} |
Deaths | {{{deaths}}} |
{{Infobox medical condition
|name =
|synonyms = <!-- or |synonym= -->
|image =
|image_upright =
|image_size =
|alt =
|image_thumbtime =
|caption =
|width =
|image2 =
|image2_upright =
|image_size2 =
|alt2 =
|image_thumbtime2 =
|caption2 =
|width2 =
|pronounce =
|pronounce 2 =
|specialty = <!-- from Wikidata; can be overwritten -->
|symptoms =
|complications =
|onset =
|duration =
|types =
|causes = <!-- or |cause= -->
|risks = <!-- or |risk= -->
|diagnosis =
|differential =
|prevention =
|treatment = <!-- or |management= -->
|medication =
|prognosis =
|frequency = <!-- also |incidence= or |prevalence= -->
|deaths =
|named after = <!-- or |eponym= -->
}}
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 |
synonym | synonym synonyms | Common terms for the illness or condition.
| String | optional |
image | image | Image file (just the filename without File: or |thumb, etc.)
| File | suggested |
alt | alt | Brief description of image for individuals who cannot see the image.
| String | suggested |
caption | caption | Caption for the image.
| String | suggested |
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 | suggested |
alt2 | alt2 | Brief description of image for individuals who cannot see the image.
| String | suggested |
caption2 | caption2 | Caption for the image.
| String | suggested |
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 fetchwikidata onlysourced field speciality | Main health specialties involved with diagnosis and treatment of the disorder.
| String | optional |
symptoms | symptoms | Brief description of most common symptoms (or symptom clusters)
| String | optional |
onset | onset | Typical or average age of onset (if known)
| String | optional |
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 | optional |
causes | causes cause | Cause of the disease (if known). Try to separate from risk factors, although some overlap is common.
| String | optional |
risks | risks risk | Risk factors
| String | optional |
diagnosis | diagnosis | How is the illness usually diagnosed? For example: Based on symptoms, medical imagine, genetic testing, blood tests, etc. | String | optional |
differential | differential differential diagnosis diff | Differential diagnosis (what other disease or conditions should be evaluated before concluding patient has the illness).
| String | optional |
prevention | prevention | no description | Unknown | optional |
treatment | treatment management | Common treatments. May be replaced by 'management' as appropriate. | String | suggested |
medication | medication | no description | Unknown | optional |
prognosis | prognosis | no description | Unknown | 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 | optional |
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 |
complications | complications | no description | Unknown | optional |
types | types | no description | Unknown | optional |
QID | QID | no description | Unknown | optional |