Template:Infobox medical condition/doc
{{Documentation subpage}}
{{hatnote|See also [https://en.wikipedia.org/wiki/Special:PrefixIndex?prefix{{=}}Infobox+medical+condition+%28old%29%2F&namespace{{=}}10 Special PrefixIndex Template:Infobox medical condition (old) subpages].}}
{{High-use}}
{{auto short description}}
{{Lua|Module:Infobox|Module:InfoboxImage|Module:String2|Module:WikidataIB|Module: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.
__TOC__
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:
{{Parameter names example |name |synonyms |image |image_upright |image_size |alt |image_thumbtime |caption |width |image2 |image2_upright |image_size2 |alt2 |image_thumbtime2 |caption2 |width2 |pronounce |pronounce 2 |specialty |symptoms |complications |onset |duration |types |causes |risks |diagnosis |differential |prevention |treatment |medication |prognosis |frequency |deaths }}
{{Infobox medical condition
|name =
|synonyms =
|image =
|image_upright =
|image_size =
|alt =
|image_thumbtime =
|caption =
|width =
|image2 =
|image2_upright =
|image_size2 =
|alt2 =
|image_thumbtime2 =
|caption2 =
|width2 =
|pronounce =
|pronounce 2 =
|specialty =
|symptoms =
|complications =
|onset =
|duration =
|types =
|causes =
|risks =
|diagnosis =
|differential =
|prevention =
|treatment =
|medication =
|prognosis =
|frequency =
|deaths =
|named after =
}}
The {{para|treatment}} parameter may be replaced by {{para|management}}. This will change the label to "Management".
The {{para|onset_always}} parameter may be set, as {{para|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 {{para|frequency}} parameter may be replaced by {{para|incidence}} or {{para|prevalence}}. This will change the label to "Incidence" or "Prevalence" respectively. See Incidence (epidemiology) § Incidence vs. prevalence for the difference between the two.
Tracking categories
- {{clc|Pages using infobox medical condition with unknown parameters}}
- {{clc|Medical condition not in Wikidata}}
TemplateData
{{TemplateData header}}
{
"description": "Infobox for medical conditions",
"format": "block",
"params": {
"name": {
"description": "Name of disease or medical condition (should be the same as the title of the article)",
"type": "string",
"required": true,
"example": "Posttraumatic stress disorder"
},
"synonym": {
"description": "Common terms for the illness or condition.",
"example": "Upper respiratory tract infection – \"common cold\", \"bug\", \"snuffles\"",
"type": "string",
"aliases": [
"synonyms"
]
},
"image": {
"description": "Image file (just the filename without File: or |thumb, etc.)",
"example": "USMC-120503-M-9426J-001.jpg",
"type": "wiki-file-name",
"suggested": true
},
"alt": {
"description": "Brief description of image for individuals who cannot see the image.",
"example": "Painting by Monet of water lillies",
"type": "string",
"suggested": true
},
"caption": {
"description": "Caption for the image.",
"example": "Claude Monet, The Water Lilies – Setting Sun, 1920–1926, Musée de l'Orangerie",
"type": "string",
"suggested": true
},
"image_size": {
"description": "Size of image. (See MOS:IMAGE for help.)",
"example": "250px",
"type": "string",
"aliases": [
"width"
]
},
"image_thumbtime": {
"description": "Specifies time (seconds) of video to draw thumbnail image from",
"example": "4",
"type": "number"
},
"image2": {
"description": "Image file (just the filename without File: or |thumb, etc.)",
"example": "USMC-120503-M-9426J-001.jpg",
"type": "wiki-file-name",
"suggested": true
},
"alt2": {
"description": "Brief description of image for individuals who cannot see the image.",
"example": "Painting by Monet of water lillies",
"type": "string",
"suggested": true
},
"caption2": {
"description": "Caption for the image.",
"example": "Claude Monet, The Water Lilies – Setting Sun, 1920–1926, Musée de l'Orangerie",
"type": "string",
"suggested": true
},
"image_size2": {
"description": "Size of image. (See MOS:IMAGE for help.)",
"example": "250px",
"type": "string",
"aliases": [
"width"
]
},
"image_thumbtime2": {
"description": "Specifies time (seconds) of video to draw thumbnail image from",
"example": "4",
"type": "number"
},
"pronounce": {
"aliases": [
"pronunciation",
"pronounce comment",
"pronounce ref"
]
},
"specialty": {
"description": "Main health specialties involved with diagnosis and treatment of the disorder.",
"example": "Psychiatry, clinical psychology",
"type": "string",
"aliases": [
"fetchwikidata",
"onlysourced",
"field",
"speciality"
]
},
"symptoms": {
"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",
"type": "string"
},
"onset": {
"description": "Typical or average age of onset (if known)",
"example": "Schizophrenia – Early adulthood",
"type": "string"
},
"onset_always": {
"description": "Any string, e.g. `y`, will force display of heading “Onset” instead of “Usual onset”",
"example": "y",
"type": "string"
},
"duration": {
"description": "Average or median duration of illness or range (if known)",
"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",
"aliases": [
"cause"
]
},
"risks": {
"description": "Risk factors",
"example": "Heart disease – Smoking; high blood pressure; high cholesterol; obesity; family history (genetics)",
"type": "string",
"aliases": [
"risk"
]
},
"diagnosis": {
"description": "How is the illness usually diagnosed? For example: Based on symptoms, medical imagine, genetic testing, blood tests, etc.",
"type": "string"
},
"differential": {
"description": "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",
"type": "string",
"aliases": [
"differential diagnosis",
"diff"
]
},
"prevention": {},
"treatment": {
"description": "Common treatments. May be replaced by 'management' as appropriate.",
"type": "string",
"suggested": true,
"aliases": [
"management"
]
},
"medication": {},
"prognosis": {},
"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).",
"example": "PTSD – \t8.7% (lifetime risk); 3.5% (12-month risk, US)",
"type": "string",
"aliases": [
"incidence",
"prevalence"
]
},
"deaths": {
"description": "Number of deaths per unit of time. Specify the unit of time, such as per year.",
"type": "string"
},
"named after": {
"description": "Intended for diseases and conditions named after a person or place.",
"example": "James Parkinson",
"type": "string",
"aliases": [
"eponym"
]
},
"pronounce 2": {},
"complications": {},
"types": {},
"QID": {},
"image_upright": {
"label": "Image upright",
"description": "The upright value for the image.",
"example": "1.3",
"type": "number"
},
"image2_upright": {
"label": "Second image upright",
"description": "The upright value for the second image.",
"example": "1.3",
"type": "number"
}
},
"paramOrder": [
"name",
"synonym",
"image",
"alt",
"caption",
"image_upright",
"image_size",
"image_thumbtime",
"image2",
"alt2",
"caption2",
"image2_upright",
"image_size2",
"image_thumbtime2",
"pronounce",
"specialty",
"symptoms",
"onset",
"onset_always",
"duration",
"causes",
"risks",
"diagnosis",
"differential",
"prevention",
"treatment",
"medication",
"prognosis",
"frequency",
"deaths",
"named after",
"pronounce 2",
"complications",
"types",
"QID"
]
}
Category:Infobox templates using Wikidata
Category:Templates that add a tracking category
}}