Template:Cite Metacritic and Template:Cite Metacritic/sandbox: Difference between pages

(Difference between pages)
Page 1
Page 2
Content deleted Content added
No edit summary
 
Syncing sandbox code with main template (sync-template-sandbox.js)
 
Line 1: Line 1:
<includeonly>{{cite web
<includeonly>{{cite web
| url = {{#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/ }}
| url = {{#if: {{{id|}}}
| {{#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/ }}
| https://www.metacritic.com/{{wikidata|property|P1712}}
}}
| title = {{#if: {{{title|}}}
| title = {{#if: {{{title|}}}
| ''{{{title}}}''
| ''{{{title}}}''
Line 15: Line 12:
| language = {{{language|}}}
| language = {{{language|}}}
| website = [[Metacritic]]
| website = [[Metacritic]]
| publisher = {{#if:{{{publisher_hide|}}}| |[[Fandom, Inc.]]}}
| publisher = {{#if:{{{publisher_hide|}}}| |[[Red Ventures]]}}
| date = {{{date|}}}
| date = {{{date|}}}
| location = {{{location|}}}
| location = {{{location|}}}
Line 33: Line 30:
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 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 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]]}} }}<!--
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]]}} }}{{#invoke:check for unknown parameters|check

-->{{#invoke:Check for unknown parameters|check
|unknown=[[Category:Cite Metacritic template with unknown parameters]]
|unknown=[[Category:Cite Metacritic template with unknown parameters]]
|id|url|title|script-title|trans-title|language|website|publisher|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>
|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>