الگو:TCMDb name

از ویکی‌پدیا، دانشنامهٔ آزاد
(تغییرمسیر از الگو:Tcmdb name)

{{{name}}} در تی‌سی‌ام

توضیحات الگو[نمایش] [ویرایش] [تاریخچه] [پاکسازی]

الگو: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 ویکی‌پدیا:پیوند به بیرون section of an article.

تی‌سی‌ام (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 ویکی‌داده property P3056:

{{TCMDb name}}
{{TCMDb name | 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 مکانیاب منبع یکسان 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[ویرایش]

Unnamed parameters[ویرایش]

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[ویرایش]

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[ویرایش]

Usage:

{{TCMDb name}}

Output:

{{الگو:TCMDb name}} template missing ID and not present in Wikidata.

TemplateData[ویرایش]

این، توضیحاتِ الگوداده است که توسط TemplateWizard، ویرایشگر دیداری و دیگر ابزارها استفاده می‌شود. گزارش خطای ماهیانه برای این الگو را ببینید.

الگوداده 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.

پارامترهای الگو[ویرایش داده‌های الگو]

پارامترتوضیحاتنوعوضعیت
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.

پیش‌فرض
Wikidata property P3056
شمارهاختیاری
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)".

پیش‌فرض
{{PAGENAMEBASE}}
رشتهاختیاری

Tracking categories[ویرایش]

See also[ویرایش]

Similar person templates:

adonna}}</nowiki>

الگوی مرتبط[ویرایش]