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

From WikiVet English
Jump to navigation Jump to search
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{AsherUserPage}}
 
{{AsherUserPage}}
===Page status templates===
+
===User Pages===
These are used to indicate what stage a page is currently at:
+
*UserPages ([[Template:UserPage]])
* [[Template:Unfinished]]: Page is still under construction
+
** [[Template:VetPage]]
* [[Template:Review]]: Page need to be reviewed, but is other wise "complete"
+
** [[Template:NursePage]]
* [[Template:Reviewed]]: Page content has been peer reviewed
+
** [[Template:OtherPage]]
* [[Template:Merge]]: Page content probably should be merged with another page's content
+
** [[Template:BlankPage]]
===[[Template:UserPage|User Pages]]===
+
===Vet School Pages===
User information box now automatically generated when user decides to add their information to their user page.
 
<p>Supported by: [[Template:VetPage]], [[Template:NursePage]], [[Template:OtherPage]] & [[Template:BlankPage]]</p>
 
 
 
===[[Template:Vetschool|Vet School Info Page]]===
 
Used to standardise the information pages for the vetschools. Example for the RVC can be seen [[RVC|here]].
 
<p>Supported by: [[Template:Schoolimage]] & [[Template:Schoolrow]]</p>
 
 
 
===[[Template: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.
 
<p>Supported by: [[Template:Blend]], [[Template:Mainheader]], [[Template:Sub]], [[Template:Subheading]], [[Template:Subtext]] & [[Template:Tableend]]</p>
 
===[[template:toplink|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.
 
<p>Supported by: [[Template:Toplinksublink]], [[Template:Topmap]] & [[Template:QuizCheck|QuizCheck]]</p>
 
===[[template:citation|Citation]]===
 
This template was designed to standardise how references for books and journals are displayed on the wiki.
 
<p>Supported by: [[Template:Altlast]] & [[Template:Altfirst]]</p>
 
===[[Template:Frontpage|Frontpage]]===
 
This template is designed to ease the editing of the frontpages for each of the main sections on WikiVet.
 
<p>Supported by: [[Template:Frontadditional]], [[Template:Fronttable]] & [[Template:Frontpagemap]]</p>
 
===[[Template:WikiVetDemo|Login Images]]===
 
This template provides the links and images for the "error" pages that greets non-logged in users trying to reached restricted pages.
 
===[[Template:Donkey|Donkey]]===
 
This template provides the link to The Donkey Sanctuary found in the right hand side of toplink on all donkey pages.
 
===[[Template:QuizCat|QuizCat]]===
 
This template produces the categories for the WikiQuiz pages.
 
===[[Template:QuizCheck|Quiz Reviewed]]===
 
Display box to indicate who has reviewed a particular quiz.
 
===[[Template:CTImages|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
 
 
===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:RCVS]]created to add recognition of RCVS funding. Now depreciated.
+
===Template creation===
* [[Template:AsherUserPage]] is used on all pages (at the top) in my user space
+
{{infotable
 +
|Maintitle = Functional Templates
 +
|Maintitlebackcolour = 528B8B
 +
|Body =
 +
{{infotable
 +
|backcolour=
 +
|Border=
 +
|subheading1colour =B4CDCD
 +
|subheading1 =[[Template:infotable|Infotable]]
 +
|subheading1width =33
 +
|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.
 +
|subheading2colour =B4CDCD
 +
|subheading2 =[[template:toplink|Toplink]]
 +
|subheading2width =33
 +
|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.
 +
|subheading3colour =B4CDCD
 +
|subheading3 =[[template:citation|Citation]]
 +
|subheading3width =33
 +
|subheading3text = This template was designed to standardise how references for books and journals are displayed on the wiki.
 +
}}{{infotable
 +
|backcolour=
 +
|Border=
 +
|subheading1colour =B4CDCD
 +
|subheading1 =[[Template:Frontpage|Frontpage]]
 +
|subheading1width =33
 +
|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 19:46, 28 July 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


User Pages

Vet School Pages

Others

Template creation

Functional Templates

{|style="margin:0px 0px 0px 0px; background:none;"|class="MainPageBG" style="width:100%; border:1px solid #; background:#f5fffa; vertical-align:top; color:#000;"|


Infotable

Toplink

Citation

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. 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 was designed to standardise how references for books and journals are displayed on the wiki.

Frontpage

Login Images

Donkey

This template is designed to ease the editing of the frontpages for each of the main sections on WikiVet This template provides the links and images for the "error" pages that greets non-logged in users trying to reached restricted pages. This template provides the link to The Donkey Sanctuary found in the right hand side of toplink on all donkey pages.

QuizCat

CTImages

This template produces the categories for the WikiQuiz pages. Acknowledgement section for CT images.

|style="border:1px solid transparent"| |}

Supporting Templates

These templates give functionality to the templates shown above.

General use templates:

Specific templates

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.

{|style="margin:0px 0px 0px 0px; background:none;"|class="MainPageBG" style="width:100%; border:1px solid #; background:#f5fffa; vertical-align:top; color:#000;"|


For Infotable

For Toplink

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

Template:Toplinksublink, Template:Topmap & QuizCheck

For Citation

For Frontpage

Template:Altlast & Template:Altfirst

Template:Frontadditional, Template:Fronttable & Template:Frontpagemap

For ImageMap

Template:!

|style="border:1px solid transparent"| |}