Difference between revisions of "Template:Xerte"

From WikiVet English
Jump to navigation Jump to search
Line 36: Line 36:
 
  }}
 
  }}
 
Produces this:
 
Produces this:
{{xerte
+
<p>[[VVH:Lameness in a flock of sheep|See here]]
|level1=farm
 
|level2=Sheep Cases
 
|case=play_4904
 
}}
 
 
</noinclude>
 
</noinclude>

Revision as of 21:24, 19 February 2012

This template is used to embed Xerte cases into WikiVet's 'Virtual Veterinary Hospital'.

Basic Code

Copy and paste the below code to embed Xerte cases into a wiki page.

{{xerte
|level1=
|level2=
|case=
}}

Explanation

The template accepts three variables level1, level2 and case. The case 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:

level2

Provides a second level link to a subsection of the hospital defined in level1.Enter the page name (excluding the namespace as 'VVH:' is automatically added).

case

Enter the cases id for the xerte case. This is usually play_XXXX.

e.g. if the Xerte case has the link http://www.nottingham.ac.uk/toolkits/play_6391 you would simply use play_6391

Example

This code:

{{xerte
|level1=farm
|level2=Sheep Cases
|case=play_4904
}}

Produces this:

See here