Jump to content

Template:Cite Metacritic: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Restored revision 1027182412 by Some Dude From North Carolina (talk): Broke all tested season links, e.g. in Doctor Who (series 11)
Swap to {{cite web}} wrapper
Tags: Mobile edit Mobile web edit
Line 1: Line 1:
<includeonly>{{#if:{{{id|}}}|<!--Error checking for id parameter
<includeonly>{{
| url = {{#ifeq: {{{type|}}}{{{id|}}} | {{{type}}}{{{id}}} | 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|10|11|12|13|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30|31|32|33|34|35|36|37|38|39|40|41|42|43|44|45|46|47|48|49|50{{{season}}}|#default={{{season}}}}}|}} | https://www.metacritic.com/ }}
-->{{#if:{{{type|}}}|<!--Error checking for type parameter
-->{{#if:{{{title|}}}|<!-- Error checking for title parameter
{{#if:{{{title|}}}|<
| script-title = {{{script-title|}}}
-->{{#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}}}|}}]"}}{{#ifeq:{{{mode}}}|cs2|,|.}} ''[[Metacritic]]''{{#ifeq:{{{mode}}}|cs2|,|.}}&#32;[[Red Ventures]]{{#if:{{{archive-url|}}}{{{archiveurl|}}}|{{#ifeq:{{{mode}}}|cs2|,|.}}&#32;{{#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|,|.}}&#32;{{#ifeq:{{{mode}}}|cs2|r|R}}etrieved {{{access-date|{{{accessdate|}}}}}}}}{{#ifeq:{{{mode}}}|cs2||.}}|<!--
| trans-title = {{{trans-title|}}}
| language = {{{language|}}}
| website = [[Metacritic]]
| publisher = {{#if:{{{publisher_hide|}}}| |[[Red Ventures]]}}
| date = {{{date|}}}
| location = {{{location|}}}
| access-date = {{{access-date|{{{accessdate|}}} }}}
| archive-date = {{{archive-date|{{{archivedate|}}} }}}
| archive-url = {{{archive-url|{{{archiveurl|}}} }}}
| url-status = {{{url-status|{{{dead-url|{{{deadurl|}}}}}}}}}
| ref = {{{ref|}}}
| df = {{{df|}}}
| mode = {{{mode|}}}
}}<!--


Error checking notices
Error checking
No id -->{{#if:{{{id|}}}||<span style="font-size:100%" class="error citation-comment">Missing or empty <kbd>&#124;id=</kbd></span>{{main other|[[Category:Cite Metacritic templates with errors]]}} }}<!--
(Note: error message is provided by CS1 module)


No type --> {{#if:{{{type|}}}||<span style="font-size:100%" class="error citation-comment">Missing or empty <kbd>&#124;id=</kbd></span>{{main other|[[Category:Cite Metacritic templates with errors]]}} }}<!--
-->{{Citation error|no {{para|title}} specified|Cite Metacritic}}}}|{{Citation error|no {{para|type}} specified|Cite Metacritic}}}}|{{Citation error|no {{para|id}} specified|Cite Metacritic}}}}</includeonly><noinclude>

No title --> {{#if:{{{title|}}}||<span style="font-size:100%" class="error citation-comment">Missing or empty <kbd>&#124;id=</kbd></span>{{main other|[[Category:Cite Metacritic templates with errors]]}} }}<!--
--></includeonly><noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Revision as of 23:06, 11 December 2021