الگو:IOC profile/توضیحات
این زیرصفحهٔ مستندات الگو:IOC profile است. این شامل اطلاعات استفاده، الگوها، پیوندهای بین زبانی و سایر اطلاعات است که در اصل الگو صفحه قرار نمیگیرد. |
این الگو از یک ویژگی ویکیداده استفاده میکند:
|
این الگو ویژگی ویکیداده را پیگیری میکند: |
این الگو از لوآ استفاده میکند: |
الگو:IOC profile displays an external link to an athlete's profile at Olympic.org, the official website of the کمیته بینالمللی المپیک (IOC). It is intended for use in the ویکیپدیا:پیوند به بیرون section of an article.
Usage[ویرایش]
Unnamed parameters:
{{IOC profile | ID }}
{{IOC profile | ID | NAME }}
Named parameters:
{{IOC profile | id= ID }}
{{IOC profile | id= ID | name= NAME }}
Using ویکیداده property شناسۀ کمیته بینالمللی المپیک (P3171):
{{IOC profile}}
{{IOC profile | name= NAME }}
Examples[ویرایش]
ID in template[ویرایش]
Usage in the article مایکل فلپس, with article name as link text:
{{IOC profile | michael-phelps }}
{{IOC profile | id= michael-phelps }}
Usage with name parameter as link text:
{{IOC profile | michael-phelps | Michael Phelps }}
{{IOC profile | id= michael-phelps | name= Michael Phelps }}
Output:
URL:
ID in Wikidata[ویرایش]
Usage in the article لاریسا لاتینینا:
{{IOC profile}}
{{IOC profile | name= Larisa Latynina }}
Output:
URL:
No ID in template or Wikidata[ویرایش]
Usage:
{{IOC profile}}
Output:
- {{IOC profile}} template missing ID and not present in Wikidata.
TemplateData[ویرایش]
الگوداده IOC profile
This template displays an external link to an athlete's profile at Olympic.org, the official website of the International Olympic Committee (IOC). 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: michael-phelps is the ID portion of https://www.olympic.org/michael-phelps. This parameter is optional if Wikidata property P3171 exists, but required if not.
| رشته | اختیاری |
name | name 2 | The "name" parameter (or unnamed parameter "2") may be used to specify the link text, which should be the name of the athlete. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(athlete)".
| رشته | اختیاری |
Tracking categories[ویرایش]
- "id" parameter exists
- رده:IOC profile template with ID same as Wikidata (۰)
- رده:IOC profile template with ID different from Wikidata (۰)
- رده:IOC profile template with ID not in Wikidata (۰)
- "id" parameter does not exist
- رده:الگو:IOC profile که داده را از ویکیداده میگیرند (۷)
- رده:IOC profile template missing ID and not in Wikidata (۰)
See also[ویرایش]
- {{IPC athlete}} for links to profiles from the کمیته بینالمللی پارا المپیک
- {{AOC profile}} for links to profiles from the Australian Olympic Committee
- {{BOC profile}} for links to profiles from the Brazilian Olympic Committee
- {{CNOSF profile}} for links to profiles from the Comité National Olympique et Sportif Français
- {{COA profile}} for links to profiles from the Comité Olímpico Argentino
- {{COC profile}} for links to profiles from the Canadian Olympic Committee
- {{COE profile}} for links to profiles from the Comité Olímpico Español
- {{CONI profile}} for links to profiles from the Comitato Olimpico Nazionale Italiano
- {{COSR profile}} for links to profiles from the Comitetul Olimpic și Sportiv Român
- {{COV profile}} for links to profiles from the Český olympijský výbor
- {{DOSB profile}} for links to profiles from the Deutscher Olympischer Sportbund
- {{LOK profile}} for links to profiles from the Latvijas Olimpiskā Komiteja
- {{MOB profile}} for links to profiles from the Magyar Olimpiai Bizottság
- {{NZOC profile}} for links to profiles from the New Zealand Olympic Committee
- {{SOK profile}} for links to profiles from the کمیته المپیک سوئد
- {{Team GB}} for links to profiles from Team GB (the British Olympic Association)
- {{USOC profile}} for links to profiles from the کمیته المپیک ایالات متحده
External links[ویرایش]