Difference between revisions of "Template:Infobox comorbidity"
Chris Rishel (talk | contribs) Tag: 2017 source edit |
Chris Rishel (talk | contribs) Tag: 2017 source edit |
||
(9 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|}}}|< | <div class="infobox-title">{{PAGENAME}}</div> | ||
<table class="table">{{#if:{{{other_names|}}}|<tr> | |||
<th class="infobox-table-section-end">Other names</th> | |||
</tr | <td class="infobox-table-section-end">{{{other_names}}}</td> | ||
</tr>}}{{#if:{{{image_file|}}}|<tr><td colspan="2" class="infobox-image"> | |||
< | [[File:{{{image_file}}}|320px]]</td></tr>{{#if:{{{image_caption|}}}|<tr> | ||
<td colspan="2" class="infobox-image-caption">{{{image_caption}}}</td></tr>}}}} | |||
<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) | "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 40: | Line 66: | ||
"type": "content" | "type": "content" | ||
}, | }, | ||
" | "image_file": { | ||
"label": "Article image", | "label": "Article image", | ||
"description": "An image relevant to this comorbidity", | "description": "An image relevant to this comorbidity", | ||
Line 46: | Line 72: | ||
"type": "wiki-file-name" | "type": "wiki-file-name" | ||
}, | }, | ||
" | "image_caption": { | ||
"label": "Article image caption", | "label": "Article image caption", | ||
"description": "A caption for the article image", | "description": "A caption for the article image", | ||
Line 53: | Line 79: | ||
"anesthetic_relevance": { | "anesthetic_relevance": { | ||
"label": "Anesthetic relevance", | "label": "Anesthetic relevance", | ||
"description": "Classify the relevance of the comorbidity to anesthesia. Standardized options: | "description": "Classify the relevance of the comorbidity to anesthesia. Standardized options: Critical, High, Moderate, Low.", | ||
"example": " | "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 60: | Line 93: | ||
"specialty": { | "specialty": { | ||
"label": "Specialty", | "label": "Specialty", | ||
"description": "List the primary specialties which manage the comorbidity. | "description": "List the primary specialties which manage the comorbidity.", | ||
"example": "Cardiology", | "example": "Cardiology", | ||
"type": "content", | "type": "content", | ||
Line 89: | Line 122: | ||
"paramOrder": [ | "paramOrder": [ | ||
"other_names", | "other_names", | ||
" | "image_file", | ||
" | "image_caption", | ||
"anesthetic_relevance", | "anesthetic_relevance", | ||
"anesthetic_management", | |||
"specialty", | "specialty", | ||
"signs_symptoms", | "signs_symptoms", |
Latest revision as of 21:35, 4 April 2022
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Other names | other_names | Other names for this comorbidity
| Content | optional |
Article image | image_file | An image relevant to this comorbidity
| File | optional |
Article image caption | image_caption | A caption for the article image | Content | optional |
Anesthetic relevance | anesthetic_relevance | Classify the relevance of the comorbidity to anesthesia. Standardized options: Critical, High, Moderate, Low.
| Content | required |
Anesthetic management | anesthetic_management | Summarize the most relevant aspects of the anesthetic management of this comorbidity.
| Content | required |
Specialty | specialty | List the primary specialties which manage the comorbidity.
| Content | required |
Signs and symptoms | signs_symptoms | List the most relevant signs and symptoms of this comorbidity.
| Content | suggested |
Diagnosis | diagnosis | Describe how this comorbidity is diagnosed.
| Content | suggested |
Treatment | treatment | Describe how this comorbidity is treated.
| Content | suggested |