Templates are reusable portions of text and/or wiki markup that can be "included" in other pages by using the "double-braces" wiki syntax:
- {{Name of template}}
The name of the template can have spaces (you don't have to replace them by _underscores_); the first letter is case insensitive (it can be capital or lower-case), but subsequent letters are case sensitive.
The content of the template is stored in the same-named page in the Template: namespace, which would be linked to using the following "double-square-brackets" syntax:
- [[Template:Name of template]]
The two forms differ in that the former results in the substitution (or "transclusion") of the contents of the template page at that point in the current page (where {{...}} appears), whereas the latter simply links to the page.
See Wikipedia:Template namespace for more background information on templates.
Wiki markup for templates[]
A concrete example:
- [[Template:Unsigned]] results in the link:
- {{Unsigned}} — or, equivalently, {{unsigned}} — results in the contents of the "Unsigned" template being inserted into the current page:
- —The preceding unsigned comment was made by [[User:{{{1}}}|{{{1}}}]] ([[User talk:{{{1}}}|talk]] • [[Special:Contributions/{{{1}}}|contribs]] • [[w:User:{{{1}}}|central wikia]]).
On the other hand:
- [[Unsigned]] links to the "article" Unsigned, which doesn't actually exist.
Note that [[Unsigned]] and {{Unsigned}} have nothing to do with each other.
See Help:Template at Wikimedia's Meta-Wiki for more (much, much more) information.
Lists of templates[]
The following tables list the templates that are currently in use on this wikia, including brief descriptions and examples of usage.
See also the alphabetical list of templates and Category:Templates.
Maintenance templates[]
- {{Delete}}
Stub templates[]
- {{Stub}}
[]
Informational templates[]
- {{Anonuser}}
- {{Catredir}}
- {{Sandbox header}}
- {{Template sandbox header}}
- {{To forum index}}
- {{Unsigned}}
Interwiki templates[]
- {{Wikipedia}}
Wikicode templates[]
Other templates[]
- {{Def}}
- {{If}}
- {{Sandbox}}
- {{Sudoku grid}}