Jump to content

Template:R: Difference between revisions

From We Are Calloway
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 {{r|book|page}} , where "book" is an identifier of the book (see complete list Template:R/b) and "page" is the page number. Examples:

  • {{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.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Typetype

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)

Example
location
Stringrequired
Reference Coderef 1

The short code for the book in question, required when the type is set to harper

Stringoptional
Official Sitesite 1

Short code for the official website (the app) in question. Required when the type is site.

Stringsuggested
Screenshotscreenshot 2

The file location (on the wiki) of the screenshot. Optional when using the reference is of type site.

Stringoptional
Additionaladditional 2 3 4

Additional information that comes at the start of a reference after "Revealed"

Stringoptional
Location Codecode 1

Location within the book as to where the reference can be found. Used when the reference type is self

Stringoptional
Locationlocation 2

Location within the book as to where the reference can be found. Used when the reference type is book

Stringoptional
Bookbook 1

The book the reference can be found in. Used when the reference type is book

Stringoptional
postfixpostfix

no description

Unknownoptional