Jump to content

Template:Cite Metacritic: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
No edit summary
Tags: Reverted Mobile edit Mobile web edit
No edit summary
 
(28 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<includeonly>{{cite web
<includeonly>{{cite web
| url = {{#if: {{{id|}}}
| 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|}}}|/s{{#switch: {{{season}}} |1|2|3|4|5|6|7|8|9=0{{{season}}}|#default={{{season}}}}}|}}
| {{#ifeq: {{{type|}}}{{{id|}}} | {{{type}}}{{{id}}} | https://www.metacritic.com/{{#switch: {{{type}}} |m|movie|film=movie|tv|television=tv|game|videogame=game|music=music}}{{#if:{{{vgtype|}}}|/{{#switch: {{{vgtype}}} |pc|playstation-3|playstation-4|playstation-5|playstation-vita|xbox-one|xbox-360|ios|3ds|wii-u|switch|ds{{{vgtype}}}|#default={{{vgtype}}}}}|}}/{{{id}}}{{#if:{{{season|}}}|/season-{{{season}}}|}} | https://www.metacritic.com/ }}
| title = {{#if:{{{title}}} | ''{{{title}}}''{{#if:{{{season|}}}|<nowiki>:</nowiki> Season {{{season}}}|}}
| https://www.metacritic.com/{{wikidata|property|P1712}}
}}
| title = {{#if: {{{title|}}}
| ''{{{title}}}''
| ''{{PAGENAMEBASE}}''
}}{{#if: {{{season|}}}
| {{#if:{{{season|}}}
| <nowiki>:</nowiki> Season {{{season}}}|}}
}}
| script-title = {{{script-title|}}}
| script-title = {{{script-title|}}}
| trans-title = {{{trans-title|}}}
| trans-title = {{{trans-title|}}}
| language = {{{language|}}}
| language = {{{language|}}}
| website = [[Metacritic]]
| website = [[Metacritic]]
| publisher = [[Red Ventures]]
| publisher = {{#if:{{{publisher_hide|}}}| |[[Fandom, Inc.]]}}
| date = {{{date|}}}
| date = {{{date|}}}
| location = {{{location|}}}
| location = {{{location|}}}
Line 15: Line 24:
| ref = {{{ref|}}}
| ref = {{{ref|}}}
| df = {{{df|}}}
| df = {{{df|}}}
| mode = {{{mode|}}}
| mode = {{{mode|}}}
}}<!--
}}<!--


== Error checking ==
== Error checking ==
No id -->{{#if:{{{id|}}}||<span style="font-size:100%" class="error citation-comment">Missing or empty <kbd>&#124;user=</kbd></span>{{main other|[[Category:Cite Metacritic templates with errors]]}} }}<!--
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)
(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;user=</kbd></span>{{main other|[[Category:Cite Metacritic templates with errors]]}} }}<!--
No type --> {{#if:{{{type|}}}||<span style="font-size:100%" class="error citation-comment">Missing or empty <kbd>&#124;type=</kbd></span>{{main other|[[Category:Cite Metacritic templates with errors]]}} }}<!--


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

--></includeonly><noinclude>
-->{{#invoke:Check for unknown parameters|check
|unknown=[[Category:Cite Metacritic template with unknown parameters]]
|preview=unknown parameter "_VALUE_"
|id|url|title|script-title|trans-title|language|website|date|location|access-date|archive-date|archive-url|url-status|ref|df|mode|type|vgtype|season|publisher_hide|accessdate|archivedate|archiveurl|dead-url|deadurl}}</includeonly><noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Latest revision as of 11:18, 19 February 2023