コンテンツにスキップ

英文维基 | 中文维基 | 日文维基 | 草榴社区

Template:Rotten Tomatoes person/doc

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

[編集]
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 person}}
{{Rotten Tomatoes person | name= NAME }}

Examples

[編集]

Unnamed parameters

[編集]
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

[編集]
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

[編集]
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

[編集]
Usage
{{Rotten Tomatoes person}}
Output

TemplateData

[編集]
これはビジュアルエディターテンプレートウィザードにより使用されるテンプレートのためのTemplateData文書です。

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.

テンプレートパラメーター

パラメーター説明状態
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.

既定
Wikidata property P1258
文字列省略可能
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)".

既定
{{PAGENAMEBASE}}
文字列省略可能

See also

[編集]