Free codes for Webkinz, virtual items, and more from Webkinz Insider

Win Free Webkinz Codes Now!
Personal tools

Webkinz Insider Wiki:Templates

From Webkinz Insider Wiki

Jump to: navigation, search
A work in progress. --ClaraZ25 file:Sysop.jpg 

There are many different templates on the Webkinz Insider WIki. These templates allow users to easily insert a complicated piece of coding into a page without needing to know the complex code. It also increases consistency among many pages. Below is a list of many commonly used templates.

Minor Templates

This templates are very simple in use but are still important templates that are very commonly used in the WIki.

  • Template:*
    • Inserts a bullet () into a page without causing a line break.
    • Example: The following inserted into a page: Ipsum {{*}} dolar will result in: Ipsum dolar
  • Template:!
    • Inserts a a vertical bar (|) into a WIki page without causing formatting conflicts.
    • Example: The following inserted into a page: {{!}}-4{{!}} = 4 will result in: |-4| = 4

Table of Contents Templates

The table of contents is always instructed on pages to appear just above the first section on the left side of the screen. This may not be the best place for the TOC on all pages. The following templates allow editors to move the TOC to different sections of the page.

  • No Table of Contents __NOTOC__
    • Inserting __NOTOC__ into any WIki page will result in the Table of Contents no being displayed. Although this can be entered anywhere on a page it is good practice to insert it on the first line of the page.
  • __TOC__
    • Inserting __TOC__ will cause the table of contents to appear wherever this is entered. This is useful when you don't want the table of contents in the default location.
  • Template:TOC Left
    • Inserting {{TOC Left}} will cause the table of contents to be placed wherever this is entered and aligned to the left side of the page. It also allows the page text to wrap around the table of contents. This template is especially useful on pages with many sections and a long table of contents.

Basic Templates

Basic Templates are templates that have very few parameters and are thus easier to understand. These templates are still very important nevertheless.

  • Template:Anchor
    • Creates in in-page link that allows for links between different sections of the page.
    • Example: Inserting the following code into a page: {{Anchor|Intro}} will result in no visual change but if you link to it by inserting: #Intro you will be taken to wherever the Anchor template was placed. (In this case in the introduction)
  • Template:Main
    • Creates a link to the main section of an article.
    • Example: Inserting: {{Main|Main Page}} will result in:
Main Article: Main Page

This is especially useful when creating a Index page.

  • Template:Similar
    • Creates a message at the top of the screen that informs readers that there are two p[ages with similar names. This template needs to be placed near the top of the page above any visual parts of the page but below any Top Dependent Templates.
    • Example: Inserting: {{Similar|This page is about the Arcade Game Wacky Zingoz. For the Webkinz Character, see [[Wacky Zingoz (Character)]]}} will result in:
This page is about the Arcade Game Wacky Zingoz. For the Webkinz Character, see Wacky Zingoz (Character)

Top Dependent Templates

Top Dependent Templates are placed on the first line of any WIki page. It is important that they are placed in this location so that they are properly displayed on the page. Top Dependent Templates are also always surrounded with <noinclude> tags so that they won't be transcluded into other pages.

WIki Contributors are asked not to add, remove or edit top dependent templates without first contacting a WIki SysOp.

Major Templates

These templates are more complex than minor templates. They often involve multiple attributes and produce a more complex result. They are still relatively easy to use after understanding how they work.

  • Template:Glossary
    • Creates a Glossary entry. This template is only used in the Glossary.
    • Click show for full guide on how to use the glossary template.
  • Template:Character
    • Creates a table for use on Character pages that displays quick facts like the age, gender, and picture of the character.
    • Click show for a full guide on how to use the character template.

Picture Gallery Templates

Table Frame Templates

Index Page Templates

Footer Templates