Templat:Cite Metacritic: Perbedaan antara revisi
Tampilan
Konten dihapus Konten ditambahkan
FelixJL111 (bicara | kontrib) ←Membuat halaman berisi '<includeonly>{{#if:{{{id|}}}|<!--Error checking for id parameter -->{{#if:{{{type|}}}|<!--Error checking for type parameter -->{{#if:{{{title|}}}|<!-- Er...' Tag: Suntingan visualeditor-wikitext |
k new method Tag: Suntingan visualeditor-wikitext |
||
Baris 1: | Baris 1: | ||
<includeonly>{{ |
<includeonly>{{cite web |
||
| 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/ }} |
|||
-->{{#if:{{{title|}}}|<!-- Error checking for title parameter |
|||
| https://www.metacritic.com/{{wikidata|property|P1712}} |
|||
-->{{#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> Musim {{{season}}}|}}]|[{{{archive-url|{{{archiveurl|}}}}}} ''{{{title}}}''{{#if:{{{season|}}}|<nowiki>:</nowiki> Musim {{{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> Musim {{{season}}}|}}]}}{{#ifeq:{{{mode}}}|cs2|,|.}} ''[[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|d|D}}iarsip] dari aslinya|{{#ifeq:{{{mode}}}|cs2|d|D}}iarsip dari [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}}}}}|}} asli]}}}} on {{{archive-date|{{{archivedate|}}}}}}}}{{#if:{{{access-date|}}}{{{accessdate|}}}|{{#ifeq:{{{mode}}}|cs2|,|.}} {{#ifeq:{{{mode}}}|cs2|d|D}}iakses tanggal {{{access-date|{{{accessdate|}}}}}}}}{{#ifeq:{{{mode}}}|cs2||.}}|<!-- |
|||
}} |
|||
| title = {{#if: {{{title|}}} |
|||
| ''{{{title}}}'' |
|||
| ''{{PAGENAMEBASE}}'' |
|||
}}{{#if: {{{season|}}} |
|||
| {{#if:{{{season|}}} |
|||
| <nowiki>:</nowiki> Season {{{season}}}|}} |
|||
}} |
|||
| script-title = {{{script-title|}}} |
|||
| trans-title = {{{trans-title|}}} |
|||
| language = {{{language|}}} |
|||
| website = [[Metacritic]] |
|||
| publisher = {{#if:{{{publisher_hide|}}}| |[[Fandom, Inc.]]}} |
|||
| 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 |
== Error checking == |
||
No id -->{{#if:{{{id|}}}||<span style="font-size:100%" class="error citation-comment">Missing or empty <kbd>|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>|type=</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 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 |
|||
|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> |