Help:Templates

From Zelda Wiki.org

Jump to: navigation, search
Help Guide Help Guide
Where the Zelda Wiki.org community lives.

Castle
Town

Zelda Wiki.org's feedback/bug arena

Hyrule
Castle

Zelda Wiki.org's community discussion and problem center.

The Heart
Container

Zelda Wiki.org's problem time machine.

Pieces
of Heart

Featured Article nominations and voting.

Featured
Articles

Featured Picture nominations and voting.

Featured
Pictures

Image request and support center.

Image
Requests

Zelda Wiki.org's book of knowledge and regulations.

Help
Guide

Zelda Wiki.org on Facebook

Facebook
page

Zelda Wiki.org on Twitter

Twitter
page

Zelda Wiki.org on Skype

Skype
chat

Zelda Wiki.org's News Feed

Masterminds
RSS


Templates are just that: templates that can be used on any page to standardize some element. There are many kinds of templates, each serving a different goal.

Essentially, a template is a separate page, and by including the name of that page enclosed in {{two curly brackets}} in a page, the entire contents of that template page will be displayed on the page you've posted it on. Many templates have extra parameters that will form the actual content of the template.

Contents

Types of Templates

Navigation Templates

See all navigation templates

The simplest kind of template, navigation templates are simple templates that list several pages and facilitate page navigation. They are placed on pages of similar types, as can be seen with templates such as the {{songs}} or {{fairies}} templates. These contain no extra parameters to modify.

Infobox Templates

See all infobox templates

Infobox templates have specific fields relating to particular topics depending on what the infobox's intended purpose is, such as {{game}} or {{system}}. These contain extra parameters to modify in order to display the necessary information.

Formatting Templates

See all formatting templates

Formatting templates exist to help with the standardization of formatting across the Wiki - they essentially mold what you've written to appear a certain way. An excellent example would be the {{cite}} template; it ensures that all in-game citations in references appear the same throughout the entire site. These contain extra parameters to modify.

Making a Template

The easiest way is to add {{your template name}} to the Sandbox, and click on the red link that appears. From there you can create your template, which is most easily done by copying and pasting the code from a similar template; then you can just modify it.

Make sure that at the end of the last line of the ACTUAL TEMPLATE you add <noinclude> to begin any section detailing how to use the template, and also the add the necessary category for that template. Do not finish the template, create a new line, and then add the <noinclude> tag.

Google AdSense