模板:Cite Metacritic
A template for citing information on Metacritic.
Usage[编辑]
复制以下其中一个空白版本来使用。几乎所有参数名称仅支持小写形式(部分缩写如|isbn=有对应的大写别名如|ISBN=,则这些大写形式也可使用)。参数之间使用“|”(管道)字符分隔。未使用的参数可以删除,以避免源代码杂乱。本文档中的部分示例可能包含当前日期;若日期显示不准确,请刷新页面。
|
|
Examples[编辑]
Films[编辑]
For Ralph Breaks the Internet:
{{Cite Metacritic |id=ralph-breaks-the-internet |type=movie |title=Ralph Breaks the Internet}}
{{Cite Metacritic |id=ralph-breaks-the-internet |type=movie |title=Ralph Breaks the Internet |accessdate=January 14, 2021}}
- 《Ralph Breaks the Internet》. Metacritic. Red Ventures. [January 14, 2021].
{{Cite Metacritic |id=ralph-breaks-the-internet |type=movie |title=Ralph Breaks the Internet |accessdate=January 14, 2021 |mode=cs2}}
- 《Ralph Breaks the Internet》, Metacritic, Red Ventures, [January 14, 2021]
Television series[编辑]
For Descendants:
{{Cite Metacritic |id=descendants |type=tv |title=Descendants |accessdate=January 24, 2021}}
- 《Descendants》. Metacritic. Red Ventures. [January 24, 2021].
For WandaVision (season 1):
{{Cite Metacritic |title=WandaVision |id=wandavision |type=tv |season=1 |access-date=January 25, 2021 }}
- 《WandaVision》第一季. Metacritic. Red Ventures. [January 25, 2021].
Video games[编辑]
For PlayerUnknown's Battlegrounds (PC):
{{Cite Metacritic |id=playerunknowns-battlegrounds |type=game |vgtype=pc |title=PlayerUnknown{{'}}s Battlegrounds (PC) |access-date=February 14, 2021}}
- 《PlayerUnknown's Battlegrounds (PC)》. Metacritic. Red Ventures. [February 14, 2021].
Error detection[编辑]
- The parameters
|id=,|type=, and|title=are required. If omitted or left blank, errors will be reported. For example:
{{Cite Metacritic|title=I'm an incomplete citation!|type=movie}}
TemplateData[编辑]
<templatedata> { "params": { "id": { "label": "id", "description": "URL identifier used by Metacritic for the media", "type": "string", "required": true }, "type": { "label": "type", "description": "To identify if it is a film, a television series, or a video game. Acceptable inputs are 'movie', 'film', 'tv', 'television', 'vg', or 'videogame'", "type": "string", "required": true }, "vgtype": { "label": "vgtype", "description": "To identify the video game's type. Acceptable inputs are 'pc', 'playstation-3', 'playstation-4', 'playstation-vita', 'xbox-one', 'xbox-360', 'ios', '3ds', 'wii-u', 'switch', or 'ds'", "type": "string", "required": false }, "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 Metacritic" } </templatedata>