Pređi na sadržaj

Šablon:Rotten Tomatoes/dok

Izvor: Vojna Enciklopedija

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 na sajtu Rotten Tomatoes (jezik: engleski)
  2. {{Rotten Tomatoes | id= 1021517-time_travelers }}
    The Time Travelers na sajtu Rotten Tomatoes (jezik: engleski)

Two parameters:

  1. {{Rotten Tomatoes | 1021517-time_travelers | The Time Travelers }}
    The Time Travelers na sajtu Rotten Tomatoes (jezik: engleski)
  2. {{Rotten Tomatoes | id= 1021517-time_travelers | title= The Time Travelers }}
    The Time Travelers na sajtu Rotten Tomatoes (jezik: engleski)

Template data

Ovo je TemplateData dokumentacija za ovaj šablon, korišćena u Vizuelnom uređivaču i u drugim alatkama; pogledajte mesečni izveštaj o greškama za ovaj šablon.

TemplateData za Rotten Tomatoes

<templatedata> {

       "description": "This template generates an external link to a page for a film 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/dok, without disambiguation.", "type": "string", "required": false, "aliases": [ "title" ] } } } </templatedata>

See also