الگو:TV.com movie/توضیحات

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

استفاده[ویرایش]

پارامترهای بدون نام:

{{TV.com movie | ID }}
{{TV.com movie | ID | TITLE }}

پارامترهای دارای نام:

{{TV.com movie | id= ID }}
{{TV.com movie | id= ID | title= TITLE }}

Using Wikidata property شناسۀ تی‌وی.کام (P2638):

{{TV.com movie}}
{{TV.com movie | title= TITLE }}

مثال‌ها[ویرایش]

زمانی که پارامترها، نام مشخص ندارد[ویرایش]

URL:

http://www.tv.com/movies/death-of-a-salesman/

Usage:

* {{TV.com movie | death-of-a-salesman | Death of a Salesman }}

Output:

زمانی که پارامترها، نام مشخص دارد[ویرایش]

URL:

http://www.tv.com/movies/serenity/

Usage:

* {{TV.com movie | id= serenity | title= Serenity }}

Output:

No ID in template or Wikidata[ویرایش]

Usage:

{{TV.com movie}}

Output:

{{TV.com movie}} template missing ID and not present in Wikidata.

TemplateData[ویرایش]

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

الگوداده TV.com movie

This template displays an external link to a movie'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. Example: death-of-a-salesman is the ID in http://www.tv.com/movies/death-of-a-salesman/. This parameter is optional if Wikidata property P2638 exists, but required if not.

پیش‌فرض
Wikidata property P2638
رشتهاختیاری
Titletitle 2

The "title" parameter (or unnamed parameter "2") may be used to specify the movie's name or title, 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}}
رشتهاختیاری

جستارهای وابسته[ویرایش]