ढाँचा:Tcmdb name/doc

स्वतन्त्र विश्वकोश, नेपाली विकिपिडियाबाट
Jump to navigation Jump to search

This template is used to generate an external link to a web page at the TCM Movie Database. It is based on the templates {{IMDb name}} and {{AllMovie name}}. 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 }}

Instructions[सम्पादन गर्ने]

  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/person/#####|nnnnn/First-Last/
    or http://tcmdb.com/participant/participant.jsp?participantId=#####
    where ##### indicates the required ID number
  5. Copy the ID number that appears after /person/ or participantId= in the URL.
  6. In the article you are editing, type {{Tcmdb name | id= ##### | name= First Last }}.

Example[सम्पादन गर्ने]

  1. For Alfred Hitchcock, the TCM Movie Database page URL is:
    http://www.tcm.com/tcmdb/person/87065|10493/Alfred-Hitchcock/
    or http://tcmdb.com/participant/participant.jsp?participantId=87065
  2. Copy 87065 and add it to this template, i.e.:
    {{Tcmdb name | id= 87065 | name= Alfred Hitchcock }}
    or {{Tcmdb name | 87065 | Alfred Hitchcock }}
  3. This will display as:
    87065 Alfred Hitchcock टिसिएम चलचित्र डेटाबेसमा

Template data[सम्पादन गर्ने]

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly error report for this template.

TemplateData for Tcmdb name

This template is used to generate an external link to a web page at the TCM (Turner Classic Movies) Movie Database.

Template parameters

Parameterविवरणप्रकारस्थिति
IDid 1

ID number used in the URL of the person's page at the TCM Movie Database.

Numberrequired
Namename 2

Name of the person which is displayed as the link text. If not specified it defaults to article's {{PAGENAME}}, without any disambiguation such as (actor) or (director).

Stringवैकल्पिक