Template:Template

From Cheatsheet
Revision as of 11:10, 11 December 2010 by Admin (talk | contribs) (Created page with '<includeonly>Category:Template{{Info|''This page is a template. It contains no information but should be used as part of other articles. Please do not experiment with this t…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search



Using this template from within a template

This template should be added at the head of all template pages in this form:

<noinclude>{{Template}}</noinclude>

Try to avoid starting a new line after the </noinclude> tag as the newline will be treated as part of the template, causing extra blank space to appear above the template every time it is used.

The template code itself should be included between these tags:

<includeonly></includeonly>

Which will prevent it from appearing on the template page itself.

Warning: Wiki code that isn't between either of these tags will appear both on the template page and when the template is used in other pages.