Template:Rotten Tomatoes/doc
This is a documentation subpage for Template:Rotten Tomatoes. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 24,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template uses Lua: |
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]- Go to RottenTomatoes.com and search for a title or person. On the results page, click the appropriate link.
- 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.
- 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
- For instance, the pages for The Time Travelers (1964) are:
- 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:
- 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:
- 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]TemplateData for Rotten Tomatoes
This template generates an external link to a page for a film title at the Rotten Tomatoes website.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | 1 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.
| String | optional |
Title or name | 2 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)".
| String | optional |
Tracking categories
[edit]- Category:Rotten Tomatoes template missing ID and not in Wikidata (16)
- Category:Rotten Tomatoes template using name parameter (7,793)
See also
[edit]- Similar film title templates
- {{IMDb title}}
- {{AllMovie title}}
- {{TCMDb title}}
- {{AFI film}}
- {{Metacritic film}}
- {{Mojo title}}