الگو:Swimrankings/توضیحات
این زیرصفحهٔ مستندات الگو:Swimrankings است. این شامل اطلاعات استفاده، الگوها، پیوندهای بین زبانی و سایر اطلاعات است که در اصل الگو صفحه قرار نمیگیرد. |
این الگو از لوآ استفاده میکند: |
الگو: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:
- Janne Schaefer at Swimrankings.net
URL:
Named parameters
ویرایشUsage:
* {{Swimrankings | id= 4065665 | name= Janina-Kristin Goetz }}
Output:
- Janina-Kristin Goetz at Swimrankings.net
URL:
No parameters and Wikidata property not defined
ویرایشUsage:
* {{Swimrankings}}
Output:
- {{Swimrankings}} template missing ID and not present in Wikidata.
TemplateData
ویرایشالگوداده 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.
پارامتر | توضیحات | نوع | وضعیت | |
---|---|---|---|---|
id | id 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.
| شماره | اختیاری |
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 swimmer. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(swimmer)".
| رشته | اختیاری |
Tracking categories
ویرایش- template with ID
- template missing ID