Template:AllMovie title: Difference between revisions
From The Goon Show Depository
m (1 revision imported) |
No edit summary |
||
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=v%D |plain=false}}|0||{{Error|Invalid ID.}}[[Category:AllMovie titles with invalid value]]}}}}</includeonly> | | [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 [[w:AllMovie|AllMovie]]<includeonly>{{EditAtWikidata|pid=P1562|{{{id|{{{1|}}}}}}}}{{ns0|{{#ifeq:{{#invoke:String|find |source={{#if:{{{id|{{{1|}}}}}}|v{{Trim|{{{id|{{{1}}}}}}}}|{{#property:P1562}}}} |target=v%D |plain=false}}|0||{{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> |