Fandom

War of Legends Wiki

War of Legends:Templates

Redirected from Templates

3,410pages on
this wiki
Add New Page
Talk0
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?Edit

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 templatesEdit

StubsEdit

{{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.

DisambiguationEdit

{{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:
Aspiration 9
Aspiration 10
Aspiration 11
etc.

AlsoEdit

{{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)).

CleanupEdit

{{Cleanup}}

DeleteEdit

{{delete}}

{{D|reason}}

MoveEdit

{{M|Where it needs to be moved and why}}

Under ConstructionEdit

{{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.

WikifyEdit

{{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.

SplitEdit

{{Split|Page 1|Page 2}}

MergeEdit

{{Merge|Other page}}

Talk page templatesEdit

WelcomeEdit

{{welcomeIP}} or {{welcIP}}

  • 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.

ArchiveEdit

{{Archive}}

  • Adds a template which shows that a page has been archived.

Blocked indefinitelyEdit

{{Block|reason}}

  • Added to the talk page of a indefinitely blocked user or IP.

Blocked temporarilyEdit

{{Block t|time = blocked time|reason = reason for being blocked}}

  • Added to the talk page of a temporarily blocked user or IP.

Test editEdit

{{Test edit}}

  • Used to inform users that they are editing incorrectly.

WarningsEdit

{{Warning 1}}, {{Warning 2}}, {{Final warning}}

  • Used to warn users when vandalism occurs

Image templatesEdit

No personal imagesEdit

{{NoPI}}

General wiki templatesEdit

ClearEdit

{{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 articleEdit

{{main|main article}}

  • Used at the start of a section to link to the main article for the subject.

Table of contentsEdit

{{ToC}} or {{Tocright}}

  • 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.

WikipediaEdit

{{wpalso}}

  • Used to link to a similar article in Wikipedia.

{{wikipedia}}

  • Used for content taken directly from Wikipedia.

T is for templateEdit

{{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 templatesEdit

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.