模板:Cite Rotten Tomatoes/doc

维基百科,自由的百科全书
跳转到导航 跳转到搜索

引用烂番茄页面作为资料来源的模版。

参数及用法[编辑]

复制以下其中一个空白版本来使用。几乎所有参数名称仅支持小写形式(部分缩写如|isbn=有对应的大写别名如|ISBN=,则这些大写形式也可使用)。参数之间使用“|”(管道)字符分隔。未使用的参数可以删除,以避免源代码杂乱。本文档中的部分示例可能包含当前日期;若日期显示不准确,请刷新页面

横式排列的必选参数
{{cite rt |id= |type= |title= }}
横式排列的全部参数
{{cite rt |id= |type= |season= |title= |access-date= |archive-url= |archive-date= |url-status= |mode= }}

实例[编辑]

电影[编辑]

{{Cite rt |id=titanic |type=m |title=泰坦尼克号}}
《泰坦尼克号》. Rotten Tomatoes. Fandango Media. 
{{Cite rt |id=titanic |type=m |title=泰坦尼克号 |accessdate=2020-02-14}}
《泰坦尼克号》. Rotten Tomatoes. Fandango Media. [2020-02-14]. 
{{Cite rt |id=titanic |type=m |title=泰坦尼克号 |accessdate=2020-02-14 |mode=cs2}}
《泰坦尼克号》, Rotten Tomatoes, Fandango Media, [2020-02-14] 

电视剧[编辑]

{{Cite rt |id=the_simpsons |type=tv |title=辛普森一家 |accessdate=2020-02-14}}
《辛普森一家》. Rotten Tomatoes. Fandango Media. [2020-02-14]. 
{{Cite rt |id=the_simpsons |type=tv |season=29 |title=辛普森一家 |accessdate=2020-02-14}}
《辛普森一家》第二十九季. Rotten Tomatoes. Fandango Media. [2020-02-14]. 

错误提示[编辑]

TemplateData[编辑]

以下是该模板的模板数据,适用于可视化编辑器等工具。

Cite Rotten Tomatoes模板数据

<templatedata> { "params": { "id": { "label": "id", "description": "URL identifier used by Rotten Tomatoes for the media", "type": "string", "required": true }, "type": { "label": "type", "description": "To identify if it is a film or television series. Acceptable inputs are 'm', 'movie', 'Movie', 'film', 'tv', 'TV' or 'television'", "type": "string", "required": true }, "season": { "label": "season", "description": "The specific season of a television series", "type": "number", "required": false }, "title": { "label": "title", "description": "The name of the media", "type": "string", "required": true }, "access-date": { "aliases": [ "accessdate" ], "label": "access date", "description": "The full date when the site was accessed; do not wikilink" }, "archive-url": { "label": "archive URL", "aliases": [ "archiveurl" ], "description": "The URL of an archived copy of a web page, if or in case the URL becomes unavailable; requires 'archive-date'", "type": "string" }, "archive-date": { "label": "archive date", "aliases": [ "archivedate" ], "description": "Date when the original URL was archived; do not wikilink", "type": "string" }, "url-status": { "label": "URL status", "description": "If set to 'live', the title displays as the live link; if set to dead, the title displays as the archive link", "type": "string" }, "mode": { "label": "mode", "description": "Similar to the parameter used by cs1|2 templates, when set to cs2, element separator switches from dot to comma; static text is rendered in lowercase; rendering omits the trailing dot", "type": "string" } }, "description": "A template for citing information on Rotten Tomatoes" } </templatedata>

Redirects[编辑]

  1. {{Cite rotten tomatoes}}