Templates allow the use of a certain object throughout the wiki without needing to write the object itself. All changes made to the object are propagated through the wiki automatically.
Using a template
To use a template, use {{Template name}}. This will put the contents of Template:Template name in place of it when the page is loaded.
Templates with parameters
Some templates use parameters, which contain extra information. For example, {{msgbox}} produces:
It doesn't work very well, but {{msgbox|title=Title|text=Text}} produces:
A full list of parameters should be found on the templates' pages.
Templates with optional parameters
Some templates, such as Template:Delete, have optional parameters. {{Delete}} produces:
It looks fine. If you want to add a reason, {{Delete|Reason for deletion}} produces:
Transcluding other pages
You can transclude any page in the wiki. If the page is in the (Main) namespace, make sure to add a colon (:) before the name of the page.
<noinclude> tags
If <noinclude> tags are used in the template, nothing inside them is transcluded.
| Wiki help | |
|---|---|
| Rules and guidelines | |
| General pages | |
| User rights | |