Changes

Jump to navigation Jump to search
157 bytes added ,  21:30, 4 March 2012
no edit summary
Line 2: Line 2:  
{|style="border-width: 0px;padding: 0px; border-collapse: collapse; border-spacing: 0; background-color: rgb(132, 162, 198); margin: 0; vertical-align:middle;"
 
{|style="border-width: 0px;padding: 0px; border-collapse: collapse; border-spacing: 0; background-color: rgb(132, 162, 198); margin: 0; vertical-align:middle;"
 
|width="42px"|[[File:VVH-Logo 100.png|40px|link=Virtual Veterinary Hospital]]
 
|width="42px"|[[File:VVH-Logo 100.png|40px|link=Virtual Veterinary Hospital]]
|style="background-color: rgb(69, 98, 135);font-variant: small-caps; font-size: 20px; font-weight: bolder; color: white;"|  {{#if:{{{level1|}}}|{{#ifeq:{{{level1|}}}|small|[[Small Animal Hospital]][[Category:VVH Small Animal Cases]]|{{#ifeq: {{{level1|}}}|equine|[[Equine Yard]][[Category:VVH Equine Cases]]|{{#ifeq:{{{level1|}}}|farm|[[Farm Animal Practice]][[Category:VVH Farm Cases]]|}}}}}}|}}{{#if:{{{level1|}}}|{{#if:{{{level2|}}}| > |}}|}}{{#if:{{{level2|}}}|[[VVH:{{{level2|}}}|{{{level2|}}}]][[Category:VVH {{{level2|}}}]]|}}{{#if:{{{level1|}}}| > |{{#if:{{{level2|}}}| > |}}}}{{PAGENAME}}
+
|style="background-color: rgb(69, 98, 135);font-variant: small-caps; font-size: 20px; font-weight: bolder; color: white;"|  {{#if:{{{level1|}}}|{{#ifeq:{{{level1|}}}|small|[[Small Animal Hospital]][[Category:VVH Small Animal Cases]]|{{#ifeq: {{{level1|}}}|equine|[[Equine Yard]][[Category:VVH Equine Cases]]|{{#ifeq:{{{level1|}}}|farm|[[Farm Animal Practice]][[Category:VVH Farm Cases]]|}}}}}}|}}{{#if:{{{level1|}}}|{{#if:{{{level2|}}}| > |}}|}}{{#if:{{{level2|}}}|[[VVH:{{{level2|}}}|{{{level2|}}}]][[Category:VVH {{{level2|}}}]]|}}{{#if:{{{level1|}}}| > |{{#if:{{{level2|}}}| > |}}}}{{PAGENAME}}{{#if:{{{section|}}}|[[Category:VVH {{{section|}}}]]|}}
 
|-
 
|-
 
|colspan="2" style="border-width: 0px; padding: 0px; border-collapse: collapse; border-spacing: 0; background-color: rgb(69,98,135);"|{{#widget:Xerte|case={{{case|play_6691}}}}}
 
|colspan="2" style="border-width: 0px; padding: 0px; border-collapse: collapse; border-spacing: 0; background-color: rgb(69,98,135);"|{{#widget:Xerte|case={{{case|play_6691}}}}}
Line 12: Line 12:  
  |level2=
 
  |level2=
 
  |case=
 
  |case=
 +
|section=
 
  }}
 
  }}
 
====Explanation====
 
====Explanation====
<p>The template accepts three variables <code>level1</code>, <code>level2</code> and <code>case</code>. The case title is automatically added to the navigation bar.</p>
+
<p>The template accepts three variables <code>level1</code>, <code>level2</code> and <code>case</code>. The case title is automatically added to the navigation bar.</p><p>The section refers to the bodysystem category. i.e 'Small Animal Dermatology Cases'.</p>
 
=====level1=====
 
=====level1=====
 
Accepts only three options and is '''case sensitive'''. If no input if given no link will be displayed. You may use:
 
Accepts only three options and is '''case sensitive'''. If no input if given no link will be displayed. You may use:

Navigation menu