Template:TCMDb title: Difference between revisions
m (1 revision imported) |
No edit summary |
||
Line 8: | Line 8: | ||
}}''{{#if:{{{description|{{{3|}}}}}} | }}''{{#if:{{{description|{{{3|}}}}}} | ||
|{{sp}}{{{description|{{{3}}}}}} | |{{sp}}{{{description|{{{3}}}}}} | ||
}}] at the [[Turner Classic Movies|TCM Movie Database]]<includeonly>{{EditAtWikidata|pid=P2631|{{{id|{{{1|}}}}}}}}</includeonly> | }}] at the [[w:Turner Classic Movies|TCM Movie Database]]<includeonly>{{EditAtWikidata|pid=P2631|{{{id|{{{1|}}}}}}}}</includeonly> | ||
|<span class="error">{{[[Template:TCMDb title|TCMDb title]]}} template missing ID and not present in Wikidata.</span> | |<span class="error">{{[[Template:TCMDb title|TCMDb title]]}} template missing ID and not present in Wikidata.</span> | ||
}}<noinclude> | }}<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 13:09, 23 November 2022
{{{title}}} at the TCM Movie Database
This template is used on approximately 12,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template uses Lua: |
Template:TCMDb title displays an external link to a web page for a film title at the TCM Movie Database (TCMDb). It is intended for use in the external links section of an article.
Turner Classic Movies (TCM) maintains its own comprehensive database of motion picture titles that are not limited to the film libraries that TCM owns, and includes links by which a user can suggest to TCM that they schedule any given title for viewing.
This template is designed for links to film titles; to a link to a person use {{TCMDb name}} instead.
Usage
Unnamed parameters:
{{TCMDb title | ID }}
{{TCMDb title | ID | TITLE }}
{{TCMDb title | ID | TITLE | DESCRIPTION }}
Named parameters:
{{TCMDb title | id= ID }}
{{TCMDb title | id= ID | title= TITLE }}
{{TCMDb title | id= ID | title= TITLE | description= DESCRIPTION }}
Using Wikidata property P2631:
{{TCMDb title}}
{{TCMDb title | title= TITLE }}
{{TCMDb title | title= TITLE | description= DESCRIPTION }}
Instructions
- Visit the TCM Movie Database.
- In the keyword search field, type in the title you want to link to, and click "Search."
- TCMDb will show a disambiguation page showing all titles that match your search words. Click on the title you want (make sure you have the correct year of release!).
- The page URL should look like this:
http://www.tcm.com/tcmdb/title/######/Film-Name/
- where "
######
" indicates a number.
- Copy the ID number that appears after
stid=
or/title/
in the URL. - In the article you are editing, type
{{TCMDb title | id= ###### | title= Film Name }}
.
Examples
Unnamed parameters
Usage:
* {{TCMDb title | 26660 | Screaming Eagles }}
* {{TCMDb title | 26660 | Screaming Eagles | (1956 film) }}
Output:
Current URL:
Former URLs:
- http://www.tcm.com/tcmdb/title/title.jsp?stid=26660
- http://tcmdb.com/title/title.jsp?stid=26660
- http://www.tcm.turner.com/title/title.jsp?stid=26660
- http://www.tcm.turner.com/tcmdb/title/title.jsp?stid=26660
Named parameters
Usage:
* {{TCMDb title | id= 68177 | title= Batman }}
* {{TCMDb title | id= 68177 | title= Batman | description= (1966 film) }}
Output:
- Batman at the TCM Movie Database
- Batman (1966 film) at the TCM Movie Database
Current URL:
Former URLs:
- http://www.tcm.com/tcmdb/title/title.jsp?stid=68177
- http://tcmdb.com/title/title.jsp?stid=68177
- http://www.tcm.turner.com/title/title.jsp?stid=68177
- http://www.tcm.turner.com/tcmdb/title/title.jsp?stid=68177
No ID in template or Wikidata
Usage:
{{TCMDb title}}
Output:
- {{TCMDb title}} template missing ID and not present in Wikidata.
TemplateData
TemplateData for TCMDb title
This template displays an external link to a web page for a film title at the TCM Movie Database (TCMDb). It is intended for use in the external links section of an article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | id 1 | The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: 26660 is the ID in http://www.tcm.com/tcmdb/title/26660/Screaming-Eagles/. This parameter is optional if Wikidata property P2631 exists, but required if not.
| Number | optional |
Title | title 2 | The "title" parameter (or unnamed parameter "2") may be used to specify the film title, which is displayed in italic type in the link text. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(film)".
| String | optional |
Description | description 3 | The "description" parameter (or unnamed parameter "3") may be used to specify a description of the title, which is displayed after the title in the link text. | String | optional |
See also
Other TCMDb templates:
- {{TCMDb name}}
Similar film title templates:
- {{IMDb title}}
- {{AllMovie title}}
- {{AFI film}}
- {{BFI}}
- {{Rotten Tomatoes}}
- {{Metacritic film}}
- {{Mojo title}}