Template:Rotten Tomatoes person
この項目「Template:Rotten Tomatoes person」は途中まで翻訳されたものです。(原文:英語版 "Template:Rotten Tomatoes person/doc" 12:11, 23 April 2022 (UTC)) 翻訳作業に協力して下さる方を求めています。ノートページや履歴、翻訳のガイドラインも参照してください。要約欄への翻訳情報の記入をお忘れなく。(2023年10月) |
Luaモジュールを使用しています: |
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
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
ID in Wikidata
[編集]- Usage in the article James Cagney
{{Rotten Tomatoes person}}
{{Rotten Tomatoes person | name= James Cagney }}
- Output
No ID in template or Wikidata
[編集]- Usage
{{Rotten Tomatoes person}}
- Output
-
- {{Rotten Tomatoes person}} template missing ID and not present in Wikidata.
TemplateData
[編集]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.
パラメーター | 説明 | 型 | 状態 | |
---|---|---|---|---|
id | id 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.
| 文字列 | 省略可能 |
name | name 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)".
| 文字列 | 省略可能 |
See also
[編集]- {{Rotten Tomatoes}}
- {{Rotten Tomatoes TV}}