Template:Infobox diagnostic: Difference between revisions

From WikiMD's Wellness Encyclopedia

CSV import
 
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{infobox
<includeonly>
| abovestyle = background-color: {{{background|{{{Background|lightblue}}}}}}
{| class="infobox" style="width:22em; font-size:90%; border:1px solid #aaa; background-color:#f9f9f9;"
| above      = {{{Name|<includeonly>{{{name}}}</includeonly>}}}
|-
| subheader2 = {{{subheader|{{{Subheader|}}}}}}
! colspan="2" style="text-align:center; background-color:{{{background|lightblue}}}; font-size:110%;" | {{{Name|{{PAGENAME}}}}}
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|{{{Image|}}}}}}|size={{{image_size|{{{Width|}}}}}}|sizedefault=frameless|upright=1.3|alt={{{alt|{{{Alt|}}}}}}}}
|-
| caption    = {{{caption|{{{Caption|}}}}}}
| colspan="2" style="text-align:center;" | [[File:{{{image|}}}|250px|alt={{{alt|}}}|{{{caption|}}}]]
|-
| '''Pronunciation'''
| {{{pronounce|}}}
|-
| '''Synonyms'''
| {{{synonym|}}}
|-
| '''Reference Range'''
| {{{reference_range|}}}
|-
| '''Calculator'''
| {{{calculator|}}}
|-
| '''Purpose'''
| {{{purpose|}}}
|-
| '''Test of'''
| {{{test_of|}}}
|-
| '''Based on'''
| {{{based_on|}}}
|-
| '''ICD-10-PCS'''
| {{{ICD10|}}}
|-
| '''ICD-9-CM'''
| {{{ICD9|}}}
|-
| '''MeSH'''
| {{#if:{{{MeshID|}}}|[https://meshb.nlm.nih.gov/record/ui?ui={{{MeshID}}} {{{MeshID}}}]}}
|-
| '''OPS-301 Code'''
| {{{OPS301|}}}
|-
| '''Other Codes'''
| {{{OtherCodes|}}}
|-
| '''MedlinePlus'''
| {{#if:{{{MedlinePlus|}}}|[https://medlineplus.gov/ency/article/{{{MedlinePlus}}}.htm {{{MedlinePlus}}}]}}
|-
| '''eMedicine'''
| {{#if:{{{eMedicine|}}}|[http://emedicine.medscape.com/article/{{{eMedicine}}}-overview {{{eMedicine}}}]}}
|-
| '''LOINC'''
| {{{LOINC|}}}
|-
| '''HCPCS-L2'''
| {{{HCPCSlevel2|}}}
|-
| colspan="2" style="border-top:3px solid #ccc; padding-top:0.5em;" | {{{video1|}}} {{{video2|}}}
|}
</includeonly>
<noinclude>
== Usage ==
This template is used to display diagnostic information in an infobox format.


| label1    = Pronunciation
=== Parameters ===
|  data1    = {{#if:{{{pronounce|{{{Pronounce|{{{Pronunciation|{{{pronunciation|}}}}}}}}}}}}{{{pronounce comment|}}} |{{{pronounce|{{{Pronounce|{{{Pronunciation|{{{pronunciation|}}}}}}}}}}}}{{{pronounce ref|}}}&#x20;{{{pronounce comment|}}} }}<!--
* `Name` - Title of the diagnostic.
        -->{{#if:{{{pronounce 2|}}} |<br/>{{{pronounce 2|}}} }}
* `image` - Image filename related to the diagnostic.
* `image_size` - Size of the image (default: frameless).
* `alt` - Alternative text for the image.
* `caption` - Caption for the image.
* `pronounce` - Pronunciation of the diagnostic term.
* `synonym` - Synonyms of the diagnostic.
* `reference_range` - Reference range of measurements.
* `calculator` - Links to relevant calculators.
* `purpose` - Purpose of the diagnostic.
* `test_of` - What the diagnostic tests.
* `based_on` - What the diagnostic is based on.
* `ICD10` - ICD-10 code.
* `ICD9` - ICD-9 code.
* `MeshID` - MeSH identifier.
* `OPS301` - OPS-301 code.
* `OtherCodes` - Other diagnostic codes.
* `MedlinePlus` - MedlinePlus article ID.
* `eMedicine` - eMedicine article ID.
* `LOINC` - LOINC code.
* `HCPCSlevel2` - HCPCS Level 2 code.
* `video1` / `video2` - Additional multimedia content.


| label2    = [[Synonym]]s
=== Example ===
| data2    = {{{Synonym|{{{synonym|{{{Synonyms|{{{synonyms|}}}}}}}}}}}}
<syntaxhighlight lang="mediawiki">
{{Infobox diagnostic
| Name = Example Diagnostic
| image = Example.jpg
| caption = Example Caption
| pronounce = Example Pronunciation
| synonym = Example Synonym
| ICD10 = A01
| MeshID = D123456
| MedlinePlus = 12345
}}
</syntaxhighlight>


| label3    = [[Reference range]]
[[Category:Infobox templates]]
| data3      = {{{reference_range|{{{Reference_range|}}}}}}
</noinclude>
 
| label4    = Calculator
|  data4    = {{{Calculator|{{{calculator|}}}}}}
 
| label5    = Purpose
|  data5    = {{{Purpose|{{{purpose|{{{Purposes|{{{purposes|}}}}}}}}}}}}
 
| label6    = Test&nbsp;of
|  data6    = {{{Test of|{{{test of|}}}}}}
 
| label7    = Based&nbsp;on
|  data7    = {{{Based on|{{{based on|}}}}}}
 
| label8    = [[ICD-10 Procedure Coding System|ICD-10-PCS]]
| data8      = {{{ICD10|}}}
 
| label9    = [[ICD-9-CM Volume 3|ICD-9-CM]]
| data9      = {{{ICD9|}}}
 
| label10    = [[ICD-9-CM Volume 3|ICD-9]]
| data10      = {{{ICD9unlinked|}}}
 
| label11    = [[Medical Subject Headings|MeSH]]
| data11      = {{#if:{{{MeshID|}}}|<span class="reflink plainlinks nourlexpansion">[https://www.nlm.nih.gov/cgi/mesh/{{{MeshYear|2011}}}/MB_cgi?field=uid&term={{{MeshID|}}} {{{MeshID}}}]</span>}}
 
| label12    = [[OPS-301|OPS-301 code]]
| data12    = {{{OPS301|}}}
 
| label13    = Other [[procedure codes|codes]]
| data13    = {{{OtherCodes|}}}
 
| label14    = [[MedlinePlus]]
| data14    = {{#if:{{{MedlinePlus|}}}|<span class="reflink plainlinks nourlexpansion">[https://medlineplus.gov/ency/article/{{{MedlinePlus}}}.htm {{{MedlinePlus}}}]</span>}}
 
| label15    = [[eMedicine]]
| data15    = {{#if:{{{eMedicine|}}}|<span class="reflink plainlinks nourlexpansion">[http://emedicine.medscape.com/article/{{{eMedicine}}}-overview {{{eMedicine}}}]</span>}}
 
| label16    = [[LOINC]]
| data16    = {{{LOINC|}}}
 
| label17    = [[HCPCS Level 2|HCPCS-L2]]
| data17    = {{{HCPCSlevel2|}}}
}}<noinclude>{{documentation}}<!-- Add cats to the /doc subpage, not here! --></noinclude>
{{no-index-template}}

Latest revision as of 11:03, 18 December 2024


Usage[edit]

This template is used to display diagnostic information in an infobox format.

Parameters[edit]

  • `Name` - Title of the diagnostic.
  • `image` - Image filename related to the diagnostic.
  • `image_size` - Size of the image (default: frameless).
  • `alt` - Alternative text for the image.
  • `caption` - Caption for the image.
  • `pronounce` - Pronunciation of the diagnostic term.
  • `synonym` - Synonyms of the diagnostic.
  • `reference_range` - Reference range of measurements.
  • `calculator` - Links to relevant calculators.
  • `purpose` - Purpose of the diagnostic.
  • `test_of` - What the diagnostic tests.
  • `based_on` - What the diagnostic is based on.
  • `ICD10` - ICD-10 code.
  • `ICD9` - ICD-9 code.
  • `MeshID` - MeSH identifier.
  • `OPS301` - OPS-301 code.
  • `OtherCodes` - Other diagnostic codes.
  • `MedlinePlus` - MedlinePlus article ID.
  • `eMedicine` - eMedicine article ID.
  • `LOINC` - LOINC code.
  • `HCPCSlevel2` - HCPCS Level 2 code.
  • `video1` / `video2` - Additional multimedia content.

Example[edit]

{{Infobox diagnostic
| Name = Example Diagnostic
| image = Example.jpg
| caption = Example Caption
| pronounce = Example Pronunciation
| synonym = Example Synonym
| ICD10 = A01
| MeshID = D123456
| MedlinePlus = 12345
}}