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:
<templatestyles src="Infobox comorbidity/styles.css" />
<templatestyles src="Infobox comorbidity/styles.css" /><div class="infobox">
 
<div class="infobox">
   <div class="infobox-title">{{PAGENAME}}</div>
   <div class="infobox-title">{{PAGENAME}}</div>
   <table class="table">{{#if:{{{other_names|}}}|<tr>
   <table class="table">{{#if:{{{other_names|}}}|<tr>
       <th>Other names</th>
       <th class="infobox-table-section-end">Other names</th>
       <td>{{{other_names}}}</td>
       <td class="infobox-table-section-end">{{{other_names}}}</td>
     </tr>}}{{#if:{{{image_file|}}}|<tr><td colspan="2" class="infobox-image">
     </tr>}}{{#if:{{{image_file|}}}|<tr><td colspan="2" class="infobox-image">
   [[File:{{{image_file}}}|320px]]</td></tr>{{#if:{{{image_caption|}}}|<tr>
   [[File:{{{image_file}}}|320px]]</td></tr>{{#if:{{{image_caption|}}}|<tr>
Line 11: Line 9:
     <tr>
     <tr>
       <th>Anesthetic relevance</th>
       <th>Anesthetic relevance</th>
       <td class="text-{{{anesthetic_relevance}}}">{{{anesthetic_relevance}}}</td>
       <td class="text-{{{anesthetic_relevance}}}">
{{{anesthetic_relevance}}}
      </td>
    </tr>
    <tr>
      <th>Anesthetic management</th>
      <td>
{{{anesthetic_management}}}
      </td>
     </tr>
     </tr>
     <tr>
     <tr>
       <th>Specialty</th>
       <th>Specialty</th>
       <td>{{{specialty}}}</td>
       <td>
{{{specialty}}}
      </td>
     </tr>
     </tr>
     <tr>
     <tr>
       <th>Signs and symptoms</th>
       <th>Signs and symptoms</th>
       <td>{{{signs_symptoms}}}</td>
       <td>
{{{signs_symptoms}}}
      </td>
     </tr>
     </tr>
     <tr>
     <tr>
       <th>Diagnosis</th>
       <th>Diagnosis</th>
       <td>{{{diagnosis}}}</td>
       <td>
{{{diagnosis}}}
      </td>
     </tr>
     </tr>
     <tr>
     <tr>
       <th>Treatment</th>
       <th>Treatment</th>
       <td>{{{treatment}}}</td>
       <td>
{{{treatment}}}
      </td>
    </tr>
    <tr>
      <td colspan="2" class="infobox-table-section-heading">Article quality</td>
    </tr>
    <tr>
      <th>Editor rating</th>
      <td><articlescores metric="EditorRating" /></td>
    </tr>
    <tr>
      <th>User likes</th>
      <td><articlescores metric="Likes" /></td>
     </tr>
     </tr>
   </table>
   </table>
</div>
</div><noinclude>
<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 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 55: Line 79:
"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 62: Line 93:
"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 94: Line 125:
"image_caption",
"image_caption",
"anesthetic_relevance",
"anesthetic_relevance",
"anesthetic_management",
"specialty",
"specialty",
"signs_symptoms",
"signs_symptoms",

Latest revision as of 22:35, 4 April 2022

Infobox comorbidity
Anesthetic relevance

{{{anesthetic_relevance}}}

Anesthetic management

{{{anesthetic_management}}}

Specialty

{{{specialty}}}

Signs and symptoms

{{{signs_symptoms}}}

Diagnosis

{{{diagnosis}}}

Treatment

{{{treatment}}}

Article quality
Editor rating
User likes

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