Difference between revisions of "Template:VVHcases"

From WikiVet English
Jump to navigation Jump to search
Line 24: Line 24:
 
**Produces link to the [[Farm Animal Practice|farm animal practice]]
 
**Produces link to the [[Farm Animal Practice|farm animal practice]]
 
=====content=====
 
=====content=====
<p>Enter name of category of cases that you want to be listed.</p>
+
<p>Enter the code for the Dynamic Page list extension and include the name of category of cases that you want to be listed.</p>
 +
 
 
===Example===
 
===Example===
 
This code:
 
This code:

Revision as of 15:15, 4 February 2012

Basic Code

Copy and paste the below code to use the standard case list for the 'Virtual Veterinary Hospital'.

{{VVHcases
|level1=
|content=
}}

Explanation

The template accepts two variables level1 and content. The current page title is automatically added to the navigation bar.

level1

Accepts only three options and is case sensitive. If no input if given no link will be displayed. You may use:

content

Enter the code for the Dynamic Page list extension and include the name of category of cases that you want to be listed.

Example

This code:

{{VVHcases
|level1=farm
|content=
<DynamicPageList>
category  = VVH Sheep Cases
shownamespace = false
</DynamicPageList>
}}

Produces this: