Difference between revisions of "Help:Templates"
Jump to navigation
Jump to search
Line 12: | Line 12: | ||
=== 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. |
|
+ | *{{t|BookInfobox}} includes information on the publisher and ISBN of a book. |
||
− | *{{t|Infobox}} |
||
+ | *{{t|CharacterInfobox}} includes information regarding the character. |
||
− | *{{t|BookInfobox}} |
||
+ | **{{t|AlethiInfobox}} specialised for those that come from [[Alethkar]] on [[Roshar]]. |
||
− | *{{t|CharacterInfobox}} |
||
+ | **{{t|HeraldInfobox}} specialised for the ten [[Herald]]s of [[the Almighty]]. |
||
− | **{{t|AlethiInfobox}} |
||
+ | **{{t|SkaaInfobox}} specialised for the [[skaa]] on [[Scadrial]]. |
||
− | **{{t|HeraldInfobox}} |
||
+ | *{{t|SprenInfobox}} information on the different types of [[Spren]]. |
||
− | **{{t|ShardInfobox}} |
||
+ | *{{t|ShardInfobox}} information on one of the [[Shard|Shards of Adonalsium]]. |
||
− | **{{t|ShardholderInfobox}} |
||
− | **{{t|SprenInfobox}} |
||
− | **{{t|SkaaInfobox}} |
||
=== Info tables === |
=== Info tables === |
Revision as of 13:51, 25 June 2011
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.
Templates
{{B}}
converts an acronym or malformed book title into the correctly formatted title.{{Columns}}
allows you to format a list (the first parameter) intocount
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.
{{BookInfobox}}
includes information on the publisher and ISBN of a book.{{CharacterInfobox}}
includes information regarding the character.{{AlethiInfobox}}
specialised for those that come from Alethkar on Roshar.{{HeraldInfobox}}
specialised for the ten Heralds of the Almighty.{{SkaaInfobox}}
specialised for the skaa on Scadrial.
{{SprenInfobox}}
information on the different types of Spren.{{ShardInfobox}}
information on one of the Shards of Adonalsium.
Info tables
These templates are usually placed at the bottom of a page to allow people to find related content.
{{Aons}}
inserts a tabulated list of Aons.{{Adonalsium}}
inserts a table of links relating to Adonalsium and the Cosmere at large.{{Books}}
inserts a table of books and series' by Brandon Sanderson.{{MetallicArts}}
inserts a table of the magics found on Scadrial.