Help:Templates

From The Coppermind
Revision as of 17:11, 11 April 2016 by Wolf (talk | contribs) (→‎Information boxes: Removed period from after "region, or building.")
Jump to navigation Jump to search

So you want to know how to use templates? You're in the right place.

First off, to use a template you insert it's name in {{curly brackets}}. Most templates ask for parameters which are passed as so: {{eg|first argument|second|foo=named argument}}. You see the foo= part? That's a named argument, and is used for special parameters, such as the infobox field names.

Information boxes

The {{infobox}} templates are shown at the right-hand corner of articles, the display important facts and statistics which are common to group of articles. They are placed at the start of the article, and show a list of information down the right side of the article.

  • {{book}} includes information on the publisher and ISBN of a book
  • {{character}} includes information regarding the character
  • {{place}} information on a place, region, or building
  • Full list of Infoboxes

Navigation boxes

Navboxes are footer templates that are placed at the bottom of a page to allow people to find related content.

  • {{holder}} indicates the holder of a title or other thing, and possible predecessors and successors.

Link macros

Citation templates

The following templates can be used to easily add references to different resources

  • {{ref}} should be used to generate extra links to other named references

Editorial notations

These templates are used to

  • {{cite}} requests that someone insert a citation about the fact preceding it.
  • {{clarify}} asks someone edit the page to clear up ambiguous statements
  • {{disputed}} warn the reader that a fact may be incorrect or unverified

Navigation aids

These templates insert boxes or emphasised phrases that help users navigate the wiki correctly.

  • {{for}} helps users distinguish between similarly titled articles.

Notices

{{Notice}} templates insert boxes that alert users to information regarding the page its self.

  • {{attention}} requests that users edit it
  • {{copyright}} ask the user not to copy the content on the article
  • {{theory}} stipulates that the article or section should not be considered canon
  • {{spoilers}} warns users about new material they may not have read yet
  • {{delete}} and {{Move}} indicate possible administrative action
  • {{stub}} can be used to signify that an article is unfinished
  • {{complete}} should be used at the bottom of short articles when there is nothing more to add.

Other Templates

  • {{b}} converts an acronym or malformed book title into the correctly formatted title.
  • {{columns}} allows you to format a list (the first parameter) into count columns.
  • {{quote}} surrounds the first parameter as a block quote, with the second parameter as a source.