Template:Cite Metacritic: Difference between revisions
Removing links as per WP:OVERLINK. |
Adding italics |
||
Line 2: | Line 2: | ||
-->{{#if:{{{type|}}}|<!--Error checking for type parameter |
-->{{#if:{{{type|}}}|<!--Error checking for type parameter |
||
-->{{#if:{{{title|}}}|<!-- Error checking for title parameter |
-->{{#if:{{{title|}}}|<!-- Error checking for title parameter |
||
-->{{#if:{{{url-status|}}}|{{#ifeq:{{{url-status}}}|live|[https://www.metacritic.com/{{#switch: {{{type}}} |movie|film=movie|tv|television=tv|game|videogame=game}}{{#if:{{{vgtype|}}}|/{{#switch: {{{vgtype}}} |pc|playstation-3|playstation-4|playstation-vita|xbox-one|xbox-360|ios|3ds|wii-u|switch|ds={{{vgtype}}}|#default={{{vgtype}}}}}|}}/{{{id}}}{{#if:{{{season|}}}|/season-{{#switch: {{{season}}} |1|2|3|4|5|6|7|8|9={{{season}}}|#default={{{season}}}}}|}} ''{{{title}}}''{{#if:{{{season|}}}|<nowiki>:</nowiki> Season {{{season}}}|}}]|[{{{archive-url|{{{archiveurl|}}}}}} ''{{{title}}}''{{#if:{{{season|}}}|<nowiki>:</nowiki> Season {{{season}}}|}}]}}|[https://www.metacritic.com/{{#switch: {{{type}}} |movie|film=movie|tv|television=tv|game|videogame=game}}{{#if:{{{vgtype|}}}|/{{#switch: {{{vgtype}}} |pc|playstation-3|playstation-4|playstation-vita|xbox-one|xbox-360|ios|3ds|wii-u|switch|ds={{{vgtype}}}|#default={{{vgtype}}}}}|}}/{{{id}}}{{#if:{{{season|}}}|/season-{{#switch: {{{season}}} |1|2|3|4|5|6|7|8|9={{{season}}}|#default={{{season}}}}}|}} ''{{{title}}}''{{#if:{{{season|}}}|<nowiki>:</nowiki> Season {{{season}}}|}}]}} at Metacritic{{#ifeq:{{{mode}}}|cs2|,|.}} Red Ventures{{#if:{{{archive-url|}}}{{{archiveurl|}}}|{{#ifeq:{{{mode}}}|cs2|,|.}} {{#if:{{{url-status|}}}|{{#ifeq:{{{url-status}}}|live|[{{{archive-url|{{{archiveurl|}}}}}} {{#ifeq:{{{mode}}}|cs2|a|A}}rchived] from the original|{{#ifeq:{{{mode}}}|cs2|a|A}}rchived from [https://www.metacritic.com/{{#switch: {{{type}}} |movie|film=movie|tv|television=tv|game|videogame=game}}{{#if:{{{vgtype|}}}|/{{#switch: {{{vgtype}}} |pc|playstation-3|playstation-4|playstation-vita|xbox-one|xbox-360|ios|3ds|wii-u|switch|ds={{{vgtype}}}|#default={{{vgtype}}}}}|}}/{{{id}}}{{#if:{{{season|}}}|/season-{{#switch: {{{season}}} |1|2|3|4|5|6|7|8|9={{{season}}}|#default={{{season}}}}}|}} the original]}}}} on {{{archive-date|{{{archivedate|}}}}}}}}{{#if:{{{access-date|}}}{{{accessdate|}}}|{{#ifeq:{{{mode}}}|cs2|,|.}} {{#ifeq:{{{mode}}}|cs2|r|R}}etrieved {{{access-date|{{{accessdate|}}}}}}}}{{#ifeq:{{{mode}}}|cs2||.}}|<!-- |
-->{{#if:{{{url-status|}}}|{{#ifeq:{{{url-status}}}|live|[https://www.metacritic.com/{{#switch: {{{type}}} |movie|film=movie|tv|television=tv|game|videogame=game}}{{#if:{{{vgtype|}}}|/{{#switch: {{{vgtype}}} |pc|playstation-3|playstation-4|playstation-vita|xbox-one|xbox-360|ios|3ds|wii-u|switch|ds={{{vgtype}}}|#default={{{vgtype}}}}}|}}/{{{id}}}{{#if:{{{season|}}}|/season-{{#switch: {{{season}}} |1|2|3|4|5|6|7|8|9={{{season}}}|#default={{{season}}}}}|}} ''{{{title}}}''{{#if:{{{season|}}}|<nowiki>:</nowiki> Season {{{season}}}|}}]|[{{{archive-url|{{{archiveurl|}}}}}} ''{{{title}}}''{{#if:{{{season|}}}|<nowiki>:</nowiki> Season {{{season}}}|}}]}}|[https://www.metacritic.com/{{#switch: {{{type}}} |movie|film=movie|tv|television=tv|game|videogame=game}}{{#if:{{{vgtype|}}}|/{{#switch: {{{vgtype}}} |pc|playstation-3|playstation-4|playstation-vita|xbox-one|xbox-360|ios|3ds|wii-u|switch|ds={{{vgtype}}}|#default={{{vgtype}}}}}|}}/{{{id}}}{{#if:{{{season|}}}|/season-{{#switch: {{{season}}} |1|2|3|4|5|6|7|8|9={{{season}}}|#default={{{season}}}}}|}} ''{{{title}}}''{{#if:{{{season|}}}|<nowiki>:</nowiki> Season {{{season}}}|}}]}} at ''Metacritic''{{#ifeq:{{{mode}}}|cs2|,|.}} Red Ventures{{#if:{{{archive-url|}}}{{{archiveurl|}}}|{{#ifeq:{{{mode}}}|cs2|,|.}} {{#if:{{{url-status|}}}|{{#ifeq:{{{url-status}}}|live|[{{{archive-url|{{{archiveurl|}}}}}} {{#ifeq:{{{mode}}}|cs2|a|A}}rchived] from the original|{{#ifeq:{{{mode}}}|cs2|a|A}}rchived from [https://www.metacritic.com/{{#switch: {{{type}}} |movie|film=movie|tv|television=tv|game|videogame=game}}{{#if:{{{vgtype|}}}|/{{#switch: {{{vgtype}}} |pc|playstation-3|playstation-4|playstation-vita|xbox-one|xbox-360|ios|3ds|wii-u|switch|ds={{{vgtype}}}|#default={{{vgtype}}}}}|}}/{{{id}}}{{#if:{{{season|}}}|/season-{{#switch: {{{season}}} |1|2|3|4|5|6|7|8|9={{{season}}}|#default={{{season}}}}}|}} the original]}}}} on {{{archive-date|{{{archivedate|}}}}}}}}{{#if:{{{access-date|}}}{{{accessdate|}}}|{{#ifeq:{{{mode}}}|cs2|,|.}} {{#ifeq:{{{mode}}}|cs2|r|R}}etrieved {{{access-date|{{{accessdate|}}}}}}}}{{#ifeq:{{{mode}}}|cs2||.}}|<!-- |
||
Error checking notices |
Error checking notices |
Revision as of 14:27, 15 April 2021
This template is a Citation Style 1 wrapper template based on {{Cite web}}. For centralised Citation Style 1 discussions, see Help talk:Citation Style 1. |
A template for citing information on Metacritic.
Usage
Copy a blank version to use. Almost all parameter names are supported only in lower case (some initialisms, such as |isbn=
have upper-case aliases like |ISBN=
, which are acceptable for use). Use the "|" (pipe) character between each parameter. Unused parameters may be deleted to avoid clutter in the edit window. Some samples on this documentation page may include the current date. If the date is not current, then the page.
|
|
Examples
Films
For Ralph Breaks the Internet:
{{Cite Metacritic |id=ralph-breaks-the-internet |type=movie |title=Ralph Breaks the Internet}}
- Ralph Breaks the Internet at Metacritic. Red Ventures.
{{Cite Metacritic |id=ralph-breaks-the-internet |type=movie |title=Ralph Breaks the Internet |accessdate=January 14, 2021}}
- Ralph Breaks the Internet at Metacritic. Red Ventures. Retrieved 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 at Metacritic, Red Ventures, retrieved January 14, 2021
Television series
For Descendants:
{{Cite Metacritic |id=descendants |type=tv |title=Descendants |accessdate=January 24, 2021}}
- Descendants at Metacritic. Red Ventures. Retrieved January 24, 2021.
For WandaVision (season 1):
{{Cite Metacritic |title=WandaVision |id=wandavision |type=tv |season=1 |access-date=January 25, 2021 }}
- WandaVision: Season 1 at Metacritic. Red Ventures. Retrieved 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) at Metacritic. Red Ventures. Retrieved February 14, 2021.
Error detection
- The parameters
|id=
,|type=
,|title=
, and|access-date=
are required. If omitted or left blank, errors will be reported. For example:
{{Cite Metacritic|title=I'm an incomplete citation!|type=movie}}
|id=
specified when using {{Cite Metacritic}}
Tracking categories
- Category:Cite Metacritic templates with errors (0)
- Category:Cite Metacritic template with unknown parameters (1)
TemplateData
TemplateData for Cite Metacritic
A template for citing information on Metacritic
Parameter | Description | Type | Status | |
---|---|---|---|---|
id | id | URL identifier used by Metacritic for the media | String | required |
type | type | To identify if it is a film, a television series, or a video game. Acceptable inputs are 'movie', 'm', 'film', 'tv', 'television', 'vg', or 'videogame' | String | required |
vgtype | vgtype | To identify the video game's type. Acceptable inputs are 'pc', 'playstation-3', 'playstation-4', 'playstation-5', 'playstation-vita', 'xbox-one', 'xbox-360', 'ios', '3ds', 'wii-u', 'switch', or 'ds' | String | optional |
season | season | The specific season of a television series | Number | optional |
title | title | The name of the media. If not entered, will pull from page name. | String | optional |
publisher_hide | publisher_hide | To hide the publisher parameter | String | optional |
access date | access-date accessdate | The full date when the site was accessed; do not wikilink | Date | required |
archive URL | archive-url archiveurl | The URL of an archived copy of a web page, if or in case the URL becomes unavailable; requires 'archive-date' | String | optional |
archive date | archive-date archivedate | Date when the original URL was archived; do not wikilink | Date | optional |
URL status | url-status | If set to 'live', the title displays as the live link; if set to dead, the title displays as the archive link | String | optional |
mode | mode | 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 | String | optional |