الگو:TV.com name

از ویکی‌پدیا، دانشنامهٔ آزاد

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

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

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

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

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

پیش‌فرض
Wikidata property P2638
رشتهاختیاری
Namename 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.

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

Tracking categories[ویرایش]

template with ID
template missing ID

See also[ویرایش]