الگو:TV.com name
این الگو از لوآ استفاده میکند: |
الگو:TV.com name displays an external link to a person's web page at تیوی.کام. It is intended for use in the ویکیپدیا:پیوند به بیرون section of an article.
Usage
[ویرایش]Unnamed parameters (for ID and NAME):
{{TV.com name | ID }}
{{TV.com name | ID | NAME }}
Named parameters:
{{TV.com name | id= ID }}
{{TV.com name | id= ID | name= NAME }}
Using ویکیداده property شناسۀ تیوی.کام (P2638):
{{TV.com name}}
{{TV.com name | name= NAME }}
The second parameter ("name") is optional; if it is not specified, the template will use the article's name instead.
This template is for people, which use a URL in the form http://www.tv.com/people/person-name/.
Examples
[ویرایش]Unnamed parameters
[ویرایش]URL:
- http://www.tv.com/people/tom-baker-1/
Usage:
* {{TV.com name | tom-baker-1 | Tom Baker }}
Output:
Named parameters
[ویرایش]URL:
- http://www.tv.com/people/doris-roberts/
Usage:
* {{TV.com name | id= doris-roberts | name= Doris Roberts }}
Output:
No ID in template or Wikidata
[ویرایش]Usage:
* {{TV.com name}}
Output:
- {{TV.com name}} template missing ID and not present in Wikidata.
TemplateData
[ویرایش]الگوداده TV.com name
This template displays an external link to a person's web page at TV.com. It is intended for use in the external links section of an article.
پارامتر | توضیحات | نوع | وضعیت | |
---|---|---|---|---|
ID | id 1 | The "id" parameter (or unnamed parameter "1") may be used to specify the ID portion of the URL. Examples: firefly is the ID in http://www.tv.com/person/tom-baker-1/. This parameter is optional if Wikidata property P2638 exists, but required if not.
| رشته | اختیاری |
Name | name title 2 | The "name" parameter (or "title", or unnamed parameter "2") may be used to specify the person's name, which is displayed in italic type in the link text. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation.
| رشته | اختیاری |
Tracking categories
[ویرایش]- template with ID
- رده:TV.com template with ID different from Wikidata (۰)
- رده:TV.com template with ID not in Wikidata (۰)
- رده:TV.com template using numeric id (۰)
- رده:TV.com template with unexpected input (۰)
- template missing ID
See also
[ویرایش]- {{TV.com anthology}}
- {{TV.com episode}}
- {{TV.com episodes}}
- {{TV.com movie}}
- {{TV.com show}}