Difference between revisions of "Help:Templates"

From The Coppermind
Jump to navigation Jump to search
m (cats)
Line 13: Line 13:
 
=== Info boxes ===
 
=== Info boxes ===
 
The {{t|Infobox}} templates are placed at the start of the article, and show a list of information down the right side of the article.
 
The {{t|Infobox}} templates are placed at the start of the article, and show a list of information down the right side of the article.
*{{t|BookInfobox}} includes information on the publisher and ISBN of a book
+
*{{t|Book}} includes information on the publisher and ISBN of a book
*{{t|CharacterInfobox}} includes information regarding the character
+
*{{t|Character}} includes information regarding the character
 
**{{t|Alethi info}} should be {{subst:}} into the infoboxes of characters from [[Alethkar]] on [[Roshar]]
 
**{{t|Alethi info}} should be {{subst:}} into the infoboxes of characters from [[Alethkar]] on [[Roshar]]
 
**{{t|Herald info}} should be {{subst:}} into the infoboxes of the ten [[Herald]]s of [[the Almighty]]
 
**{{t|Herald info}} should be {{subst:}} into the infoboxes of the ten [[Herald]]s of [[the Almighty]]
 
**{{t|Skaa info}} should be {{subst:}} into the infoboxes of [[skaa]] characters from the [[Final Empire]] on [[Scadrial]]
 
**{{t|Skaa info}} should be {{subst:}} into the infoboxes of [[skaa]] characters from the [[Final Empire]] on [[Scadrial]]
 
**{{t|Returned info}} should be {{subst:}} into the infoboxes of [[Returned]] from [[Nalthis]]
 
**{{t|Returned info}} should be {{subst:}} into the infoboxes of [[Returned]] from [[Nalthis]]
*{{t|SprenInfobox}} information on a type of [[Spren]]
+
*{{t|Place}} information on a place, region, or building.
*{{t|ShardInfobox}} information on one of the [[Shard|Shards of Adonalsium]]
+
*{{t|Spren}} information on a type of [[Spren]]
  +
*{{t|Shard}} information on one of the [[Shard|Shards of Adonalsium]]
   
 
=== Info tables ===
 
=== Info tables ===

Revision as of 20:00, 1 May 2012

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.

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.

Info boxes

The {{Infobox}} templates are placed at the start of the article, and show a list of information down the right side of the article.

Info tables

These templates are usually placed at the bottom of a page to allow people to find related content.

Link macros

  • {{Race}} is used to convert a country or state's name into the colloquial name for it's people.
  • {{Aon}} creates a link that describes the Aon requested
  • {{World}} will convert book title's to the world on which the book is set.

Citation templates

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

{{Cite}} requests that someone insert a citation about the fact preceding it.

Navigation aids

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

  • {{For}} helps users distinguish between similarly titled articles.
  • {{Main}} directs users to more in-depth articles on a particular subject.
  • {{Redirect}} reminds users that they have been forwarded to a different page, in cases which may be ambiguous.

Notices

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