Jump to content

Template:Rotten Tomatoes/doc

From Wikipedia, the free encyclopedia

Template:Rotten Tomatoes displays an external link to a page at the Rotten Tomatoes website. It is intended for use in the external links section of an article.

Usage

[edit]
Unnamed parameters
{{Rotten Tomatoes | ID }}
{{Rotten Tomatoes | ID | TITLE or NAME }}
Named parameters
{{Rotten Tomatoes | id= ID }}
{{Rotten Tomatoes | id= ID | title= TITLE }}
{{Rotten Tomatoes | id= ID | name= NAME }}
Using Wikidata property
{{Rotten Tomatoes}}
{{Rotten Tomatoes | title= TITLE }}
{{Rotten Tomatoes | name= NAME }}

Instructions

[edit]
  1. Go to RottenTomatoes.com and search for a title or person. On the results page, click the appropriate link.
  2. The page for a movie should have a URL (shown in your browser's address bar) like this:
    https://www.rottentomatoes.com/m/<ID>
    where m/<ID> is Rotten Tomatoes' ID for this page.
  3. The page for a movie's reviews should have a URL (shown in your browser's address bar) like this:
    https://www.rottentomatoes.com/m/<ID>/reviews
  4. For instance, the pages for The Time Travelers (1964) are:
    https://www.rottentomatoes.com/m/1021517-time_travelers
    https://www.rottentomatoes.com/m/1021517-time_travelers/reviews
    Note however, that the ID for many movies will simply be their complete title in all-lowercase, without punctuation, and with underscores replacing spaces. For instance, the pages for To Kill A Mockingbird (1962) are:
    https://www.rottentomatoes.com/m/to_kill_a_mockingbird
    https://www.rottentomatoes.com/m/to_kill_a_mockingbird/reviews
  5. Add the following text to the "External links" section of your movie article:
    * {{Rotten Tomatoes|m/<ID>|<TITLE>}}
    replacing <ID> with the ID you found and <TITLE> with the title as you wish it to appear. For example:
    * {{Rotten Tomatoes|m/incredibles|The Incredibles}}
    * {{Rotten Tomatoes|m/incredibles/reviews|The Incredibles}}
    will result in the following:
  6. See the examples below for links to Rotten Tomatoes web pages about TV series, franchises, celebrities, and critics.

Examples

[edit]
Movie or film (ID without prefix, retained for compatibility)
https://www.rottentomatoes.com/m/1021517_time_travelers
* {{Rotten Tomatoes | 1021517-time_travelers | The Time Travelers }}
https://www.rottentomatoes.com/m/1021517_time_travelers/reviews
* {{Rotten Tomatoes | 1021517-time_travelers/reviews | The Time Travelers }}
Movie or film (ID with m/ prefix)
https://www.rottentomatoes.com/m/xmen
* {{Rotten Tomatoes | m/xmen | X-Men }}
https://www.rottentomatoes.com/m/xmen/reviews
* {{Rotten Tomatoes | m/xmen/reviews | X-Men }}
TV series (ID with tv/ prefix)
https://www.rottentomatoes.com/tv/legion
* {{Rotten Tomatoes | tv/legion | Legion }}
Franchise (ID with franchise/ prefix)
https://www.rottentomatoes.com/franchise/x-men
* {{Rotten Tomatoes | franchise/x-men | X-Men: Movies and TV Shows }}
Movie/TV person (ID with celebrity/ prefix)
https://www.rottentomatoes.com/celebrity/luc_besson
* {{Rotten Tomatoes | celebrity/luc_besson | Luc Besson }}
Movie/TV critic (ID with critic/ prefix)
https://www.rottentomatoes.com/critic/richard-brody
* {{Rotten Tomatoes | critic/richard-brody | Richard Brody }}

Duplication concerns

[edit]

In accordance with the external links duplication guideline, it is acceptable to use Rotten Tomatoes as both an inline citation (supporting a Tomatometer score or critic consensus summary) and an external link.

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Rotten Tomatoes in articles based on its TemplateData.

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
ID1 id

The ID portion of the URL. Examples: 1021517_time_travelers or m/1021517_time_travelers, m/1021517_time_travelers/reviews, m/x-men, m/x-men/reviews, franchise/x-men, tv/legion, celebrity/luc_besson, critic/richard-brody. This parameter is optional if Wikidata property P1258 exists, but required if not.

Default
Wikidata property P1258
Stringoptional
Title or name2 title name

Title of movie/film or TV series, or name of person, used as the link text. The template uses italic type for titles (IDs with m/, tv/, franchise/ prefix) and non-italic for people (IDs with celebrity/ or critic/ prefix). This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(film)" or "(director)".

Default
{{PAGENAMEBASE}}
Stringoptional

Tracking categories

[edit]

See also

[edit]
Similar film title templates