Template:Rotten Tomatoes/doc

From MattWiki
Jump to navigation Jump to search

This template generates an external link to a page for a film title at the Rotten Tomatoes website.

Note: The Rotten Tomatoes website doesn't have the same type of "ID" that IMDb has. In this case, the "ID" of the instructions below refers to: the numerical number (followed by a dash or hyphen); then the movie's name (as listed on Rotten Tomatoes), in lower case, separated by an underscore.

Note: This template will only work with films on Rotten Tomatoes, if you would like to link to a TV show use Template:Rotten Tomatoes TV.

Usage

One parameter:

{{Rotten Tomatoes | ID }}
{{Rotten Tomatoes | id= ID }}

Two parameters:

{{Rotten Tomatoes | ID | TITLE }}
{{Rotten Tomatoes | id= ID | title= TITLE }}

Instructions

  1. Go to RottenTomatoes.com and enter the full movie title in the Search field, then press Search.
    • On the results page, click the movie you're interested in.
    • If you do not get a result corresponding to your movie, there may not be a Rotten Tomatoes review for your movie.
  2. The movie's review page should have a URL (shown in your browser's Address bar) like this:
    http://www.rottentomatoes.com/m/<ID>/
    where <ID> is Rotten Tomatoes' ID for this movie. For instance:
    http://www.rottentomatoes.com/m/1021517-time_travelers/
    is the review page for The Time Travelers (1964). NOTE: Most movies' IDs will simply be their complete title in all-lowercase, without punctuation, and with underscores replacing spaces. For instance:
    http://www.rottentomatoes.com/m/2001_a_space_odyssey/
    is the review page for 2001: A Space Odyssey.
  3. Add the following text to the "External links" section of your movie article:
    * {{Rotten Tomatoes|id=<ID>|title=<TITLE>}}
    replacing <ID> with the ID you found, and <TITLE> with the title as you wish it to appear. (The title will automatically be italicized.) For example:
    * {{Rotten Tomatoes|id=incredibles|title=The Incredibles}}
    will result in the following appearing in the "External links" section:

Examples

http://www.rottentomatoes.com/m/1021517-time_travelers/

One parameter:

  1. {{Rotten Tomatoes | 1021517-time_travelers }}
    The Time Travelers at Rotten Tomatoes
  2. {{Rotten Tomatoes | id= 1021517-time_travelers }}
    The Time Travelers at Rotten Tomatoes

Two parameters:

  1. {{Rotten Tomatoes | 1021517-time_travelers | The Time Travelers }}
    The Time Travelers at Rotten Tomatoes
  2. {{Rotten Tomatoes | id= 1021517-time_travelers | title= The Time Travelers }}
    The Time Travelers at Rotten Tomatoes

Template data

This is the TemplateData documentation for this template used by VisualEditor and other tools.

TemplateData for Rotten Tomatoes

This template generates an external link to a page for a film title at the Rotten Tomatoes website.

Template parameters

ParameterDescriptionTypeStatus
ID1id

ID string from the URL.

Default
empty
Example
empty
Auto value
empty
Stringrequired
Title2title

Title used as the link text (the template automatically displays it in italics). If not specified it defaults to the article's {{PAGENAME}}, without disambiguation.

Default
empty
Example
empty
Auto value
empty
Stringoptional

See also
https://wiki.mattrude.com/Template:Rotten_Tomatoes/doc
wiki.mattrude.com
crawl=CC-MAIN-2018-30
28437
application/http; msgtype=response
sha1:EK2HMQGIERBTKGJRHPCZFRTEPZ2X6Z2D
<urn:uuid:497c6fde-2f56-4541-8f06-4934c5b1edfa>
2018-07-17T11:42:50Z
104.236.216.156
text/html
sha1:QEQYYY5SX5MFSLIFV3MJEFD5ZYXLC7GU
<urn:uuid:343d89f6-0d46-4ad6-ad35-f7ad7c6e7516>
https://wiki.mattrude.com/Template:Rotten_Tomatoes/doc
response
<urn:uuid:2bee8b9d-ecb3-4e79-848b-5cc1a80b49b9>
robots: classic
hostname: ip-10-187-89-169.ec2.internal
software: Nutch 1.6 (CC)
isPartOf: CC-MAIN-2018-30
operator: Common Crawl Admin
description: Wide crawl of the web for July 2018
publisher: Common Crawl
format: WARC File Format 1.0
conformsTo: http://bibnum.bnf.fr/WARC/WARC_ISO_28500_version1_latestdraft.pdf