Template:AllMovie title: Difference between revisions
From The Goon Show Depository
en>Gonnym (bypass redirect) |
m (1 revision imported) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{#if: {{{id<includeonly>|</includeonly>}}} {{{1|}}} {{#property:P1562}} | {{#if: {{{id<includeonly>|</includeonly>}}} {{{1|}}} {{#property:P1562}} | ||
| [https://www.allmovie.com/movie/{{#if: {{{id|{{{1<includeonly>|</includeonly>}}}}}} | v{{Trim|{{{id|{{{1}}}}}}}} | {{First word|{{#property:P1562}}|sep=,}} }}{{#switch: {{lc:{{{tab|}}}}}||review=|#default=/{{{tab}}}}} ''{{#if: {{{title|{{{2|}}}}}} | {{{title|{{{2}}}}}} | {{PAGENAMEBASE}} }}''] at [[AllMovie]]<includeonly>{{EditAtWikidata|pid=P1562|{{{id|{{{1|}}}}}}}}{{ns0|{{#ifeq:{{#invoke:String|find |source={{#if:{{{id|{{{1|}}}}}}|v{{Trim|{{{id|{{{1}}}}}}}}|{{#property:P1562}}}} |target= | | [https://www.allmovie.com/movie/{{#if: {{{id|{{{1<includeonly>|</includeonly>}}}}}} | v{{Trim|{{{id|{{{1}}}}}}}} | {{First word|{{#property:P1562}}|sep=,}} }}{{#switch: {{lc:{{{tab|}}}}}||review=|#default=/{{{tab}}}}} ''{{#if: {{{title|{{{2|}}}}}} | {{{title|{{{2}}}}}} | {{PAGENAMEBASE}} }}''] at [[AllMovie]]<includeonly>{{EditAtWikidata|pid=P1562|{{{id|{{{1|}}}}}}}}{{ns0|{{#ifeq:{{#invoke:String|find |source={{#if:{{{id|{{{1|}}}}}}|v{{Trim|{{{id|{{{1}}}}}}}}|{{#property:P1562}}}} |target=[va]m?%d |plain=false}}|1||{{Error|Invalid ID.}}[[Category:AllMovie titles with invalid value]]}}}}</includeonly> | ||
| {{Error|{{tl|AllMovie title}} template missing ID and not present in Wikidata.}}<includeonly>[[Category:AllMovie titles with invalid value]]</includeonly> | | {{Error|{{tl|AllMovie title}} template missing ID and not present in Wikidata.}}<includeonly>[[Category:AllMovie titles with invalid value]]</includeonly> | ||
}}<includeonly>{{#ifeq:{{lc:{{{tab|}}}}}|review|{{Main other|[[Category:AllMovie titles with a tab value of review]]}}}}</includeonly><noinclude> | }}<includeonly>{{#ifeq:{{lc:{{{tab|}}}}}|review|{{Main other|[[Category:AllMovie titles with a tab value of review]]}}}}</includeonly><!-- Tracking categories | ||
-->{{#invoke:Check for unknown parameters|check|unknown={{Main other|[[Category:Pages using AllMovie title with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:AllMovie title]] with unknown parameter "_VALUE_"|showblankpositional=1| 1 | 2 | id | tab | title }}<!-- | |||
--><noinclude> | |||
{{Documentation}}<!-- Please add categories to the /doc subpage & add interwikis to Wikidata. --> | {{Documentation}}<!-- Please add categories to the /doc subpage & add interwikis to Wikidata. --> | ||
</noinclude> | </noinclude> |