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

From WikiVet English
Jump to navigation Jump to search
(13 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:Blank]]
===[[Template:UserPage|User Pages]]===
+
===Template creation===
User information box now automatically generated when user decides to add their information to their user page.
+
{{infotable
<p>Supported by: [[Template:VetPage]], [[Template:NursePage]], [[Template:OtherPage]] & [[Template:BlankPage]]</p>
+
|Maintitle = Functional Templates
 
+
|Maintitlebackcolour = 528B8B
===[[Template:Vetschool|Vet School Info Page]]===
+
|Body =
Used to standardise the information pages for the vetschools. Example for the RVC can be seen [[RVC|here]].
+
{{infotable
<p>Supported by: [[Template:Schoolimage]] & [[Template:Schoolrow]]</p>
+
|backcolour=
 
+
|Border=
===[[Template:infotable|Infotable]]===
+
|subheading1colour =B4CDCD
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.
+
|subheading1 =[[Template:infotable|Infotable]]
<p>Supported by: [[Template:Blend]], [[Template:Mainheader]], [[Template:Sub]], [[Template:Subheading]], [[Template:Subtext]] & [[Template:Tableend]]</p>
+
|subheading1width =33
===[[template:toplink|Toplink]]===
+
|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.
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.
+
|subheading2colour =B4CDCD
<p>Supported by: [[Template:Toplinksublink]], [[Template:Topmap]] & [[Template:QuizCheck|QuizCheck]]</p>
+
|subheading2 =[[template:toplink|Toplink]]
===[[template:citation|Citation]]===
+
|subheading2width =33
This template was designed to standardise how references for books and journals are displayed on the wiki.
+
|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.
<p>Supported by: [[Template:Altlast]] & [[Template:Altfirst]]</p>
+
|subheading3colour =B4CDCD
===[[Template:Frontpage|Frontpage]]===
+
|subheading3 =[[template:citation|Citation]]
This template is designed to ease the editing of the frontpages for each of the main sections on WikiVet.
+
|subheading3width =33
<p>Supported by: [[Template:Frontadditional]], [[Template:Fronttable]] & [[Template:Frontpagemap]]</p>
+
|subheading3text = This template was designed to standardise how references for books and journals are displayed on the wiki.
===[[Template:WikiVetDemo|Login Images]]===
+
}}{{infotable
This template provides the links and images for the "error" pages that greets non-logged in users trying to reached restricted pages.
+
|backcolour=
===[[Template:Donkey|Donkey]]===
+
|Border=
This template provides the link to The Donkey Sanctuary found in the right hand side of toplink on all donkey pages.
+
|subheading1colour =B4CDCD
===[[Template:QuizCat|QuizCat]]===
+
|subheading1 =[[Template:Frontpage|Frontpage]]
This template produces the categories for the WikiQuiz pages.
+
|subheading1width =33
===[[Template:QuizCheck|Quiz Reviewed]]===
+
|subheading1text = This template is designed to ease the editing of the frontpages for each of the main sections on WikiVet
Display box to indicate who has reviewed a particular quiz.
+
|subheading2colour =B4CDCD
===[[Template:CTImages|CTImages]]===
+
|subheading2 =[[Template:WikiVetDemo|Login Images]]
Acknowledgement section for CT images.
+
|subheading2width =33
===Supporting Templates===
+
|subheading2text = This template provides the links and images for the "error" pages that greets non-logged in users trying to reached restricted pages.
These templates give functionality to the templates shown above.
+
|subheading3colour =B4CDCD
*[[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.  
+
|subheading3=[[Template:Donkey|Donkey]]
*[[Template:Param1]] provides the variable for [[template:if]] to function.
+
|subheading3width =33
*[[Template:Ifeq]] gives the if function but allows the if to be an exact value.
+
|subheading3text = This template provides the link to The Donkey Sanctuary found in the right hand side of toplink on all donkey pages.
*[[Template:Call]] supports this template.
+
}}{{infotable
*[[Template:!]] allows the '|' to be used in templates without breaking template syntax e.g. putting a table into a template
+
|subheading1 =[[Template:QuizCat|QuizCat]]
===Others===
+
|subheading1width=33
*Improved the functionality of these [[Help:Templates#Clinical Page's Templates|templates]] created by [[John Tulloch]] for [[WikiClinical]]
+
|subheading1text=This template produces the categories for the WikiQuiz pages.
*[[Template:RCVS]]created to add recognition of RCVS funding. Now depreciated.
+
|subheading1colour=B4CDCD
* [[Template:AsherUserPage]] is used on all pages (at the top) in my user space
+
|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 07:08, 15 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

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"| |}