Template:Cite rt/sandbox

From blackwiki
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

A template for citing information on Rotten Tomatoes.

Usage

Copy a blank version to use. Almost all parameter names are supported only in lower case (some initialisms, such as |isbn= have upper case aliases like |ISBN=, which are acceptable for use). Use the "|" (pipe) character between each parameter. Unused parameters may be deleted to avoid clutter in the edit window. Some samples on this documentation page may include the current date. If the date is not current, then Script error: No such module "Purge". the page.

Required parameters only, in horizontal format
{{cite rt |id= |type= |title= }}
Full parameter set in horizontal format
{{cite rt |id= |type= |season= |title= |access-date= |archive-url= |archive-date= |url-status= |mode= }}

Examples

Films

For Titanic:
{{Cite rt |id=titanic |type=m |title=Titanic}}

Titanic at Rotten Tomatoes. Fandango.

{{Cite rt |id=titanic |type=m |title=Titanic |accessdate=February 14, 2020}}

Titanic at Rotten Tomatoes. Fandango. Retrieved February 14, 2020.

{{Cite rt |id=titanic |type=m |title=Titanic |accessdate=February 14, 2020 |mode=cs2}}

Titanic at Rotten Tomatoes, Fandango, retrieved February 14, 2020

Television series

For The Simpsons:
{{Cite rt |id=the_simpsons |type=tv |title=The Simpsons |accessdate=February 14, 2020}}

The Simpsons at Rotten Tomatoes. Fandango. Retrieved February 14, 2020.

For The Simpsons (season 29):
{{Cite rt |id=the_simpsons |type=tv |season=29 |title=The Simpsons |accessdate=February 14, 2020}}

The Simpsons: Season 29 at Rotten Tomatoes. Fandango. Retrieved February 14, 2020.

Error detection

  • The parameters |id=, |type=, and |title= are required. If omitted or left blank, errors will be reported. For example:
    {{Cite rt|title=I'm an incomplete citation!}}
    Error: no |id= specified when using {{Cite rt}}Template:Namespace detect showall

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Cite rt

A template for citing information on Rotten Tomatoes

Template parameters

ParameterDescriptionTypeStatus
idid

URL identifier used by Rotten Tomatoes for the media

Stringrequired
typetype

To identify if it is a film or television series. Acceptable inputs are 'm', 'movie', 'Movie', 'film', 'tv', 'TV' or 'television'

Stringrequired
seasonseason

The specific season of a television series

Numberoptional
titletitle

The name of the media

Stringrequired
access dateaccess-date accessdate

The full date when the site was accessed; do not wikilink

Unknownoptional
archive URLarchive-url archiveurl

The URL of an archived copy of a web page, if or in case the URL becomes unavailable; requires 'archive-date'

Stringoptional
archive datearchive-date archivedate

Date when the original URL was archived; do not wikilink

Stringoptional
URL statusurl-status

If set to 'live', the title displays as the live link; if set to dead, the title displays as the archive link

Stringoptional
modemode

Similar to the parameter used by cs1|2 templates, when set to cs2, element separator switches from dot to comma; static text is rendered in lowercase; rendering omits the trailing dot

Stringoptional