پرش به محتوا

الگو:پروفایل المپیک.کام

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

{{{name}}} در کمیته بین‌المللی المپیک

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

الگو:پروفایل المپیک.کام displays an external link to an ورزشکار's profile at Olympics.com, an official website of the کمیته بین‌المللی المپیک. It is intended for use in the external links section of an article.

استفاده

[ویرایش]
Unnamed parameters
{{پروفایل المپیک.کام | ID }}
{{پروفایل المپیک.کام | ID | NAME }}
Named parameters
{{پروفایل المپیک.کام | id= ID }}
{{پروفایل المپیک.کام | id= ID | name= NAME }}
{{پروفایل المپیک.کام | id= ID | name= NAME | org_id= ID }}
Using ویکی‌داده property شناسۀ کانال المپیک (P5815)
{{پروفایل المپیک.کام}}
{{پروفایل المپیک.کام | name= NAME }}

نمونه‌ها

[ویرایش]

ID in template (same as Olympic.org ID)

[ویرایش]
Usage in the article کیتی لدکی، with Olympics.com link
{{پروفایل المپیک.کام | کیتی لدکی }}
adding archived OlympicChannel.com link via |oc_archive=
{{پروفایل المپیک.کام | katie-ledecky | oc_archive= 20201201091535 }}
adding archived Olympic.org link via |org_archive=
{{پروفایل المپیک.کام | katie-ledecky | org_archive= 20201204052403 }}
adding both archived links
{{پروفایل المپیک.کام | katie-ledecky | oc_archive= 20201201091535 | org_archive= 20201204052403 }}
URLs
https://olympics.com/en/athletes/katie-ledecky
https://web.archive.org/web/20201201091535/https://www.olympicchannel.com/en/athletes/detail/katie-ledecky/
https://web.archive.org/web/20201204052403/https://www.olympic.org/katie-ledecky

ID in template (different from Olympic.org ID)

[ویرایش]
Usage in the article مایکل فلپس، with Olympics.com link
{{Olympics.com|michael-phelps-ii}}
adding archived OlympicChannel.com link via |oc_archive=
{{Olympics.com|michael-phelps-ii|oc_archive=20210227131142}}
adding archived Olympic.org link via |org_archive= and |org_id=
{{Olympics.com|michael-phelps-ii|org_archive=20210422191931|org_id=michael-phelps}}
adding both archived links
{{Olympics.com|michael-phelps-ii|oc_archive=20210227131142|org_archive=20210422191931|org_id=michael-phelps}}
URLs
https://olympics.com/en/athletes/michael-phelps-ii
https://web.archive.org/web/20210227131142/https://www.olympicchannel.com/en/athletes/detail/michael-phelps-ii/
https://web.archive.org/web/20210422191931/https://www.olympic.org/michael-phelps

ID in Wikidata

[ویرایش]
Usage in the article Patrick Stevens, with Olympics.com link via شناسۀ کانال المپیک (P5815)
{{پروفایل المپیک.کام}}
adding archived OlympicChannel.com link via شناسۀ کانال المپیک (P5815) and |oc_archive=
{{پروفایل المپیک.کام | oc_archive= 20191213060304 }}
adding archived Olympic.org link via شناسه ورزشکار در Olympic.org (بایگانی شده) (P3171) and |org_archive=
{{پروفایل المپیک.کام | org_archive= 20190811030059 }}
adding both archived links
{{پروفایل المپیک.کام | oc_archive= 20191213060304 | org_archive= 20190811030059 }}
URLs
https://olympics.com/en/athletes/patrick-stevens-1
https://web.archive.org/web/20191213060304/https://www.olympicchannel.com/en/athletes/detail/patrick-stevens-1/
https://web.archive.org/web/20190811030059/https://www.olympic.org/patrick-stevens

Different name at OlympicChannel.com

[ویرایش]
Usage in the article پل برت ایلوستروم، with ID in template
* {{Olympics.com profile|id=paul-elvstrom |oc_archive=20200926062644 |oc_name=Paul Elvstrom}}
Usage in the article پل برت ایلوستروم، with ID in Wikidata
* {{Olympics.com profile|oc_archive=20200926062644 |oc_name=Paul Elvstrom}}

Different name at Olympic.org

[ویرایش]
Usage in the article بوریه لیاندر، with both IDs in template
* {{Olympics.com profile|id=barje-leander |name=Barje Leander |org_archive=20200814063101 |org_id=borje-leander |org_name=Börje Leander}}
Usage in the article بوریه لیاندر، with both IDs in Wikidata
* {{Olympics.com profile|name=Barje Leander |org_archive=20200814063101 |org_name=Börje Leander}}

No ID in template or Wikidata

[ویرایش]
Usage
{{پروفایل المپیک.کام}}
Output

TemplateData

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

الگوداده پروفایل المپیک.کام

This template displays an external link to an athlete's profile at Olympics.com, an official website of the International Olympic Committee. It is intended for use in the external links section of an article.

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

پارامترتوضیحاتنوعوضعیت
Olympics.com and OlympicChannel.com IDid 1

The "id" parameter (or unnamed parameter "1") should contain the ID portion of the Olympics.com URL. This parameter is optional if Wikidata property P5815 exists, but required if not.

پیش‌فرض
Wikidata property P5815
مثال
michael-phelps-ii
رشتهاختیاری
Olympics.com namename 2

The "name" parameter (or unnamed parameter "2") may be used to specify the link text, which should be the name of the athlete as shown at Olympics.com. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(athlete)".

پیش‌فرض
{{PAGENAMEBASE}}
مثال
Michael Phelps
رشتهاختیاری
OlympicChannel.com archiveoc_archive

The "org_archive" parameter may be used to add an archived link for the athlete's OlympicChannel.com page (see examples). It should contain a number representing the date/time in an Internet Archive URL.

مثال
20210227131142
شمارهاختیاری
OlympicChannel.com nameoc_name

The "oc_name" parameter may be used to specify different link text for the archived OlympicChannel.com link. This parameter is optional; the first default is the "name" parameter; the second default is the Wikipedia article name, without disambiguation.

پیش‌فرض
"name" parameter or {{PAGENAMEBASE}}
رشتهاختیاری
Olympic.org archive org_archive

The "org_archive" parameter may be used to add an archived link for the athlete's Olympic.org page (see examples). It should contain a number representing the date/time in an Internet Archive URL.

مثال
20210422191931
شمارهاختیاری
Olympic.org IDorg_id

The "org_id" parameter may be used to specify a different ID for the archived Olympic.org link. This parameter is optional; it defaults to either the "id" parameter or Wikidata property P3171.

پیش‌فرض
"id" parameter or Wikidata property P3171
مثال
michael-phelps
رشتهاختیاری
Olympic.org nameorg_name

The "org_name" parameter may be used to specify different link text for the archived Olympic.org link. This parameter is optional; the first default is the "name" parameter; the second default is the Wikipedia article name, without disambiguation.

پیش‌فرض
"name" parameter or {{PAGENAMEBASE}}
رشتهاختیاری

Tracking categories

[ویرایش]

جستارهای وابسته

[ویرایش]

پیوند به بیرون

[ویرایش]