Difference between revisions of "User:A.allison/Templates"
Jump to navigation
Jump to search
(Created page with '{{AsherUserPage}}') |
|||
Line 1: | Line 1: | ||
{{AsherUserPage}} | {{AsherUserPage}} | ||
+ | ===Template creation=== | ||
+ | {{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 22:31, 13 July 2010
Asher Allison's Page Customise Your Page? | ||
Occupation | Veterinarian | |
Veterinary School | UK - Nottingham | |
Year of Graduation | 2011 | |
- |
About Me - Technical WikiLog - To Do - Wiki Development - Content - Extensions - Templates - Miscellaneous
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 |
For Citation |
For Frontpage |
||
---|---|---|---|
Template:Frontadditional, Template:Fronttable & Template:Frontpagemap |
For ImageMap |
|||
---|---|---|---|
|style="border:1px solid transparent"| |}