Difference between revisions of "Help:Templates"
Line 29: | Line 29: | ||
=== Link macros === |
=== Link macros === |
||
+ | *{{t|Race}} is used to convert a country or state's name into the colloquial name for it's people. |
||
− | *{{t|Race}} |
||
+ | *{{t|Aon}} creates a link that describes the Aon requested |
||
− | *{{t|Aon}} |
||
+ | *{{t|World}} will convert book title's to the world on which the book is set. |
||
− | *{{t|SAwikia}} |
||
+ | |||
− | *{{t|T}} |
||
+ | === Citation templates === |
||
− | *{{t|Wp}} |
||
+ | {{t|Ref}} generates a reference which may use one of the below templates to generate it's content. |
||
− | *{{t|World}} |
||
+ | *{{t|Wp}} links to a page on [[wikipedia:Wikipedia]] |
||
+ | *{{t|Bref}} links to a book or a specific chapter, page or section of a book. |
||
+ | *{{t|SAwikia}} links to a page on the [http://stormlightarchive.wikia.com/wiki/ Stormlight Archive wikia] |
||
+ | *{{t|17s}} links to a topic on the 17th Shard forms. |
||
+ | {{t|Cite}} requests that someone insert a citation about the fact preceding it. |
||
=== Navigation aids=== |
=== Navigation aids=== |
||
+ | These templates insert boxes or emphasised phrases that help users navigate the wiki correclty. |
||
− | *{{t|Disambig}} |
||
+ | *{{t|For}} helps users distinguish between similarly titled articles. |
||
− | *{{t|For}} |
||
+ | *{{t|Main}} directs users to more in-depth articles on a particular subject. |
||
− | *{{t|Main}} |
||
+ | *{{t|Redirect}} reminds users that they have been forwarded to a different page, in cases which may be ambiguous. |
||
− | *{{t|Redirect}} |
||
− | *{{t|Attention}} |
||
=== Notices === |
=== Notices === |
||
+ | {{t|Notice}} templates insert boxes that alert users to information regarding the page its self. |
||
− | *{{t|Cite}} |
||
+ | *{{t|Attention}} requests that users edit it |
||
− | *{{t|Copyright}} |
+ | *{{t|Copyright}} stipulates that |
*{{t|Delete}} |
*{{t|Delete}} |
||
*{{t|Move}} |
*{{t|Move}} |
Revision as of 15:34, 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.{{Cosmere}}
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.
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.
{{Wp}}
links to a page on wikipedia:Wikipedia{{Bref}}
links to a book or a specific chapter, page or section of a book.{{SAwikia}}
links to a page on the Stormlight Archive wikia{{17s}}
links to a topic on the 17th Shard forms.
{{Cite}}
requests that someone insert a citation about the fact preceding it.
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.