Plantilla:TCMDb name/doc

De MacphersonWiki
Ir a la navegación Ir a la búsqueda

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]

  1. Visit the TCM Movie Database.
  2. In the keyword search field, type in the name of the person you want to link to, and click "Search."
  3. TCM will show a disambiguation page showing all the names that match your search words. Click on the person's name you want.
  4. 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
  5. Copy the ID number that appears after participantId= or /person/ in the URL.
  6. 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:

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]

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 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ámetros de la plantilla

ParámetroDescripciónTipoEstado
IDid 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.

Predeterminado
Wikidata property P3056
Númeroopcional
Namename 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)".

Predeterminado
{{PAGENAMEBASE}}
Cadenaopcional

Tracking categories[editar código]

See also[editar código]

Similar person templates: