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

Note: The Rotten Tomatoes website doesn't have a numerical "ID" in way that IMDb does. In this case, the "ID" the instructions below refers to: the person's name (as listed on Rotten Tomatoes), in lower case, separated by an underscore.

Usage edit

Unnamed parameters
{{Rotten Tomatoes person | ID }}
{{Rotten Tomatoes person | ID | NAME }}
Named parameters
{{Rotten Tomatoes person | id= ID }}
{{Rotten Tomatoes person | id= ID | name= NAME }}
Using Wikidata property Rotten Tomatoes ID (P1258)
{{Rotten Tomatoes person}}
{{Rotten Tomatoes person | name= NAME }}

Examples edit

Unnamed parameters edit

Usage in the article Clint Eastwood
* {{Rotten Tomatoes person | clint_eastwood }}
* {{Rotten Tomatoes person | clint_eastwood | Clint Eastwood }}
Output
URL
https://www.rottentomatoes.com/celebrity/clint_eastwood

Named parameters edit

Usage in the article Kim Johnston Ulrich
* {{Rotten Tomatoes person | id= kim_johnston_ulrich }}
* {{Rotten Tomatoes person | id= kim_johnston_ulrich | name= Kim Johnston Ulrich }}
Output
URL
https://www.rottentomatoes.com/celebrity/kim_johnston_ulrich

ID in Wikidata edit

Usage in the article James Cagney
* {{Rotten Tomatoes person}}
* {{Rotten Tomatoes person | name= James Cagney }}
Output
URL
https://www.rottentomatoes.com/celebrity/james_cagney

No ID in template or Wikidata edit

Usage
* {{Rotten Tomatoes person}}
Output

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 person in articles based on its TemplateData.

TemplateData for Rotten Tomatoes person

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

Template parameters

ParameterDescriptionTypeStatus
idid 1

The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: clint_eastwood is the ID portion of https://www.rottentomatoes.com/celebrity/clint_eastwood. This parameter is optional if Wikidata property P1258 exists, but required if not.

Default
Wikidata property P1258
Stringoptional
namename 2

The "name" parameter (or unnamed parameter "2") may be used to specify the link text, which should be the name of the person. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(actor)".

Default
{{PAGENAMEBASE}}
Stringoptional

See also edit