Template:Infobox medical condition: Difference between revisions

From WikiMD's Wellness Encyclopedia

CSV import
 
No edit summary
Tag: Manual revert
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{infobox
<includeonly>
| abovestyle = background:#ccc
{| class="infobox" style="width: 22em; font-size: 90%;"
| above      = <includeonly>{{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}</includeonly><noinclude>{{{name}}} or <nowiki>{{PAGENAME}}</nowiki></noinclude>
|-
| headerstyle = background:#eee;<!-- not used in this template, set same as sister template just in case -->
! colspan="2" style="background-color: #f8f9fa; font-size: 110%; text-align: center;" | {{{name|Medical Condition}}}
|-
| colspan="2" style="text-align: center;" | {{{image|}}}
|-
| '''Synonyms'''
| {{{synonyms|N/A}}}
|-
| '''Pronounce'''
| {{{pronounce|N/A}}}
|-
| '''Specialty'''
| {{{specialty|N/A}}}
|-
| '''Symptoms'''
| {{{symptoms|N/A}}}
|-
| '''Complications'''
| {{{complications|N/A}}}
|-
| '''Onset'''
| {{{onset|N/A}}}
|-
| '''Duration'''
| {{{duration|N/A}}}
|-
| '''Types'''
| {{{types|N/A}}}
|-
| '''Causes'''
| {{{causes|N/A}}}
|-
| '''Risks'''
| {{{risks|N/A}}}
|-
| '''Diagnosis'''
| {{{diagnosis|N/A}}}
|-
| '''Differential diagnosis'''
| {{{differential|N/A}}}
|-
| '''Prevention'''
| {{{prevention|N/A}}}
|-
| '''Treatment'''
| {{{treatment|N/A}}}
|-
| '''Medication'''
| {{{medication|N/A}}}
|-
| '''Prognosis'''
| {{{prognosis|N/A}}}
|-
| '''Frequency'''
| {{{frequency|N/A}}}
|-
| '''Deaths'''
| {{{deaths|N/A}}}
|}
</includeonly>
<noinclude>
== Usage ==
This template organizes information about medical conditions in a structured infobox.


| label1 = Other names
=== Example ===
data1 = {{{synonym|}}}{{{synonyms|}}}
<syntaxhighlight lang="mediawiki">
{{Infobox medical condition
| name          = Irritable Bowel Syndrome
| synonyms      = IBS, spastic colon
| image        =  
| caption      =
| pronounce    =
| specialty    = [[Gastroenterology]]
| symptoms      = Abdominal pain, bloating, diarrhea, constipation
| complications =
| onset        =
| duration      = Long term
| types        = IBS-C (constipation predominant), IBS-D (diarrhea predominant), IBS-M (mixed type)
| causes        = Unknown
| risks        = Food sensitivity, stress
| diagnosis    = Based on symptoms, ruled out other conditions
| differential = [[Inflammatory bowel disease]], [[Celiac disease]], [[Gastroenteritis]]
| prevention    =
| treatment    = Dietary changes, medication, psychological therapy
| medication    = [[Laxatives]], [[Antispasmodics]], [[Antidepressants]]
| prognosis    =
| frequency    = 10–15% globally
| deaths        =
}}
</syntaxhighlight>


|  data5 = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|{{{width|}}}}}}|sizedefault=frameless|upright=1.36|alt={{{alt|}}}|thumbtime={{{image_thumbtime|}}}}}
=== Parameters ===
|  data6 = {{#if:{{{image|}}}|{{{caption|}}} }}
* `name` - Name of the condition.
* `synonyms` - Other names or terms for the condition.
* `image` - Relevant image or diagram.
* `caption` - Caption for the image.
* `pronounce` - Pronunciation of the condition.
* `specialty` - The medical specialty related to the condition.
* `symptoms` - Common symptoms.
* `complications` - Potential complications.
* `onset` - Typical age or stage of onset.
* `duration` - Duration of the condition.
* `types` - Different types or categories of the condition.
* `causes` - Known causes.
* `risks` - Risk factors.
* `diagnosis` - How the condition is diagnosed.
* `differential` - Conditions to rule out in diagnosis.
* `prevention` - Preventative measures.
* `treatment` - Treatments available.
* `medication` - Medications commonly used.
* `prognosis` - Prognosis or outcome.
* `frequency` - Frequency or prevalence.
* `deaths` - Mortality rate or statistics.


| label7 = Pronunciation
== Notes ==
|  data7 = {{#if:{{{pronounce|}}}{{{pronunciation|}}}{{{pronounce comment|}}} |<!--
Place this template at the top of a medical condition's page to provide an organized summary of key details.
-->{{ubl|1={{{pronounce|}}}{{{pronunciation|}}}{{{pronounce ref|}}}&#x20;{{{pronounce comment|}}}<!--
    -->|2={{{pronounce 2|}}} }}}}


| label10 = [[Specialty (medicine)|Specialty]]
| data10 = {{#invoke:String2 |ucfirst | {{#invoke:WikidataIB |getValue |P1995 |fetchwikidata={{{fetchwikidata|ALL}}} |onlysourced={{{onlysourced|no}}} |{{{field|}}}{{{specialty|}}}{{{speciality|}}} }} }}
| label12  = Symptoms
|  data12  = {{{symptoms|}}}
| label13  = [[Complication (medicine)|Complications]]
|  data13  = {{{complications|}}}
| label14  = Usual onset
|  data14  = {{{onset|}}}
| label15  = Duration
|  data15  = {{{duration|}}}
| label16  = Types
|  data16  = {{{types|}}}
| label17  = Causes
|  data17  = {{{causes|{{{cause|}}}}}}
| label18  = [[Risk factor]]s
|  data18  = {{{risks|{{{risk|}}}}}}
| label19  = [[Diagnostic method]]
|  data19  = {{{diagnosis|}}}
| label20  = [[Differential diagnosis]]
|  data20  = {{{differential|{{{differential diagnosis|{{{diff|}}}}}}}}}
| label21  = Prevention
|  data21  = {{{prevention|}}}
| label22  = {{#if:{{{treatment|}}}|Treatment|Management}}
|  data22  = {{{treatment|{{{management|}}}}}}
| label23  = Medication
|  data23  = {{{medication|}}}
| label24  = Prognosis
|  data24  = {{{prognosis|}}}
| label25  = Frequency
|  data25  = {{{frequency|}}}
| label26 = Deaths
|  data26 = {{{deaths|}}}
}}<!-- end of infobox
-->{{main other|1={{#if:{{#ifeq:{{#invoke:WikidataIB |pageId}}||_do_categorise}}{{#if:{{{QID|}}}|_do_categorise}}|[[Category:Medical condition not in Wikidata|=]]}}}}<!--
-->{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox medical condition with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox medical condition]] with unknown parameter "_VALUE_"|ignoreblank=y| alt | caption | cause | causes | complications | deaths | diagnosis | diff | differential | differential diagnosis | duration | fetchwikidata | field | frequency | image | image_size | image_thumbtime | management | medication | name | onlysourced | onset | prevention | prognosis | pronounce | pronounce 2 | pronounce comment | pronounce ref | pronunciation | QID | risk | risks | speciality | specialty | symptoms | synonym | synonyms | treatment | types | width }}<!--
--><noinclude>
{{documentation}}
</noinclude>
</noinclude>
{{no-index-template}}

Latest revision as of 02:28, 12 November 2025


Usage[edit]

This template organizes information about medical conditions in a structured infobox.

Example[edit]

{{Infobox medical condition
| name          = Irritable Bowel Syndrome
| synonyms      = IBS, spastic colon
| image         = 
| caption       = 
| pronounce     = 
| specialty     = [[Gastroenterology]]
| symptoms      = Abdominal pain, bloating, diarrhea, constipation
| complications = 
| onset         = 
| duration      = Long term
| types         = IBS-C (constipation predominant), IBS-D (diarrhea predominant), IBS-M (mixed type)
| causes        = Unknown
| risks         = Food sensitivity, stress
| diagnosis     = Based on symptoms, ruled out other conditions
| differential  = [[Inflammatory bowel disease]], [[Celiac disease]], [[Gastroenteritis]]
| prevention    = 
| treatment     = Dietary changes, medication, psychological therapy
| medication    = [[Laxatives]], [[Antispasmodics]], [[Antidepressants]]
| prognosis     = 
| frequency     = 10–15% globally
| deaths        = 
}}

Parameters[edit]

  • `name` - Name of the condition.
  • `synonyms` - Other names or terms for the condition.
  • `image` - Relevant image or diagram.
  • `caption` - Caption for the image.
  • `pronounce` - Pronunciation of the condition.
  • `specialty` - The medical specialty related to the condition.
  • `symptoms` - Common symptoms.
  • `complications` - Potential complications.
  • `onset` - Typical age or stage of onset.
  • `duration` - Duration of the condition.
  • `types` - Different types or categories of the condition.
  • `causes` - Known causes.
  • `risks` - Risk factors.
  • `diagnosis` - How the condition is diagnosed.
  • `differential` - Conditions to rule out in diagnosis.
  • `prevention` - Preventative measures.
  • `treatment` - Treatments available.
  • `medication` - Medications commonly used.
  • `prognosis` - Prognosis or outcome.
  • `frequency` - Frequency or prevalence.
  • `deaths` - Mortality rate or statistics.

Notes[edit]

Place this template at the top of a medical condition's page to provide an organized summary of key details.