From GodWiki
Jump to: navigation, search

Templates — the very backbone of the Wiki.


A template is a page created explicitly for transclusion — the process of including the contents of one page within another page. Any page can be transcluded, but templates are designed specifically for that purpose, usually for repetitive material that might need to show up on any number of articles or pages. They are commonly used for boilerplate messages, standard warnings or notices, infoboxes, navigational boxes and similar.

  • The name of all template articles begin with Template: and should be included in Category:Templates.
  • Anything you write which is enclosed in double curly-braces ( eg. {{example template}} ) is taken to be a template. To prevent this, force the page to ignore wiki formatting for a section by putting <nowiki> and </nowiki> around the text, like this: <nowiki>{{example template}}</nowiki>
  • You can also use the special template {{Tlx}} to refer to templates in text, such as on talk pages. Writing {{tlx|Diary}} will appear just like this: {{Diary}}. Similarly, {{Para}} can be used to clearly discuss template parameters (see the template documentation for usage).
  • Important templates usually have documentation. The documentation consists of instructions for using the templates (usable parameters etc.) and are embedded in the template articles they give instructions for, in order to be easily accessible.

Commonly used templates

When writing articles, you may need to use a number of templates. These are the most commonly used:

  • Pages about {{guild}}s, {{artifact}}s, {{equipment}}, {{monster}}s, and plenty of other page types have templates designed to give you a quick start on the subject's main features. See each template's documentation and the Creators Manual for more information.
  • If you need to tag your article as needing a picture, place {{picture}} at the top.
  • If an article is a stub, label it as one using {{stub}} (again, at the top).
  • If you haven't finished writing an article and want to come back to it later, you can tag it as 'under construction' with {{construction}}.

If you are interested in using other templates, see List of Templates. Please do not directly edit any page that begins with Template: unless you are quite confident you understand what you are doing, and what changes it will cause to the wiki.

Templates within Templates

There are loads of templates which can be used while writing a template article. These templates should not be tampered with as they may be very important. Other than the usual templates, there are two other categories of templates which are different: