1,003 bytes added ,  15:04, 4 February 2012
no edit summary
Line 5: Line 5:  
|-
 
|-
 
|colspan="2" style="border-width: 0px; padding: 0px; border-collapse: collapse; border-spacing: 0; background-color: rgb(132, 162, 198); font-variant: small-caps; font-size: 17px; font-weight: bolder; color: white;"|
 
|colspan="2" style="border-width: 0px; padding: 0px; border-collapse: collapse; border-spacing: 0; background-color: rgb(132, 162, 198); font-variant: small-caps; font-size: 17px; font-weight: bolder; color: white;"|
{{{content|}}}
+
<DynamicPageList>
 +
category  = {{{content|}}}
 +
namespace = VVH
 +
</DynamicPageList>
 
|}</div></includeonly><noinclude>
 
|}</div></includeonly><noinclude>
 +
===Basic Code===
 +
Copy and paste the below code to use the standard case list for the '[[Virtual Veterinary Hospital]]'.
 
  <nowiki>{{</nowiki>VVHcases
 
  <nowiki>{{</nowiki>VVHcases
 
  |level1=
 
  |level1=
 
  |content=
 
  |content=
 
  }}
 
  }}
 +
====Explanation====
 +
<p>The template accepts two variables <code>level1</code> and <code>content</code>. The current page title is automatically added to the navigation bar.</p>
 +
=====level1=====
 +
Accepts only three options and is '''case sensitive'''. If no input if given no link will be displayed. You may use:
 +
*<code>small</code>
 +
**Produces link to the [[Small Animal Hospital|small animal hospital]]
 +
*<code>equine</code>
 +
**Produces link to the [[Equine Yard|equine yard]]
 +
*<code>farm</code>
 +
**Produces link to the [[Farm Animal Practice|farm animal practice]]
 +
=====content=====
 +
<p>Enter name of category of cases that you want to be listed.</p>
 +
===Example===
 +
This code:
 +
<nowiki>{{</nowiki>VVHcases
 +
|level1=farm
 +
|content=VVH Sheep Cases‎
 +
}}
 +
Produces this:
 +
{{VVHcases
 +
|level1=farm
 +
|content=VVH Sheep Cases‎
 +
}}
 
</noinclude>
 
</noinclude>