Template:Rotten Tomatoes TV/doc
This is a documentation subpage for Template:Rotten Tomatoes TV. It contains usage information, categories and other content that is not part of the original template page. |
This template generates an external link to a page for a television show 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" the instructions below refers to: the numerical number (followed by a dash or hyphen); then the TV show's name (as listed on Rotten Tomatoes), in lower case, separated by an underscore.
Note: This template will only work with TV shows on Rotten Tomatoes, if you would like to link to a film use Template:Rotten Tomatoes.
Usage
One parameter:
{{Rotten Tomatoes TV | ID }}
{{Rotten Tomatoes TV | id= ID }}
Two parameters:
{{Rotten Tomatoes TV | ID | TITLE }}
{{Rotten Tomatoes TV | id= ID | title= TITLE }}
Instructions
- Go to RottenTomatoes.com and enter the full TV show title in the Search field, then press Search.
- On the results page, click the TV show you're interested in.
- If you do not get a result corresponding to your TV show, there may not be a Rotten Tomatoes review for your TV show.
- The TV show's review page should have a URL (shown in your browser's Address bar) like this:
- http://www.rottentomatoes.com/tv/<ID>/
- where <ID> is Rotten Tomatoes' ID for this TV show. For instance:
- http://www.rottentomatoes.com/tv/game-of-thrones/s05/
- is the review page for Game of Thrones: Season 5 (2015). NOTE: Most TV show's IDs will simply be their complete title in all-lowercase, without punctuation, and with hyphens replacing spaces and a forward slash followed by the season number as (sXX) with the XX representing a two-digit season number. For instance:
- http://www.rottentomatoes.com/tv/chef-s-table/s01/
- is the review page for Chef's Table: Season 1.
- Add the following text to the "External links" section of your TV show article:
- * {{Rotten Tomatoes TV|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 TV|id=seinfeld/s09|title=Seinfled: Season 9}}
- will result in the following appearing in the "External links" section:
Examples
http://www.rottentomatoes.com/tv/game-of-thrones/s05/
One parameter:
{{Rotten Tomatoes TV | game-of-thrones/s05}}
{{Rotten Tomatoes TV | id= game-of-thrones/s05}}
Two parameters:
{{Rotten Tomatoes TV | game-of-thrones/s05 | 5th Season of Game of Thrones}}
{{Rotten Tomatoes TV | id= game-of-thrones/s05 | title= 5th Season of Game of Thrones}}
Template data
Rotten Tomatoes TV
<templatedata> {
"description": "This template generates an external link to a page for a TV show title at the Rotten Tomatoes website.",
"params": { "1": { "label": "ID", "description": "ID string from the URL.", "type": "string", "required": true, "aliases": [ "id" ] }, "2": { "label": "Title", "description": "Title used as the link text (the template automatically displays it in italics). If not specified it defaults to the article's Rotten Tomatoes TV/doc, without disambiguation.", "type": "string",
"required": false,
"aliases": [ "title" ] } } } </templatedata>
See also