Difference between revisions of "Help:Templates"

From WikiVet English
Jump to navigation Jump to search
Line 5: Line 5:
 
}}
 
}}
 
<br>
 
<br>
 
+
<p>''Templates are a commands that are used whilst editing a page that call code from a template page. Often this is in the form of a predetermined table/graphic on the final article. Below are discussed the main templates that are used throughout WikiVet.''</p>
Templates are a command used whilst editing a page that results in a predetermined box/graphic on the final article. Below are discussed the main templates that are used throughout WikiVet.  
 
 
 
 
 
 
===Toplink===
 
===Toplink===
The toplink is the coloured bar at the top of every page that is used throughout the wiki as a navigational tool. The following link describes how to use it; [[Template:Toplink|toplink]]. For an explanation of its deployment across the wiki see [[Help:Toplink Deployment|here]].
+
<p>The toplink is the coloured bar at the top of every page that is used throughout the wiki as a navigational tool. The following link describes how to use it; [[Template:Toplink|toplink]]. For an explanation of its deployment across the wiki see [[Help:Toplink Deployment|here]].</p>
 
 
 
 
 
===Under Construction===
 
===Under Construction===
The under-construction template is the next most important template. This is the first thing that should be written on a newly created page to show that page is still under construction.
+
<p>The under-construction template is the next most important template. This is the first thing that should be written on a newly created page to show that page is still under construction.
If you type <nowiki>{{unfinished}}</nowiki>
+
If you type <code><nowiki>{{unfinished}}</nowiki></code>
  
 
The following will appear on the final page:
 
The following will appear on the final page:

Revision as of 13:43, 8 October 2008

Help:ContentsHelp Banner.png
HELP



Templates are a commands that are used whilst editing a page that call code from a template page. Often this is in the form of a predetermined table/graphic on the final article. Below are discussed the main templates that are used throughout WikiVet.

Toplink

The toplink is the coloured bar at the top of every page that is used throughout the wiki as a navigational tool. The following link describes how to use it; toplink. For an explanation of its deployment across the wiki see here.

Under Construction

The under-construction template is the next most important template. This is the first thing that should be written on a newly created page to show that page is still under construction. If you type {{unfinished}} The following will appear on the final page:




Once a page has been finished the under construction sign needs to be replaced with a review sign. This indicates to wiki users and admin that the article is finished but has not yet been peer-reviewed. To create it type {{review}}

The following will appear on the final page:



The final template that is used is one that the admin will use to show that the article has been reviewed but just needs some images uploaded to the page. This appears as:

Wiki.pngThis section has been fully reviewed, but still needs its pictures uploading.

Clinical Pages Templates

When making a page on the clinical section of the wiki, it is important to flag up graphically what species you are dealing this. Hence we have developed some templates which will put up the section logo in the top right hand corner of the page. Below we show what to type in to create each image:


Category:WikiClinical CanineCow

{{dog}} results in:


Category:WikiClinical FelineCow


{{cat}} results in:


Category:WikiClinical EquineCow

{{horse}} results in:


Category:WikiClinical BovineCow

{{cow}} results in:


Category:WikiClinical PorcineCow

{{pig}} results in:


Category:WikiClinical OvineCow


{{sheep}} results in:


Category:WikiClinical CamelidAlpaca


{{camelid}} results in:


Category:WikiClinical ReptileCow

{{lizard}} results in:


Category:WikiClinical ChickenCow


{{chicken}} results in:


Others

  • Citation is used for standardising references across the wiki. Template page contains help on its usage
  • Infotable is used for placing content in preformed tables without the requirment to use more complex code.
  • Frontpage is drives the format of the front pages for each of the main areas of wikivet. Help on its usage is located on the template page.