Template:IMDb episodes: 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: | ||
[https://www.imdb.com/title/tt{{Trim| {{{1|{{{id | <includeonly>[https://www.imdb.com/title/tt{{Trim|{{{1|{{{id|}}}}}}}}/episodes{{#ifeq: {{First word|{{PAGENAME}}}} | List || {{#if: {{{year|}}} | ||
| ?year={{{year|}}} | |||
| {{#if: {{{season|{{Last word|{{PAGENAME}}}}}}} | ?season={{{season|{{Last word|{{PAGENAME}}}}}}} }} | |||
}} | |||
}}{{#if: {{{2|{{{title|}}}}}}<!-- | |||
-->| ''{{{2|{{{title}}}}}}''<!-- | |||
-->| {{#ifeq: {{First word|{{PAGENAME}}}} | List<!-- | |||
-->| ''{{PAGENAMEBASE|{{Trim|{{Replace|{{Replace|{{PAGENAME}}|List of||}}|episodes.*||plain=false}}}}}}''<!-- | |||
-->| ''{{PAGENAMEBASE|{{Trim|{{Replace|{{Replace|{{PAGENAME}}|series %d*||plain=false}}|season %d*||plain=false}}}}}}''<!-- | |||
-->}}<!-- | |||
-->}}{{#if: {{{3|{{{description|}}}}}} | {{sp}}{{Trim|{{{3|{{{description}}}}}}}} }}] at [[IMDb (identifier)|IMDb]]<!-- Tracking categories | |||
-->{{#invoke:Check for unknown parameters|check|unknown={{Main other|[[Category:Pages using IMDb episodes with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:IMDb episodes]] with unknown parameter "_VALUE_"|showblankpositional=1| 1 | 2 | 3 | description | id | season | title | year }}</includeonly><noinclude> | |||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 18:17, 18 July 2024
Template:IMDb episodes generate links to IMDb TV series or web series episode lists.
Finding the IMDb ID
- Search on imdb.com for the title you want. On the wiki page of the TV show concerned this can often be done conveniently with the link produced by previewing {{IMDB title}}. This may not work if the page title is more than just the TV show title.
- Click on the correct link to go to the TV show's page (or whatever you're looking for). Be sure you're getting on the correct title page.
- The page URL should look like https://www.imdb.com/title/tt#######, where "#######" indicates a number.
- Copy only that number (be sure to remove the "tt"[a].)
Usage
- {{IMDb episodes|id}}
Parameters
Parameter | Explanation |
---|---|
|
Required. The IMDb ID of the TV program. |
|
Optional. If not used defaults to {{PAGENAMEBASE}} |
|
Optional. An additional description to distinguish the TV program from another that may be on the same page with the same name. |
season
|
Optional. The season number. If not used defaults to the season number in the article title disambiguation. |
Example
- On the page Cavalcade of America, preview {{IMDb title}} and search using the link Cavalcade of America produced. You'll get to this page: https://www.imdb.com/title/tt0044248/
- Copy "0044248" and then replace the {{IMDb title}} template with the {{IMDB episodes}} template, including this number as a parameter: {{IMDb episodes|0044248}}
- The result on the page Cavalcade of America is: Cavalcade of America at IMDb
2nd example
- Searching for the 1993 remake of the TV series "Route 66", you'll get to this page: https://www.imdb.com/title/tt0106117/
- Copy "0106117" and then write: {{IMDb episodes|0106117|Route 66|(1993)}}
- The result is: Route 66 (1993) at IMDb
See also
- To link a specific TV or web series episode, use {{IMDb episode}} instead.
- To link a work (film, movie, TV or web program, video game, etc.), use {{IMDb title}} instead.
- To link a person (actor, actress, etc.), use {{IMDb name}} instead.
Notes
- ^ The leading zeros are not needed but recommended, for Linksearch uniformity is useful.