Template:TCMDb title/doc

Revision as of 20:06, October 16, 2020 by Johnrdorazio (talk | contribs) (1 revision imported)

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

  1. Visit the TCM Movie Database.
  2. In the keyword search field, type in the title you want to link to, and click "Search."
  3. 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!).
  4. The page URL should look like this:
    http://www.tcm.com/tcmdb/title/title.jsp?stid=######
    or http://www.tcm.com/tcmdb/title/######/Film-Name/
    where "######" indicates a number.
  5. Copy the ID number that appears after stid= or /title/ in the URL.
  6. 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 URLs:

http://www.tcm.com/tcmdb/title/title.jsp?stid=26660
http://www.tcm.com/tcmdb/title/26660/Screaming-Eagles/

Former URLs:

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:

Current URLs:

http://www.tcm.com/tcmdb/title/title.jsp?stid=68177
http://www.tcm.com/tcmdb/title/68177/Batman/

Former URLs:

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

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this 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.

Template parameters

ParameterDescriptionTypeStatus
IDid 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/title.jsp?stid=26660 or http://www.tcm.com/tcmdb/title/26660/Screaming-Eagles/. This parameter is optional if Wikidata property P2631 exists, but required if not.

Default
Wikidata property P2631
Numberoptional
Titletitle 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)".

Default
{{PAGENAMEBASE}}
Stringoptional
Descriptiondescription 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.

Stringoptional

See also

Other TCMDb templates:

Similar film title templates: