Шаблон:Tcmdb title

С Википедије, слободне енциклопедије

Tcmdb title на сајту TCMDb (језик: енглески)

Документација шаблона[прикажи] [уреди] [историја] [освежи]

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 title}} and {{AllMovie title}}. Turner Classic Movies (TCM) maintains its own comprehensive database of motion picture titles that are not limited to the film libraries that TCM owns, and includes links by which a user can suggest to TCM that they schedule any given title for viewing.

This template is designed for links to film titles; to a link to a person use {{Tcmdb name}} instead.

Usage[уреди извор]

Unnamed parameters:

  • {{Tcmdb title | ID }}
  • {{Tcmdb title | ID | TITLE }}
  • {{Tcmdb title | ID | TITLE | DESCRIPTION }}

Named parameters:

  • {{Tcmdb title | id= ID }}
  • {{Tcmdb title | id= ID | title= TITLE }}
  • {{Tcmdb title | id= ID | title= TITLE | description= DESCRIPTION }}

Instructions[уреди извор]

  1. Visit the TCM Movie Database.
  2. In the keyword search field, type in the title you want to link to, and click "Search."
  3. TCM will show a disambiguation page showing all titles that match your search words. Click on the title you want (make sure you have the correct year of release!).
  4. The page URL should look like this:
    or http://tcmdb.com/title/title.jsp?stid=######
    where "######" indicates a number.
  5. Copy the ID number that appears after /title/ or stid= in the URL listing.
  6. In the article you are editing, type {{Tcmdb title | id= ###### | title= Film Name }}.

Example[уреди извор]

  1. For Screaming Eagles, the TCM Movie Database page URL is:
    or http://tcmdb.com/title/title.jsp?stid=26660
  2. Copy 26660 and add it to this template, i.e.:
    {{Tcmdb title | id= 26660 | title= Screaming Eagles }}
    or {{Tcmdb title | 26660 | Screaming Eagles }}
  3. This will display as:
    Screaming Eagles на сајту TCMDb (језик: енглески)
  4. Use |description= (or an unnamed third parameter) to display text after the film title:
    {{Tcmdb title | id= 26660 | title= Screaming Eagles | description= (1956 film) }}
    or {{Tcmdb title | 26660 | Screaming Eagles | (1956 film) }}
    produces Screaming Eagles (1956 film) на сајту TCMDb (језик: енглески)

Template data[уреди извор]

Ово је TemplateData документација за овај шаблон, коришћена у Визуелном уређивачу и у другим алаткама; погледајте месечни извештај о грешкама за овај шаблон.

TemplateData за Tcmdb title

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

[Уреди податке о шаблону]

Параметри шаблона

IDid 1

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

Titletitle 2

Name of the title. If not specified it defaults to article's {{PAGENAME}}, without any disambiguation such as (film).

Descriptiondescription 3

Description of the title.