Template:TCMDb title/doc
This is a documentation subpage for Template:TCMDb title. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 14,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 link to a person use {{TCMDb name}} instead.
Usage
[edit]- 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
[edit]- 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
/title/
in the URL. - In the article you are editing, type
{{TCMDb title | id= ###### | title= Film Name }}
.
Examples
[edit]Unnamed parameters
[edit]- Usage
* {{TCMDb title | 26660 | Screaming Eagles }}
* {{TCMDb title | 26660 | Screaming Eagles | (1956 film) }}
- Output
- Current URLs
- https://www.tcm.com/tcmdb/title/26660/screaming-eagles
- https://www.tcm.com/tcmdb/title/26660/Screaming-Eagles/ (redirect)
- https://www.tcm.com/tcmdb/title/26660/- (redirect)
- 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
[edit]- 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 URLs
- https://www.tcm.com/tcmdb/title/68177/batman
- https://www.tcm.com/tcmdb/title/68177/Batman/ (redirect)
- https://www.tcm.com/tcmdb/title/68177/- (redirect)
- 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
[edit]- Usage
{{TCMDb title}}
- Output
- {{TCMDb title}} template missing ID and not present in Wikidata.
TemplateData
[edit]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 portion of the URL, such as 26660 in https://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 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 | May be used to specify a description of the title, which is displayed after the title in the link text. | String | optional |
See also
[edit]Other TCMDb templates:
- {{TCMDb name}}
Similar film title templates:
- {{IMDb title}}
- {{AllMovie title}}
- {{AFI film}}
- {{Rotten Tomatoes}}
- {{Metacritic film}}
- {{Mojo title}}