Difference between revisions of "Help:Templates"

no edit summary
(Created page with '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 <code><nowiki>{{curly brackets}}</nowiki></code>. Most …')
 
 
First off, to use a template you insert it's name in <code><nowiki>{{curly brackets}}</nowiki></code>.
Most templates ask for parameters which are passed as so: <code><nowiki>{{eg|first argument|second|andfoo=named argument}}</nowiki></code>.
You see the <code>andfoo=</code> part? That's a named argument, and is used for special parameters, such as the [[Template:Infobox|infobox]] field names.
 
== Templates ==
 
*{{t|B}} converts an acronym or malformed book title into the correctly formatted title.
Template:Infobox
*{{t|Columns}} allows you to format a list (the first parameter) into <code>count</code> columns.
Template:B
*{{t|Quote}} surrounds the first parameter as a block quote, with the second parameter as a source.
Template:Columns
 
Template:Quote
=== Info boxes ===
Template:Foot
These templates are placed at the start of the article, and show a list of information down the right side of the article.
Template:Lc title
*{{t|Infobox}}
Template:*{{t|BookInfobox}}
Template:Books
Template:*{{t|CharacterInfobox}}
Template:HeraldInfobox
Template:**{{t|AlethiInfobox}}
Template:ShardInfobox
Template:**{{t|HeraldInfobox}}
Template:ShardholderInfobox
Template:**{{t|ShardInfobox}}
Template:SprenInfobox
Template:**{{t|ShardholderInfobox}}
Template:Adonalsium
Template:**{{t|SprenInfobox}}
Template:AlethiInfobox
Template:**{{t|SkaaInfobox}}
Template:Aons
 
Template:CharacterInfobox
=== Info tables ===
Template:Essence
These templates are usually placed at the bottom of a page to allow people to find related content.
Template:Metal
*{{t|Aons}} inserts a tabulated list of [[Aon]]s.
Template:MetallicArts
*{{t|Adonalsium}} inserts a table of links relating to [[Adonalsium]] and the [[Cosmere]] at large.
Template:MetalsTable
*{{t|Books}} inserts a table of books and series' by [[Brandon Sanderson]].
Template:SkaaInfobox
*{{t|MetallicArts}} inserts a table of the magics found on [[Scadrial]].
Template:Race
 
Template:Aon
=== Link macros ===
Template:SAwikia
*{{t|Race}}
Template:Wp
*{{t|Aon}}
Template:World
*{{t|SAwikia}}
Template:Disambig
*{{t|T}}
Template:For
*{{t|Wp}}
Template:Main
*{{t|World}}
Template:Redirect
 
Template:Attention
=== Navigation aids===
Template:Cite
Template:*{{t|Disambig}}
Template:Copyright
*{{t|For}}
Template:Delete
*{{t|Main}}
Template:Move
Template:*{{t|Redirect}}
Template:Stub
Template:*{{t|Attention}}
Template:Theory
 
=== Notices ===
*{{t|Cite}}
Template:*{{t|Copyright}}
*{{t|Delete}}
*{{t|Move}}
*{{t|Stub}}
*{{t|Theory}}