Template:TCMDb name/doc
This is a documentation subpage for Template:TCMDb name. It contains usage information, categories and other content that is not part of the original template page. |
This template uses the Wikidata property: Lua error in Module:Uses_Wikidata at line 13: attempt to index field 'wikibase' (a nil value). |
This template tracks the Wikidata property: Lua error in Module:Uses_Wikidata at line 13: attempt to index field 'wikibase' (a nil value). |
This template uses Lua: |
Template:TCMDb name 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.
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 a 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 P3056:
{{TCMDb name}}
{{TCMDb name | name= NAME }}
Instructions
- Visit the TCM Movie Database.
- In the keyword search field, type in the name of the person you want to link to, and click "Search."
- TCM will show a disambiguation page showing all the names that match your search words. Click on the person's name you want.
- The page URL should look like this:
http://www.tcm.com/tcmdb/participant/participant.jsp?participantId=#####
- or
http://www.tcm.com/tcmdb/person/#####|nnnnn/First-Last/
- where
#####
indicates the required ID number
- Copy the ID number that appears after
participantId=
or/person/
in the URL. - In the article you are editing, type
{{TCMDb name | id= ##### | name= First Last }}
.
Example
Unnamed parameters
Usage:
* {{TCMDb name | 87065 | Alfred Hitchcock }}
Output:
Current URLs:
- http://www.tcm.com/tcmdb/participant/participant.jsp?participantId=87065
- http://www.tcm.com/tcmdb/person/87065|10493/Alfred-Hitchcock/
Former URLs:
- 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
Named parameters
Usage:
* {{TCMDb name | id= 179897 | name= Maggie Smith }}
Output:
- Maggie Smith at the TCM Movie Database
Current URLs:
- http://www.tcm.com/tcmdb/participant/participant.jsp?participantId=179897
- http://www.tcm.com/tcmdb/person/179897|103986/Maggie-Smith
Former URLs:
- 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
No ID in template or Wikidata
Usage:
{{TCMDb name}}
Output:
- TCMDb name/doc at the TCM Movie DatabaseLua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | id 1 | The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: 87065 is the ID in http://www.tcm.com/tcmdb/participant/participant.jsp?participantId=87065 or http://www.tcm.com/tcmdb/person/87065|10493/Alfred-Hitchcock/. This parameter is optional if Wikidata property P3056 exists, but required if not.
| Number | optional |
Name | name 2 | The "name" parameter (or unnamed parameter "2") may be used to specify 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)".
| String | optional |
Tracking categories
- Category:Turner Classic Movies person ID not in Wikidata (0)
- Category:Turner Classic Movies person ID different from Wikidata (0)
- Category:Turner Classic Movies person ID same as Wikidata (0)
See also
- {{TCMDb title}}
Similar person templates:
- {{IMDb name}}
- {{AllMovie name}}
- {{BFI}}