Template:Cite Metacritic and Template:Cite Metacritic/sandbox: Difference between pages
(Difference between pages)
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|}}} |
|||
⚫ | |||
| 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|}}}| |[[ |
| 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>|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>|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>|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>|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]] |
||
⚫ | |||
|preview=unknown parameter "_VALUE_" |
|||
⚫ | |||
{{Documentation}} |
{{Documentation}} |
||
</noinclude> |
</noinclude> |