Plantilla:TCMDb name/doc
This is a documentation subpage for Plantilla:TCMDb name. It may contain usage information, categories and other content that is not part of the original plantilla page. |
This template uses Lua: |
Plantilla: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[editar código]
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[editar código]
- 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[editar código]
Unnamed parameters[editar código]
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[editar código]
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[editar código]
Usage:
{{TCMDb name}}
Output:
- TCMDb name/doc at the TCM Movie DatabaseError de Lua en Módulo:EditAtWikidata en la línea 37: attempt to index field 'wikibase' (a nil value).
TemplateData[editar código]
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.
Parámetro | Descripción | Tipo | Estado | |
---|---|---|---|---|
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.
| Número | opcional |
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)".
| Cadena | opcional |
Tracking categories[editar código]
- 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[editar código]
{{TCMDb title}}
Similar person templates:
{{IMDb name}}
{{AllMovie name}}
{{BFI}}