- For more information on templates, see Help:Templates.
There are many templates in use in War of Legends Wiki; these are only a subset, representing 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.
- Category:Templates should cover all templates in the wiki, categorised into the various subcategories.
- The Template namespace (found from Special:Allpages) always has all templates in the wiki, sorted alphanumerically.
What are templates?[]
Wiki templates provide a means to insert the same content over and over in different (or the same) pages. This saves editors the hassle of duplicating the same text again and again, and also helps ensure consistency.
Templates are generally shown with the format required to use the template (e.g. {{stub}}
). 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 a subpage using {{doc}}.
Article management templates[]
Stubs[]
{{stub}}
- Main article: Help:Stubs
- When an articles is deemed too short to provide encyclopaedic coverage of a subject, then it is most likely a stub.
- Use this to mark an article as a stub and to inform other editors of its need of expansion.
Disambiguation[]
{{disambig}}
- Main article: Help:Disambiguation
- 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 usually taking an extra phrase in brackets.
- Use this template to mark disambiguation pages by adding a notice at the top.
- Disambiguation pages are categorised in Category:Disambiguations.
For example:
- Aspiration, a disambiguation page, with links to:
Also[]
{{Also|Other articles}}
- Similarly titled articles need to disambiguated using disambiguation pages (see Disambiguation). This can be done by using hatnotes.
- Use this to add a hatnote in articles with a similar titles (e.g. Nezha and Nezha (item)).
Cleanup[]
{{Cleanup}}
- Use this to mark articles which require cleaned up to meet wiki standards.
- Articles are categorised in Category:Articles in need of cleanup.
Delete[]
{{delete}}
- Use this to nominate pages/files for deletion.
- Articles are added to Category:Deletion candidates.
{{D|reason}}
- Use this for pages/files that qualify for speedy deletion.
Move[]
{{M|Where it needs to be moved and why}}
- Use this to tagged pages/files which need to be moved by an admin.
- Candidates are categorised in Category:Speedy move candidates.
Under Construction[]
- Articles may undergo major revision which require multiple edits and/or contributions by several editors.
- Use this to inform other editors that an article in undergoing a major revision.
- Articles are categorised in Category:Articles under construction.
{{Inuse|reason}}
- Rarely, articles may undergo major revision by a single editor. Multiple editors trying to edit a page at the same time may produce edit conflicts.
- Use this to instruct other editors from making edits to an article you're working on.
Wikify[]
{{Wikify}}
- Wiki articles are formatted using Wiki markup (as opposed to plain text or HTML). Wiki markup can be used to format the page, to add links, templates, and images, etc.
- Use this to indicate that an article requires wiki formatting.
- Articles are added into Category:Needs wikifying.
Split[]
{{Split|Page 1|Page 2}}
- Use this to display a tag on pages (or sections) which should be split.
- Pages are categorised in Category:Articles to be split.
Merge[]
{{Merge|Other page}}
- Use this to display a tag on pages (or sections) which should be articles which should be merged.
- Pages are categorised in Category:Articles to be merged.
Talk page templates[]
Welcome[]
- Used to welcome new contributors who are "anonymous", identified only by their IP number; it encourages them to register.
{{welcome}}
- Used to welcome new registered users.
Note: The above two templates are very suitable for having SUBST:
prefixed, because they can be edited with additions or deletions appropriate to the user being welcomed, e.g. if the contributor has already demonstrated good wiki editing skills, references on how to edit pages may be omitted.
Archive[]
{{Archive}}
- Adds a template which shows that a page has been archived.
Blocked indefinitely[]
{{Block|reason}}
- Added to the talk page of a indefinitely blocked user or IP.
Blocked temporarily[]
{{Block t|time = blocked time|reason = reason for being blocked}}
- Added to the talk page of a temporarily blocked user or IP.
Test edit[]
{{Test edit}}
- Used to inform users that they are editing incorrectly.
Warnings[]
{{Warning 1}}
, {{Warning 2}}
, {{Final warning}}
- Used to warn users when vandalism occurs
Image templates[]
This section is too short. Please help the War of Legends Wiki by expanding it. |
No personal images[]
{{NoPI}}
- Added to inform users not to upload a personal image. See Images and media policy.
General wiki templates[]
Clear[]
{{clear}}
, {{clear|left}}
, and {{clear|right}}
- To reduce the amount of non-wikicode used on pages, HTML is usually replaced with simpler wikicode (e.g.
{{clear}}
instead of<br style="clear:both" />
). Non-wikicode and HTML code are generally avoided. - Use
{{clear}}
to force a break in text and to move the text below floating objects (i.e. images and tables). - Use
{{clear|left}}
or{{clear|right}}
to clear only left or right floats.
Main article[]
{{main|main article}}
- Used at the start of a section to link to the main article for the subject.
Table of contents[]
- Table of contents (TOC) usually appear on articles after the introductory paragraph on the left.
- Use this to position/float the TOC at the beginning of the article, or floated on the right (see this page for an example). It should only when it is absolutely necessary.
Wikipedia[]
{{wpalso}}
- Used to link to a similar article in Wikipedia.
{{wikipedia}}
- Used for content taken directly from Wikipedia.
T is for template[]
{{t|template}}
- Used to show example template code (with a link to the templates) without using the template itself. It is used extensively on this page.
Where to may find more templates[]
- Wikia Templates
- Wikipedia Templates
- Other wikis in Wikia
- Other non-Wikia wikis