الگو:TCMDb 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
[ویرایش]- 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 مکانیاب منبع یکسان 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
[ویرایش]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
[ویرایش]الگوداده 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.
پارامتر | توضیحات | نوع | وضعیت | |
---|---|---|---|---|
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.
| شماره | اختیاری |
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)".
| رشته | اختیاری |
Tracking categories
[ویرایش]- رده:Turner Classic Movies person ID not in Wikidata (۰)
- رده:Turner Classic Movies person ID different from Wikidata (۰)
- رده:Turner Classic Movies person ID same as Wikidata (۰)
See also
[ویرایش]- {{TCMDb title}}
Similar person templates:
- {{IMDb name}}
- {{AllMovie name}}
- {{BFI}}
adonna}}</nowiki>
الگوی مرتبط
[ویرایش]- {{Tcmdb title}}