Difference between revisions of "Template:Infobox comorbidity"

From WikiAnesthesia
Tag: 2017 source edit
Tag: 2017 source edit
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="infobox">
<templatestyles src="Infobox comorbidity/styles.css" /><div class="infobox">
   <div class="infobox-title">{{PAGENAME}}</div>{{#if:{{{other_names|}}}|<table class="table"><tr>
   <div class="infobox-title">{{PAGENAME}}</div>
    <th>Other names</th>
  <table class="table">{{#if:{{{other_names|}}}|<tr>
    <td>{{{other_names}}}</td>
      <th class="infobox-table-section-end">Other names</th>
</tr></table>}}{{#if:{{{image|}}}|
      <td class="infobox-table-section-end">{{{other_names}}}</td>
  <div class="infobox-image">[[File:{{{image}}}|320px]]</div>{{#if:{{{caption|}}}|
    </tr>}}{{#if:{{{image_file|}}}|<tr><td colspan="2" class="infobox-image">
   <div class="infobox-image-caption">{{{caption}}}</div>}}}}
  [[File:{{{image_file}}}|320px]]</td></tr>{{#if:{{{image_caption|}}}|<tr>
  <table class="table">{{#if:{{{anesthetic_relevance|}}}|<tr>
   <td colspan="2" class="infobox-image-caption">{{{image_caption}}}</td></tr>}}}}
     <th>Anesthetic relevance</th>
    <tr>
    <td>{{{anesthetic_relevance}}}</td>
      <th>Anesthetic relevance</th>
</tr>}}{{#if:{{{specialty|}}}|<tr>
      <td class="text-{{{anesthetic_relevance}}}">
    <th>Specialty</th>
{{{anesthetic_relevance}}}
    <td>{{{specialty}}}</td>
      </td>
</tr>}}{{#if:{{{signs_symptoms|}}}|<tr>
    </tr>
    <th>Signs and symptoms</th>
     <tr>
    <td>{{{signs_symptoms}}}</td>
      <th>Anesthetic management</th>
</tr>}}{{#if:{{{diagnosis|}}}|<tr>
      <td>
    <th>Diagnosis</th>
{{{anesthetic_management}}}
    <td>{{{diagnosis}}}</td>
      </td>
</tr>}}{{#if:{{{treatment|}}}|<tr>
    </tr>
    <th>Treatment</th>
    <tr>
    <td>{{{treatment}}}</td>
      <th>Specialty</th>
</tr>}}</table>
      <td>
</div>
{{{specialty}}}
<noinclude>
      </td>
    </tr>
    <tr>
      <th>Signs and symptoms</th>
      <td>
{{{signs_symptoms}}}
      </td>
    </tr>
    <tr>
      <th>Diagnosis</th>
      <td>
{{{diagnosis}}}
      </td>
    </tr>
    <tr>
      <th>Treatment</th>
      <td>
{{{treatment}}}
      </td>
    </tr>
    {{Infobox content footer}}
  </table>
</div><noinclude>
<templatedata>
<templatedata>
{
{
    "description": "This Infobox will display the most pertinent information about a comorbidity at the top of the article. When appropriate, please use the standardized options listed in the field description (click the (i) icon above each field to show a list which can be copy-pasted). You may also include brief clarification in parenthesis after each item. If using an abbreviation, please use a link to a page that defines it (e.g. use [[ETT]] not ETT). To display items on separate lines, add <br/> between them.",
"description": "This Infobox will display the most pertinent information about a comorbidity at the top of the article. When appropriate, please use the standardized options listed in the field description (click the (i) icon above each field to show a list which can be copy-pasted). If using an abbreviation, please link to a page that defines it (e.g. use [[ETT]] not ETT). To display items on separate lines, add <br/> between them. To use bullet points add * before each item.",
"params": {
"params": {
"other_names": {
"other_names": {
Line 34: Line 56:
"type": "content"
"type": "content"
},
},
"image": {
"image_file": {
"label": "Article image",
"label": "Article image",
"description": "An image relevant to this comorbidity",
"description": "An image relevant to this comorbidity",
Line 40: Line 62:
"type": "wiki-file-name"
"type": "wiki-file-name"
},
},
"caption": {
"image_caption": {
"label": "Article image caption",
"label": "Article image caption",
"description": "A caption for the article image",
"description": "A caption for the article image",
"example": "",
"type": "content"
"type": "content"
},
},
"anesthetic_relevance": {
"anesthetic_relevance": {
"label": "Anesthetic relevance",
"label": "Anesthetic relevance",
"description": "Classify the relevance of the comorbidity to anesthesia. Standardized options:\n\n<span class=\"text-critical\">Critical</span>,\n\n<span class=\"text-high\">High</span>,\n\n<span class=\"text-moderate\">Moderate</span>,\n\n<span class=\"text-low\">Low</span>.\n\n",
"description": "Classify the relevance of the comorbidity to anesthesia. Standardized options: Critical, High, Moderate, Low.",
"example": "<span class=\"text-high\">High</span>",
"example": "High",
"type": "content",
"required": true
},
"anesthetic_management": {
"label": "Anesthetic management",
"description": "Summarize the most relevant aspects of the anesthetic management of this comorbidity.",
"example": "Use beta agonists to support cardiac output. Avoid excess fluids",
"type": "content",
"type": "content",
"required": true
"required": true
Line 55: Line 83:
"specialty": {
"specialty": {
"label": "Specialty",
"label": "Specialty",
"description": "List the primary specialties which manage the comorbidity. Standardized options:\n\n[[ETT]],\n\n[[LMA]],\n\n[[Noninvasive O2]].\n\n",
"description": "List the primary specialties which manage the comorbidity.",
"example": "Cardiology",
"example": "Cardiology",
"type": "content",
"type": "content",
Line 84: Line 112:
"paramOrder": [
"paramOrder": [
"other_names",
"other_names",
"image",
"image_file",
"caption",
"image_caption",
"anesthetic_relevance",
"anesthetic_relevance",
"anesthetic_management",
"specialty",
"specialty",
"signs_symptoms",
"signs_symptoms",
"diagnosis",
"diagnosis",
"treatment"
"treatment"
]
],
"format": "block"
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 14:13, 19 August 2022

Infobox comorbidity
Anesthetic relevance

{{{anesthetic_relevance}}}

Anesthetic management

{{{anesthetic_management}}}

Specialty

{{{specialty}}}

Signs and symptoms

{{{signs_symptoms}}}

Diagnosis

{{{diagnosis}}}

Treatment

{{{treatment}}}

This Infobox will display the most pertinent information about a comorbidity at the top of the article. When appropriate, please use the standardized options listed in the field description (click the (i) icon above each field to show a list which can be copy-pasted). If using an abbreviation, please link to a page that defines it (e.g. use [[ETT]] not ETT). To display items on separate lines, add <br/> between them. To use bullet points add * before each item.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Other namesother_names

Other names for this comorbidity

Example
Congestive heart failure (CHF)
Contentoptional
Article imageimage_file

An image relevant to this comorbidity

Example
Elevated JVP.jpg
Fileoptional
Article image captionimage_caption

A caption for the article image

Contentoptional
Anesthetic relevanceanesthetic_relevance

Classify the relevance of the comorbidity to anesthesia. Standardized options: Critical, High, Moderate, Low.

Example
High
Contentrequired
Anesthetic managementanesthetic_management

Summarize the most relevant aspects of the anesthetic management of this comorbidity.

Example
Use beta agonists to support cardiac output. Avoid excess fluids
Contentrequired
Specialtyspecialty

List the primary specialties which manage the comorbidity.

Example
Cardiology
Contentrequired
Signs and symptomssigns_symptoms

List the most relevant signs and symptoms of this comorbidity.

Example
Shortness of breath, edema
Contentsuggested
Diagnosisdiagnosis

Describe how this comorbidity is diagnosed.

Example
[[Echocardiogram]]
Contentsuggested
Treatmenttreatment

Describe how this comorbidity is treated.

Example
Medication, implanted devices
Contentsuggested