Difference between revisions of "User:A.allison/Templates"

From WikiVet English
Jump to navigation Jump to search
Line 10: Line 10:
 
===Others===
 
===Others===
 
*Improved the functionality of these [[Help:Templates#Clinical Page's Templates|templates]] created by [[John Tulloch]] for [[WikiClinical]]
 
*Improved the functionality of these [[Help:Templates#Clinical Page's Templates|templates]] created by [[John Tulloch]] for [[WikiClinical]]
===Template creation===
+
===[[Template:infotable|Infotable]]===
{{infotable
+
This template is designed to automatically display content in preformed tables. Allowing content to be displayed across the full width of the screen and allowing colour coding of sections. This information is currently sitting inside this template.
|Maintitle = Functional Templates
+
<p>Supported by: [[Template:Blend]], [[Template:Mainheader]], [[Template:Sub]], [[Template:Subheading]], [[Template:Subtext]] & [[Template:Tableend]]</p>
|Maintitlebackcolour = 528B8B
+
===[[template:toplink|Toplink]]===
|Body =
+
This template was primarily designed to seamlessly intergrate the page formats created using the infotable template with the standard wikivet page layout as well as allowing the intergration of content maps. It also provides a compact system for displayed links back to higher pages.
{{infotable
+
<p>Supported by: [[Template:Toplinksublink]], [[Template:Topmap]] & [[Template:QuizCheck|QuizCheck]]</p>
|backcolour=
+
===[[template:citation|Citation]]===
|Border=
+
This template was designed to standardise how references for books and journals are displayed on the wiki.
|subheading1colour =B4CDCD
+
<p>Supported by: [[Template:Altlast]] & [[Template:Altfirst]]</p>
|subheading1 =[[Template:infotable|Infotable]]
+
===[[Template:Frontpage|Frontpage]]===
|subheading1width =33
+
This template is designed to ease the editing of the frontpages for each of the main sections on WikiVet.
|subheading1text = This template is designed to automatically display content in preformed tables. Allowing content to be displayed across the full width of the screen and allowing colour coding of sections. This information is currently sitting inside this template.
+
<p>Supported by: [[Template:Frontadditional]], [[Template:Fronttable]] & [[Template:Frontpagemap]]</p>
|subheading2colour =B4CDCD
+
===[[Template:WikiVetDemo|Login Images]]===
|subheading2 =[[template:toplink|Toplink]]
+
This template provides the links and images for the "error" pages that greets non-logged in users trying to reached restricted pages.
|subheading2width =33
+
===[[Template:Donkey|Donkey]]===
|subheading2text = This template was primarily designed to seamlessly intergrate the page formats created using the infotable template with the standard wikivet page layout as well as allowing the intergration of content maps. It also provides a compact system for displayed links back to higher pages and main sections.
+
This template provides the link to The Donkey Sanctuary found in the right hand side of toplink on all donkey pages.
|subheading3colour =B4CDCD
+
===[[Template:QuizCat|QuizCat]]===
|subheading3 =[[template:citation|Citation]]
+
This template produces the categories for the WikiQuiz pages.
|subheading3width =33
+
===[[Template:CTImages|CTImages]]===
|subheading3text = This template was designed to standardise how references for books and journals are displayed on the wiki.
+
Acknowledgement section for CT images.
}}{{infotable
+
===Supporting Templates===
|backcolour=
+
These templates give functionality to the templates shown above.
|Border=
+
*[[Template:If]] provides a basic if function to code. If the set variable is positive (i.e. has a value assigned) then it will display a determined  variable, and likewise if the set variable is negative (i.e. no value assigned) then another determined variable is displayed. *[[Template:Param1]] provides the variable for [[template:if]] to function.
|subheading1colour =B4CDCD
+
*[[Template:Ifeq]] gives the if function but allows the if to be an exact value.
|subheading1 =[[Template:Frontpage|Frontpage]]
+
*[[Template:Call]] supports this template.
|subheading1width =33
+
*[[Template:!]] allows the '|' to be used in templates without breaking template syntax e.g. putting a table into a template
|subheading1text = This template is designed to ease the editing of the frontpages for each of the main sections on WikiVet
 
|subheading2colour =B4CDCD
 
|subheading2 =[[Template:WikiVetDemo|Login Images]]
 
|subheading2width =33
 
|subheading2text = This template provides the links and images for the "error" pages that greets non-logged in users trying to reached restricted pages.
 
|subheading3colour =B4CDCD
 
|subheading3=[[Template:Donkey|Donkey]]
 
|subheading3width =33
 
|subheading3text = This template provides the link to The Donkey Sanctuary found in the right hand side of toplink on all donkey pages.
 
}}{{infotable
 
|subheading1 =[[Template:QuizCat|QuizCat]]
 
|subheading1width=33
 
|subheading1text=This template produces the categories for the WikiQuiz pages.
 
|subheading1colour=B4CDCD
 
|subheading2 =[[Template:CTImages|CTImages]]
 
|subheading2width=33
 
|subheading2text=Acknowledgement section for CT images.
 
|subheading2colour=B4CDCD}}}}
 
{{infotable
 
|Maintitle = Supporting Templates
 
|Maintitlebackcolour = 7BCC70
 
|Body = These templates give functionality to the templates shown above.
 
|subheading1 =General use templates:
 
|subheading1colour= B4EEB4
 
|subheading1text=<p>[[Template:If]] provides a basic if function to code. If the set variable is positive (i.e. has a value assigned) then it will display a determined  variable, and likewise if the set variable is negative (i.e. no value assigned) then another determined variable is displayed. [[Template:Param1]] provides the variable for [[template:if]] to function.</p><p>[[Template:Ifeq]] gives the if function but allows the if to be an exact value. [[Template:Call]] supports this template.</p>
 
|subheading1width =50
 
|subheading2colour =B4EEB4
 
|subheading2 = Specific templates
 
|subheading2width =50
 
|subheading2text =
 
{{infotable
 
|backcolour=
 
|Border=
 
|subheading1colour =
 
|subheading1 = For Infotable
 
|subheading1width =50
 
|subheading1text =[[Template:Blend]], [[Template:Mainheader]], [[Template:Sub]], [[Template:Subheading]], [[Template:Subtext]] & [[Template:Tableend]]
 
|subheading2colour =
 
|subheading2 = For Toplink
 
|subheading2width =50
 
|subheading2text =<p>[[Template:Toplinksublink]], [[Template:Topmap]] & [[Template:QuizCheck|QuizCheck]]</p>}}
 
{{infotable
 
|backcolour=
 
|Border=
 
|subheading1colour =
 
|subheading1 = For Citation
 
|subheading1width =50
 
|subheading1text = <p>[[Template:Altlast]] & [[Template:Altfirst]]</p>
 
|subheading2colour =
 
|subheading2 = For Frontpage
 
|subheading2width =50
 
|subheading2text =<p>[[Template:Frontadditional]], [[Template:Fronttable]] & [[Template:Frontpagemap]]</p>}}
 
{{infotable
 
|backcolour=
 
|Border=
 
|subheading1colour =
 
|subheading1 = For [[Extension:ImageMap|ImageMap]]
 
|subheading1width =50
 
|subheading1text = <p>[[Template:!]]</p>
 
}}}}
 

Revision as of 17:27, 19 September 2010

Asher Allison's Page Customise Your Page? Asher Allison
Change Image
Occupation Veterinarian
Veterinary School UK - Nottingham
Year of Graduation 2011
Email -

About Me - Technical WikiLog - To Do - Wiki Development - Content - Extensions - Templates - Miscellaneous


  • Template:Reviewed

User Pages

Vet School Pages

Others

Infotable

This template is designed to automatically display content in preformed tables. Allowing content to be displayed across the full width of the screen and allowing colour coding of sections. This information is currently sitting inside this template.

Supported by: Template:Blend, Template:Mainheader, Template:Sub, Template:Subheading, Template:Subtext & Template:Tableend

Toplink

This template was primarily designed to seamlessly intergrate the page formats created using the infotable template with the standard wikivet page layout as well as allowing the intergration of content maps. It also provides a compact system for displayed links back to higher pages.

Supported by: Template:Toplinksublink, Template:Topmap & QuizCheck

Citation

This template was designed to standardise how references for books and journals are displayed on the wiki.

Supported by: Template:Altlast & Template:Altfirst

Frontpage

This template is designed to ease the editing of the frontpages for each of the main sections on WikiVet.

Supported by: Template:Frontadditional, Template:Fronttable & Template:Frontpagemap

Login Images

This template provides the links and images for the "error" pages that greets non-logged in users trying to reached restricted pages.

Donkey

This template provides the link to The Donkey Sanctuary found in the right hand side of toplink on all donkey pages.

QuizCat

This template produces the categories for the WikiQuiz pages.

CTImages

Acknowledgement section for CT images.

Supporting Templates

These templates give functionality to the templates shown above.

  • Template:If provides a basic if function to code. If the set variable is positive (i.e. has a value assigned) then it will display a determined variable, and likewise if the set variable is negative (i.e. no value assigned) then another determined variable is displayed. *Template:Param1 provides the variable for template:if to function.
  • Template:Ifeq gives the if function but allows the if to be an exact value.
  • Template:Call supports this template.
  • Template:! allows the '|' to be used in templates without breaking template syntax e.g. putting a table into a template