Template:IMDb episode: Difference between revisions

From The Goon Show Depository

No edit summary
m (1 revision imported)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{#if: {{{1|{{{id<includeonly>|</includeonly>}}}}}} {{#property:P345}}
<includeonly>{{#if: {{{1|{{{id|}}}}}} {{#property:P345}}
 
| [https://www.imdb.com/title/{{#if: {{{1|{{{id|}}}}}}
| [https://www.imdb.com/title/{{#if: {{{1|{{{id<includeonly>|</includeonly>}}}}}}
   | tt{{Trim|{{{1|{{{id}}}}}}}}
   | tt{{Trim|{{{1|{{{id}}}}}}}}
   | {{First word|1={{#property:P345}}|sep=,}}
   | {{First word|1={{#property:P345}}|sep=,}}
   }}/ "{{#if: {{{2|{{{episode<includeonly>|</includeonly>}}}}}}
   }}/ {{#if: {{{2|{{{episode|}}}}}}
   | {{{2|{{{episode}}}}}}
   | "{{{2|{{{episode}}}}}}"
   | {{PAGENAMEBASE}}
   | {{#invoke:Infobox television episode|above_title|no_bold=yes}}
   }}"{{#if:{{{3|{{{description|}}}}}}|{{nbsp}}{{{3|{{{description|}}}}}}}}] at [[W:IMDb|IMDb]]<includeonly>{{EditAtWikidata|pid=P345|{{{1|{{{id|}}}}}}}}</includeonly>
   }}{{#if: {{{3|{{{description|}}}}}} | {{Spaces}}{{{3|{{{description}}}}}} }}] at [[IMDb (identifier)|IMDb]]<!--
 
-->{{EditAtWikidata|{{{1|{{{id|}}}}}}|pid=P345}}
| <span class="error">&#123;&#123;[[Template:IMDb episode|IMDb episode]]&#125;&#125; template missing ID and not present in Wikidata.</span>
| <span class="error">&#123;&#123;[[Template:IMDb episode|IMDb episode]]&#125;&#125; template missing ID and not present in Wikidata.</span>
 
}}<!-- Tracking categories
}}<noinclude>
-->{{#invoke:Check for unknown parameters|check|unknown={{Main other|[[Category:Pages using IMDb episode with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:IMDb episode]] with unknown parameter "_VALUE_"|showblankpositional=1| 1 | 2 | 3 | description | episode | id }}<!--
-->{{Main other|{{#if: {{{2|{{{episode|}}}}}} | {{#ifeq: {{{2|{{{episode|}}}}}} | {{PAGENAMEBASE}} || {{#switch: {{Wikidata|property|raw|P31}} <!-- instance of -->
| Q21664088 <!-- two-part episode -->
| Q50062923 <!-- three-part episode -->
| Q50914552 <!-- four-part episode -->
| Q99079902 <!-- five-part episode -->
| Q123186929 <!-- six-part episode -->
| Q125359117 <!-- animated two-part episode -->
| Q125359123 <!-- animated three-part episode -->
| Q125359129 <!-- animated four-part episode -->
| Q125359137 <!-- animated five-part episode --><!-- Multi-part usages are valid so shouldn't be tracked. -->
| Q55422400 <!-- Sarah Jane Smith serial --> = <!-- don't categorize -->
| #default = [[Category:Pages using IMDb episode with a different name]]
}} }} }} }}<!--
-->{{#if: {{{1|{{{id|}}}}}} | {{#switch: {{Wikidata|property|raw|P31}} <!-- instance of -->
| Q21664088 <!-- two-part episode -->
| Q50062923 <!-- three-part episode -->
| Q50914552 <!-- four-part episode -->
| Q99079902 <!-- five-part episode -->
| Q123186929 <!-- six-part episode -->
| Q125359117 <!-- animated two-part episode -->
| Q125359123 <!-- animated three-part episode -->
| Q125359129 <!-- animated four-part episode -->
| Q125359137 <!-- animated five-part episode -->
| Q55422400 <!-- Sarah Jane Smith serial --> = <!-- don't categorize -->
| #default = {{WikidataCheck|property=P345|value=tt{{{1|{{{id|}}}}}}|category=IMDb episode ID|nocatsame=1}}
}} }}<!--
--></includeonly><noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Latest revision as of 07:04, 27 August 2024