Template:TCMDb name: Difference between revisions
en>Zyxw m (add archived link for non-working numeric IDs) |
m (1 revision imported) |
(No difference)
|
Revision as of 13:23, 20 July 2022
{{{name}}} at the TCM Movie Database
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 }}
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
-
- Alfred Hitchcock at the TCM Movie Database
- Alfred Hitchcock at the TCM Movie Database
- Alfred Hitchcock at the TCM Movie Database
- 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
-
- Maggie Smith at the TCM Movie Database
- Maggie Smith at the TCM Movie Database
- Maggie Smith at the TCM Movie Database
- 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
-
- Alfred Hitchcock at the TCM Movie Database
- Maggie Smith at the TCM Movie Database
No ID in template or Wikidata
- Usage
{{TCMDb name}}
- Output
- TCMDb name at the TCM Movie Database
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|10493 is the ID in https://www.tcm.com/tcmdb/person/87065|10493/Alfred-Hitchcock/, 87065%7C10493 is the ID in https://www.tcm.com/tcmdb/person/87065%7C10493/Alfred-Hitchcock/, and 87065%257C10493 is the ID in https://www.tcm.com/tcmdb/person/87065%257C10493/Alfred-Hitchcock/. This parameter is optional if Wikidata property P3056 exists, but required if not.
| String | 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
- ID in template
- Category:TCMDb name template using non-numeric ID (2) – current ID and URL
- Category:TCMDb name template using numeric ID (15) – should be empty
- ID in Wikidata
- Category:TCMDb name template using non-numeric ID from Wikidata (12) – current ID and URL
- Category:TCMDb name template using numeric ID from Wikidata (0) – should be empty
See also
- {{TCMDb title}}
Similar person templates:
- {{IMDb name}}
- {{AllMovie name}}
- {{BFI}}
- Pages with script errors
- Templates using data from Wikidata
- Templates tracking Wikidata
- Lua-based templates
- Templates using TemplateData
- Film external link templates
- Television external link templates
- People and person external link templates
- External link templates using Wikidata
- Templates that add a tracking category