Template:RHNavGen: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
 
(32 intermediate revisions by the same user not shown)
Line 9: Line 9:
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>
</noinclude><includeonly>
{{#ifeq: {{#show: {{{name|}}} | ?Is Of Type | link=none}} | InfectiousDisease |
{{#ifeq: {{#show: {{{name|}}} | ?Is Of Type | link=none}} | InfectiousDisease |  
{{#!:
{{RHInfectiousDisease
{| class="infobox bordered" style="width: 15em; text-align: left; font-size: 90%; background:AliceBlue"
|name={{{name|}}}
|-
}} | }}
| colspan="1" style="text-align:center; background:DarkGray"
{{#ifeq: {{#show: {{{name|}}} | ?Is Of Type | link=none}} | MedicalCondition |
 
{{RHMedicalCondition
'''{{{name|}}} Microchapters
|name={{{name|}}}
'''
}} | }}
|- bgcolor="LightGrey"
{{#ifeq: {{#show: {{{name|}}} | ?Is Of Type | link=none}} | MedicalSignOrSymptom |
!
{{RHMedicalSignOrSymptom
 
|name={{{name|}}}
|- bgcolor="LightCoral"
}} | }}
!
[[{{{name|}}}|Home]]
|-
!
 
|- bgcolor="Pink"
!
[[{{{name|}}} (patient information)|Patient Info]]
|-
!
 
|- bgcolor="Pink"
!
[[{{{name|}}}#Overview|Overview]]
|-
!
{{#if: {{#show: {{{name|}}} | ?Historical Perspective}} |{{#!:
|- bgcolor="Pink"
!
[[{{{name|}}}#Historical Perspective|Historical Perspective]]
|-
!}}| }}
{{#if: {{#show: {{{name|}}} | ?Classification Classic}} |{{#!:
|- bgcolor="Pink"
!
Classification:
{{#arraymap:{{#show: {{{name|}}} | ?Classification Classic}}|,|x|:x|\n\n}}
{{#arraymap:{{#show: {{{name|}}} | ?Classification Atypical}}|,|x|:x|\n\n}}
|-
!}}|
}}
{{#if: {{#show: {{{name|}}} | ?Pathophysiology}} |{{#!:
|- bgcolor="Pink"
!
[[{{{name|}}}#Pathophysiology|Pathophysiology]]
|-
!}}| }}
{{#if: {{#show: {{{name|}}} | ?Epidemiology}} |{{#!:
|- bgcolor="Pink"
!
[[{{{name|}}}#Epidemiology|Epidemiology]]
|-
!}}| }}
{{#if: {{#show: {{{name|}}} | ?Risk Factors}} |{{#!:
|- bgcolor="Pink"
!
[[{{{name|}}}#Risk Factors|Risk Factors]]
|-
!}}| }}
{{#if: {{#show: {{{name|}}} | ?Screening}} |{{#!:
|- bgcolor="Pink"
!
[[{{{name|}}}#Screening|Screening]]
|-
!}}| }}
{{#if: {{#show: {{{name|}}} | ?Caused By}} |{{#!:
|- bgcolor="Pink"
!
[[{{{name|}}}#Causes|Causes]]
|-
!{{#ask:[[Caused By::{{{name|}}}]]
|?Sort Order
|format=template
|headers=hide
|link=none
|limit=100
|template=MedicalCauseQueryRightNav
|sort=Sort Order
}}
!}}| }}
{{#if: {{#show: {{{name|}}} | ?Differential Diagnosis}} |{{#!:
|- bgcolor="Pink"
!
[[{{{name|}}}#Differential Diagnosis|Differential Diagnosis]]
|-
!}}| }}
 
|- bgcolor="Pink"
!
[[#Natural History, Complications & Prognosis|Natural History, Complications & Prognosis]]
|-
!
 
|- bgcolor="CornFlowerBlue"
!
Diagnosis
|-
!
{{#ask:[[Used To Diagnose::{{{name|}}}]]
|?Sort Order
|format=template
|headers=hide
|link=none
|limit=100
|template=MedicalTestQueryRightNav
|sort=Sort Order
}}
|- bgcolor="CadetBlue"
!
Treatment
|-
!
{{#ask:[[Used To Treat::{{{name|}}}]]
|format=template
|headers=hide
|link=none
|template=MedicalTreatmentQueryRightNav
}}{{#ask:[[Prevents::{{{name|}}}]]
|format=template
|headers=hide
|link=none
|template=MedicalTreatmentQueryRightNav
}}
|- bgcolor="PaleGoldenrod"
!
{{BASEPAGENAME}} On the web
|-
!
{{#ask:[[On The Web::+]][[{{{name|}}}]]
|?On The Web
|format=template
|link=none
|userparam=LightYellow
|template=SchemaDataLinkQuery
}}
|} }} | }}
</includeonly>
</includeonly>

Latest revision as of 14:10, 12 July 2012

This is the "RHNavGen" template. It should be called in the following format:

{{RHNavGen
|name=
}}

Edit the page to see the template text.