Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Template:TCMDb name

Permanently protected template
From Wikipedia, the free encyclopedia

{{{name}}} at theTCM Movie Database

Template documentation[view] [edit] [history] [purge]
WarningThis template is used onapproximately 2,700 pages and changes may be widely noticed. Test changes in the template's/sandbox or/testcases subpages, or in your ownuser subpage. Consider discussing changes on thetalk page before implementing them.
This templatetracks and usesWikidata property:
This template usesLua:

Template:TCMDb name displays an external link to a web page for a person at theTCM Movie Database (TCMDb). It is intended for use in theexternal links section of an article.

Turner Classic Movies (TCM) maintains its own comprehensive database of motion pictures, actors, actresses, and film crew.

This template is designed for a link to a person; to link to a film title use{{TCMDb title}} instead.

Usage

Unnamed parameters
{{TCMDb name |ID }}
{{TCMDb name |ID |NAME }}
Named parameters
{{TCMDb name |id=ID }}
{{TCMDb name |id=ID |name=NAME }}
Using Wikidata property
{{TCMDb name}}
{{TCMDb name |name=NAME }}

Example

New ID (non-numeric) via unnamed parameters

URLs
https://www.tcm.com/tcmdb/person/87065|10493/Alfred-Hitchcock/
https://www.tcm.com/tcmdb/person/87065%7C10493/Alfred-Hitchcock/
https://www.tcm.com/tcmdb/person/87065%257C10493/Alfred-Hitchcock/
Usage
* {{TCMDb name |87065{{!}}10493 |Alfred Hitchcock}}
* {{TCMDb name |87065%7C10493 |Alfred Hitchcock}}
* {{TCMDb name |87065%257C10493 |Alfred Hitchcock}}
Output
Former URLs
http://www.tcm.com/legacy/redirect/person.html?participantId=87065 (archive)
http://www.tcm.com/tcmdb/participant/participant.jsp?participantId=87065
http://tcmdb.com/participant/participant.jsp?participantId=87065
http://www.tcm.turner.com/participant/participant.jsp?participantId=87065
http://www.tcm.turner.com/tcmdb/participant/participant.jsp?participantId=87065

New ID (non-numeric) via named parameters

URLs
https://www.tcm.com/tcmdb/person/179897|103986/Maggie-Smith/
https://www.tcm.com/tcmdb/person/179897%7C103986/Maggie-Smith/
https://www.tcm.com/tcmdb/person/179897%257C103986/Maggie-Smith/
Usage
* {{TCMDb name |id=179897{{!}}103986 |name=Maggie Smith}}
* {{TCMDb name |id=179897%7C103986 |name=Maggie Smith}}
* {{TCMDb name |id=179897%257C103986 |name=Maggie Smith}}
Output
Former URLs
http://www.tcm.com/legacy/redirect/person.html?participantId=179897
http://www.tcm.com/tcmdb/participant/participant.jsp?participantId=179897
http://tcmdb.com/participant/participant.jsp?participantId=179897
http://www.tcm.turner.com/participant/participant.jsp?participantId=179897
http://www.tcm.turner.com/tcmdb/participant/participant.jsp?participantId=179897

Old ID (numeric) in template

Usage
* {{TCMDb name |87065 |Alfred Hitchcock}}
* {{TCMDb name |id=179897 |name=Maggie Smith}}
Output

No ID in template or Wikidata

Usage
{{TCMDb name}}
Output
{{TCMDb name}} template missing ID and not present in Wikidata.

TemplateData

This is theTemplateData for this template used byTemplateWizard,VisualEditor and other tools.See a monthly parameter usage report forTemplate:TCMDb name in articles based on its TemplateData.

TemplateData for TCMDb name

This template displays an external link to a web page for a person at the TCM Movie Database (TCMDb). It is intended for use in the external links section of an article.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
IDid1

The ID portion of the URL, such as 87065|10493 in https://www.tcm.com/tcmdb/person/87065|10493/Alfred-Hitchcock/, 87065%7C10493 in https://www.tcm.com/tcmdb/person/87065%7C10493/Alfred-Hitchcock/, and 87065%257C10493 in https://www.tcm.com/tcmdb/person/87065%257C10493/Alfred-Hitchcock/. This parameter is optional if Wikidata property P3056 exists, but required if not.

Default
Wikidata property P3056
Stringoptional
Namename2

The name of the person, which is displayed as the link text. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(actor)" or "(director)".

Default
{{PAGENAMEBASE}}
Stringoptional

Tracking categories

ID in template

ID in Wikidata

See also

Other TCMDb templates

Other file person templates

The abovedocumentation istranscluded fromTemplate:TCMDb name/doc.(edit |history)
Editors can experiment in this template'ssandbox(edit |diff) andtestcases(edit) pages.
Add categories to the/doc subpage.Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:TCMDb_name&oldid=1332974443"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp