FANDOM


There are many templates in use in Role Play Wiki; the ones listed on this page are some of the most important and commonly used ones. If you feel that a template belongs on this page, do not hesitate to add it. However, keep in mind that this page is only for wide usage templates, such as infoboxes, navboxes, notices, etc. It should not cover every single template on this wikia.

In order to get a complete list of templates, you can go to Category:Templates, which should cover all templates in the wiki, categorized into the various subcategories. Apart from that, the Template namespace (found from Special:Allpages) always has all templates on Role Play Wiki, sorted alphanumerically.

Templates: what & how Edit

Definition Edit

What are templates? Wiki templates provide a means to insert the same content over and over in the same or different pages pages, or to display certain informational elements in a consequent way.

The use of templates saves editors the hassle of duplicating the same text again and again, and also helps to ensure consistency on every page of this wiki. It reduces the amount of text on a page and allows to edit layout from one centralized place (the template page).

Creation Edit

How to make templates? You can find more information on how to create templates on the page Help:Templates. If you are new with wiki-markup and/or HTML, feel free to ask other users on their talk page, or those who are present in the chat.

Besides the template itself, it is also advised to create a matching document in the subpage /doc, explaining the usage of the template to other users and providing a blank version with parameters to fill out.

Usage Edit

How to use them? Templates are inserted in a page with the format required to use the template (e.g. {{t|t}}, which renders {{t}}). Clicking the template name takes you to the template's page, where you can see what it looks like and how it is used.

Detailed instructions on the usage of each template should exist on:

  1. a subpage using {{documentation}} (preferred); or
  2. the template page itself (inside "noinclude" tags).

In both cases, it will be displayed on the template page itself.

Article management templates Edit

Nominate an article for deletion Edit

Nominating an article for deletion would mean that an article did not, does not and will not have a place on the wiki.

{{delete}}

  • Add this to an article to nominate it for deletion. It will add the article to Category:Candidates for deletion.
  • Do not blank the article, just add {{delete}} at the top of the page.

{{speedydelete|<reason>}}

  • Add this to an article for pages that qualify for speedy deletion.
  • Do not blank the article, just add {{speedydelete|reason}} at the top of the page.

Disambiguation articles Edit

Disambiguation pages list a set of articles with closely related names, that may be mistaken with each other.

{{disambig}}

  • If there are several articles that have similar or identical names, you may wish to create a "disambiguation" page at the main article name, with the articles taking an extra phrase in brackets afterwards. For example:
The Prince <-- disambiguation page, with links to:
The Prince (frog)
The Prince (human)

Articles that require editing Edit

{{stub}}

  • When a page has little or no useful information, then it is likely a stub. This template will include them in Category:Article stubs, and is used to list which articles need expanding.
  • Please only add {{stub}} to a page in the case it is less than 500 bytes (verifiable in page history).
  • For more information, see Help:Stubs.
  • To indicate the article is a stub, just add {{stub}} at the top of the page.

{{cleanup}}

  • When a page looks messy, needs for instance language correction, restructuring or recategorization, you use this template.
  • For user ease, add the type and reason of the cleanup.
  • To indicate the article is in need of a cleanup, just add {{cleanup}} and additional parameters at the top of the page.

Category templates Edit

General category template Edit

{{category}}

  • This can be added to categories to add general categorising details. Use in cases where it may be useful to point out to users how to categorise, such as popular categories.

Template category template Edit

{{templatecategory}}

  • This should be added to any template-related categories, to list template-specific categorising details, which differ from those of normal pages.

General wiki templates Edit

Clear Edit

{{clr}}, plus {{clrl}} and {{clrr}}

  • This template is used to reduce the amount of non-wikicode used on pages, replacing the code <br style="clear:both;" />. Its use should generally be avoided.
  • You can use {{clr}} instead of the HTML tag that clears space below things like images, pictures and tables, so the following stuff doesn't begin until the bottom of the image, picture or table box.
  • You can also use {{clrl}} or {{clrr}} to clear only left or right floats.

For Edit

{{for|<name>|<link>}}

  • Use at the top of articles as a simple "for x see y" template.

Main article Edit

{{main|<main article>}}

  • Use at the start of a section to link to the main article on it.

Right-aligned Table of Contents Edit

{{tocright}}

  • This template floats the table of contents (toc) on the right. It should only be used when absolutely necessary, to keep consistent design.

Sandbox Edit

{{sandbox}}

T is for template Edit

{{t|<template>}}

  • This template allows you to show example template code (with a link to the templates) without using the template itself. It is used extensively on this page.

Welcome Edit

{{welcIP}} and {{welcome}}

  • The first (with longer version "welcomeIP" for those of you who like typing more) is to welcome new non-vandalistic contributors who are "anonymous", identified only by their IP number; it encourages them to register.
  • The second template is for welcoming new registered users. Should be customized for the wiki, indicating the pages we most want newcomers to visit.
  • The above two templates are very suitable for having "subst:" prefixed, because they can be edited with additions or deletions appropriate to the apparent strengths of the person being welcomed; e.g. if the contributor has already demonstrated good wiki editing skills you could delete references to pages about "how to edit".

Wikipedia Edit

{{wikipedia}}, {{wikipedia-deleted}}

  • Wikipedia-related templates. Use {{wikipedia}} for articles taken directly from Wikipedia, and {{wikipedia-deleted}} for articles deleted from Wikipedia.

Where you may find more templatesEdit

  • Wikia Templates
  • Wikipedia; may be copied with the proper acknowledgment, but some need tweaking to work properly on Wikia, so use a Wikia one if possible.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.