پرش به محتوا

الگو:Swimrankings

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

{{{name}}} at Swimrankings.net

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

الگو:Swimrankings displays an external link to a swimmer's profile at Swimrankings.net, a website which displays results and data based on information from the European Swimming Federation (Ligue Européenne de Natation or LEN) and the following national swimming federations: Belgium, Canada, Netherlands, Faroe Islands, Poland, Portugal, Slovakia, and Switzerland. It is intended for use in the ویکی‌پدیا:پیوند به بیرون section of an article.

Usage[ویرایش]

Unnamed parameters:

{{Swimrankings | ID }}
{{Swimrankings | ID | NAME }}

Named parameters:

{{Swimrankings | id= ID }}
{{Swimrankings | id= ID | name= NAME }}

Using ویکی‌داده property Swimrankings.net swimmer ID (P2640):

{{Swimrankings}}
{{Swimrankings | name= NAME }}

Examples[ویرایش]

Unnamed parameters[ویرایش]

Usage:

* {{Swimrankings | 4042220 | Janne Schaefer }}

Output:

URL:

https://www.swimrankings.net/index.php?page=athleteDetail&athleteId=4042220

Named parameters[ویرایش]

Usage:

* {{Swimrankings | id= 4065665 | name= Janina-Kristin Goetz }}

Output:

URL:

https://www.swimrankings.net/index.php?page=athleteDetail&athleteId=4065665

No parameters and Wikidata property not defined[ویرایش]

Usage:

* {{Swimrankings}}

Output:

  • {{Swimrankings}} template missing ID and not present in Wikidata.

TemplateData[ویرایش]

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

الگوداده Swimrankings

This template displays an external link to a swimmer's profile at Swimrankings.net, a website which displays results and data based on information from the European Swimming Federation (Ligue Européenne de Natation or LEN) and the following national swimming federations: Belgium, Canada, Netherlands, Faroe Islands, Poland, Portugal, Slovakia, and Switzerland. It is intended for use in the external links section of an article.

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

پارامترتوضیحاتنوعوضعیت
idid 1

The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: 4042220 is the ID portion of https://www.swimrankings.net/index.php?page=athleteDetail&athleteId=4042220. This parameter is optional if Wikidata property P2640 exists, but required if not.

پیش‌فرض
Wikidata property P2640
شمارهاختیاری
namename 2

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

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

Tracking categories[ویرایش]

template with ID
template missing ID