Difference between revisions of "Help:Templates"
m (improvements) |
|||
Line 5: | Line 5: | ||
You see the <code>foo=</code> part? That's a named argument, and is used for special parameters, such as the [[Template:Infobox|infobox]] field names. |
You see the <code>foo=</code> part? That's a named argument, and is used for special parameters, such as the [[Template:Infobox|infobox]] field names. |
||
− | == |
+ | == Information 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|Book}} includes information on the publisher and ISBN of a book |
*{{t|Book}} includes information on the publisher and ISBN of a book |
||
*{{t|Character}} 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|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|Returned info}} should be {{subst:}} into the infoboxes of [[Returned]] from [[Nalthis]] |
||
*{{t|Place}} information on a place, region, or building. |
*{{t|Place}} information on a place, region, or building. |
||
− | *{{t|Spren}} information on a type of [[Spren]] |
||
− | *{{t|Shard}} information on one of the [[Shard|Shards of Adonalsium]] |
||
− | + | == Navigation boxes == |
|
These templates are usually placed at the bottom of a page to allow people to find related content. |
These templates are usually placed at the bottom of a page to allow people to find related content. |
||
− | *{{t|Aons}} inserts a tabulated list of [[Aon]]s. |
||
*{{t|Cosmere}} inserts a table of links relating to [[Adonalsium]] and the [[Cosmere]] at large. |
*{{t|Cosmere}} inserts a table of links relating to [[Adonalsium]] and the [[Cosmere]] at large. |
||
*{{t|Books}} inserts a table of books and series' by [[Brandon Sanderson]]. |
*{{t|Books}} inserts a table of books and series' by [[Brandon Sanderson]]. |
||
*{{t|MetallicArts}} inserts a table of the magics found on [[Scadrial]]. |
*{{t|MetallicArts}} inserts a table of the magics found on [[Scadrial]]. |
||
− | + | == Link macros == |
|
*{{t|Race}} is used to convert a country or state's name into the colloquial name for it's people. |
*{{t|Race}} is used to convert a country or state's name into the colloquial name for it's people. |
||
*{{t|Aon}} creates a link that describes the Aon requested |
*{{t|Aon}} creates a link that describes the Aon requested |
||
*{{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 == |
|
{{t|Ref}} generates a reference which may use one of the below templates to generate it's content. |
{{t|Ref}} generates a reference which may use one of the below templates to generate it's content. |
||
*{{t|bws}} links to a page on {{bws|link=}} |
*{{t|bws}} links to a page on {{bws|link=}} |
||
Line 47: | Line 34: | ||
*{{t|bref}} links to a book or a specific chapter, page or section of a book |
*{{t|bref}} links to a book or a specific chapter, page or section of a book |
||
*{{t|Wotdb}} links to a specific entry in the interview database. |
*{{t|Wotdb}} links to a specific entry in the interview database. |
||
⚫ | |||
+ | == Editorial notations == |
||
⚫ | |||
+ | These templates are used to |
||
⚫ | |||
+ | *{{t|Clarify}} asks someone edit the page to clear up ambiguous statements |
||
+ | *{{t|Disputed}} warn the reader that a fact may be incorrect or unverified |
||
+ | |||
⚫ | |||
These templates insert boxes or emphasised phrases that help users navigate the wiki correclty. |
These templates insert boxes or emphasised phrases that help users navigate the wiki correclty. |
||
*{{t|For}} helps users distinguish between similarly titled articles. |
*{{t|For}} helps users distinguish between similarly titled articles. |
||
Line 55: | Line 47: | ||
*{{t|Redirect}} reminds users that they have been forwarded to a different page, in cases which may be ambiguous. |
*{{t|Redirect}} reminds users that they have been forwarded to a different page, in cases which may be ambiguous. |
||
− | + | == [[:Category:Notices|Notices]] == |
|
{{t|Notice}} templates insert boxes that alert users to information regarding the page its self. |
{{t|Notice}} templates insert boxes that alert users to information regarding the page its self. |
||
*{{t|Attention}} requests that users edit it |
*{{t|Attention}} requests that users edit it |
||
Line 63: | Line 55: | ||
*{{t|Stub}} |
*{{t|Stub}} |
||
*{{t|Theory}} |
*{{t|Theory}} |
||
+ | |||
+ | == Other Templates == |
||
⚫ | |||
⚫ | |||
⚫ | |||
+ | *{{t|Timeline}} aids in the creation of |
Revision as of 15:28, 1 October 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.
Information 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.
{{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.
These templates are usually placed at the bottom of a page to allow people to find related content.
{{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.
{{bws}}
links to a page on Template:Bws{{annotation}}
links to a specific annotation
{{tor}}
links to a page on Template:Tor{{17s}}
links to a topic on the Template:17s{{twg}}
links to a topic on the Template:Twg{{SAwikia}}
links to a page on the Template:SAwikia{{sb}}
links to a topic on the Template:Sb{{wp}}
links to a page on wikipedia:Wikipedia{{bref}}
links to a book or a specific chapter, page or section of a book{{Wotdb}}
links to a specific entry in the interview database.
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
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.
{{Attention}}
requests that users edit it{{Copyright}}
stipulates that{{Delete}}
{{Move}}
{{Stub}}
{{Theory}}
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) intocount
columns.{{Quote}}
surrounds the first parameter as a block quote, with the second parameter as a source.{{Timeline}}
aids in the creation of