Template:Rotten Tomatoes: Difference between revisions

From The Goon Show Depository

No edit summary
m (1 revision imported)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#if: {{{1|{{{id<includeonly>|</includeonly>}}}}}}
{{#if:{{{1|{{{id|<noinclude>1</noinclude>}}}}}}
 
|[https://www.rottentomatoes.com/{{#ifeq:{{#invoke:String|find|source=m/tv/franchise/celebrity/critic/|target={{#invoke:String|match|nomatch=0|pattern=^%a+/|s={{{id|{{{1}}}}}}}}}}|0|m/}}{{Trim|{{{1|{{{id}}}}}}}} {{#ifeq:
| [https://www.rottentomatoes.com/{{#ifeq:
{{#invoke:String|find|source=celebrity/critic/|target={{#invoke:String|match|nomatch=0|pattern=^%a+/|s={{{id|{{{1}}}}}}}}}}|0|''}}{{#if:{{{title|{{{name|{{{2|<noinclude>1</noinclude>}}}}}}}}}
  {{#invoke:String|find|source={{{1|{{{id}}}}}}|target=^m/|plain=false
|{{{title|{{{name|{{{2|<noinclude>{{{title}}}</noinclude>}}}}}}}}}
  }}{{#invoke:String|find|source={{{1|{{{id}}}}}}|target=^tv/|plain=false
|{{PAGENAMEBASE}}
  }}{{#invoke:String|find|source={{{1|{{{id}}}}}}|target=^franchise/|plain=false
}}{{#ifeq:{{#invoke:String|find|source=celebrity/critic/|target={{#invoke:String|match|nomatch=0|pattern=^%a+/|s={{{id|{{{1}}}}}}}}}}|0|''}}] at [[Rotten Tomatoes]]{{WikidataCheck|property=P1258|value={{#ifeq:{{#invoke:String|find|source=m/tv/franchise/celebrity/critic/|target={{#invoke:String|match|nomatch=0|pattern=^%a+/|s={{{id|{{{1}}}}}}}}}}|0|m/}}{{Trim|{{{1|{{{id}}}}}}}}|category=Rotten Tomatoes ID|qid={{{qid|}}}}}
  }}{{#invoke:String|find|source={{{1|{{{id}}}}}}|target=^celebrity/|plain=false
|{{#if:{{#property:P1258|from={{{qid|}}}}}
  }}{{#invoke:String|find|source={{{1|{{{id}}}}}}|target=^critic/|plain=false
|[https://www.rottentomatoes.com/{{First word|1={{#property:P1258|from={{{qid|}}}}}|sep=,}} {{#ifeq:
  }}|00000|m/}}{{Trim|{{{1|{{{id}}}}}}}} {{#ifeq:
{{#invoke:String|find|source=celebrity/critic/|target={{#invoke:String|match|nomatch=0|pattern=^%a+/|s={{#property:P1258|from={{{qid|}}}}}}}}}|0|''}}{{#if:{{{title|{{{name|{{{2|}}}}}}}}}
  {{#invoke:String|find|source={{{1|{{{id}}}}}}|target=^celebrity/|plain=false
|{{{title|{{{name|{{{2}}}}}}}}}
  }}{{#invoke:String|find|source={{{1|{{{id}}}}}}|target=^critic/|plain=false
|{{PAGENAMEBASE}}
  }}|00|''}}{{#if: {{{2|{{{name|{{{title<includeonly>|</includeonly>}}}}}}}}}
}}{{#ifeq:
  | {{{2|{{{name|{{{title}}}}}}}}}
{{#invoke:String|find|source=celebrity/critic/|target={{#invoke:String|match|nomatch=0|pattern=^%a+/|s={{#property:P1258|from={{{qid|}}}}}}}}}|0|''}}] at [[Rotten Tomatoes]]{{EditAtWikidata|pid=P1258}}
  | {{PAGENAMEBASE}}
|<span class="error">&#123;&#123;[[Template:Rotten Tomatoes|Rotten Tomatoes]]&#125;&#125; template missing ID and not present in Wikidata.</span>{{Main other|[[Category:Rotten Tomatoes template missing ID and not in Wikidata]]}}
  }}{{#ifeq:
  {{#invoke:String|find|source={{{1|{{{id}}}}}}|target=^celebrity/|plain=false
  }}{{#invoke:String|find|source={{{1|{{{id}}}}}}|target=^critic/|plain=false
  }}|00|''}}] at [[Rotten Tomatoes]]
 
| {{#if: {{#property:P1258}}
 
  | [https://www.rottentomatoes.com/{{First word|1={{#property:P1258}}|sep=,}} {{#ifeq:
  {{#invoke:String|find|source={{#property:P1258}}|target=^celebrity/|plain=false
  }}{{#invoke:String|find|source={{#property:P1258}}|target=^critic/|plain=false
  }}|00|''}}{{#if: {{{2|{{{name|{{{title|}}}}}}}}}
  | {{{2|{{{name|{{{title}}}}}}}}}
  | {{PAGENAMEBASE}}
  }}{{#ifeq:
  {{#invoke:String|find|source={{#property:P1258}}|target=^celebrity/|plain=false
  }}{{#invoke:String|find|source={{#property:P1258}}|target=^critic/|plain=false
  }}|00|''}}] at [[w:Rotten Tomatoes|Rotten Tomatoes]]{{EditAtWikidata|pid=P1258}}
 
  | <span class="error">&#123;&#123;[[Template:Rotten Tomatoes|Rotten Tomatoes]]&#125;&#125; template missing ID and not present in Wikidata.</span>{{Main other|[[Category:Rotten Tomatoes template missing ID and not in Wikidata]]}}
 
   }}
   }}
}}{{Main other|{{#if: {{{2|{{{name|{{{title|}}}}}}}}} | [[Category:Rotten Tomatoes template using name parameter]] }}}}<noinclude>
}}{{Main other|{{#if: {{{2|{{{name|{{{title|}}}}}}}}} | [[Category:Rotten Tomatoes template using name parameter]] }}}}<noinclude>
{{Documentation}} <!-- Add categories to the /doc subpage. Add interwiki links to Wikidata. -->
{{Documentation}} <!-- Add categories to the /doc subpage. Add interwiki links to Wikidata. -->
</noinclude>
</noinclude>

Latest revision as of 21:18, 5 July 2024

{{{title}}} at Rotten Tomatoes