Template:Rotten Tomatoes/doc

Revision as of 07:26, October 17, 2020 by Johnrdorazio (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

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 P1258:

{{Rotten Tomatoes}}
{{Rotten Tomatoes | title= TITLE }}
{{Rotten Tomatoes | name= NAME }}

Instructions

  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 review 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. For instance, the page for The Time Travelers (1964) is:
    https://www.rottentomatoes.com/m/1021517-time_travelers
    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 page for To Kill A Mockingbird (1962) is:
    https://www.rottentomatoes.com/m/to_kill_a_mockingbird
  3. 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}}
    will result in the following:
  4. See the examples below for links to Rotten Tomatoes web pages about TV series, franchises, celebrities, and critics.

Examples

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 }}
Movie or film (ID with m/ prefix)
https://www.rottentomatoes.com/m/xmen
* {{Rotten Tomatoes | m/xmen | 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 }}

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this 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, tv/legion, franchise/x-men, celebrity/luc_besson, critic/richard-brody. This parameter is optional if Wikidata property P240 exists, but required if not.

Default
Wikidata property P240
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

See also

Similar film title templates: