Template:R: Difference between revisions
w:c:warriors>Vector Sigma m Removing link(s) |
m 1 revision imported |
(No difference)
| |
Latest revision as of 20:01, 30 September 2025
Template to insert references in an easy way.
Usage
The code is
, where "book" is an identifier of the book (see complete list Template:R/b) and "page" is the page number. Examples:
{{r|book|page}}
{{r|os1|236}}
gives <ref>Revealed in ''[[Into the Wild]]'', page 236</ref>
{{r|np3|112}}
gives <ref>Revealed in ''[[Dawn (book)|Dawn]]'', page 112</ref>
{{r|np3|a}}
gives <ref>Revealed in ''[[Dawn (book)|Dawn]]'', [[Allegiances Dawn|allegiances]]</ref>
Note that it automatically contracts multiple references to the same page / book to the same ref number.
R is a template for laying out references on an article.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Type | type | The type of reference to be used. accepted values are harper (Harper Collins website), site (an official website), self (the page for the book the reference is put on) and book (a specific location in a book)
| String | required |
| Reference Code | ref 1 | The short code for the book in question, required when the type is set to harper | String | optional |
| Official Site | site 1 | Short code for the official website (the app) in question. Required when the type is site. | String | suggested |
| Screenshot | screenshot 2 | The file location (on the wiki) of the screenshot. Optional when using the reference is of type site. | String | optional |
| Additional | additional 2 3 4 | Additional information that comes at the start of a reference after "Revealed" | String | optional |
| Location Code | code 1 | Location within the book as to where the reference can be found. Used when the reference type is self | String | optional |
| Location | location 2 | Location within the book as to where the reference can be found. Used when the reference type is book | String | optional |
| Book | book 1 | The book the reference can be found in. Used when the reference type is book | String | optional |
| postfix | postfix | no description | Unknown | optional |