Difference between revisions of "Help:Templates"

From The Coppermind
Jump to navigation Jump to search
Line 28: Line 28:
   
 
== Link macros ==
 
== Link macros ==
*{{t|Race}} returns the correct [[Wikipedia: demonym| demonym]] for a place
+
*{{t|demonym}} returns the correct [[Wikipedia: demonym|demonym]] for a place
  +
*{{t|toponym}} returns correct [[Wikipedia: toponym|toponyms]]
*{{t|World}} will convert book title's to the world on which the book is set
+
*{{t|world}} will convert book title's to the world on which the book is set
   
 
== Citation templates ==
 
== Citation templates ==

Revision as of 15:06, 11 February 2014

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

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.

Link macros

Citation templates

{{Ref}} generates a reference which may use one of the below templates to generate it's content.

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.
  • {{Timeline}} aids in the creation of