الگو:Swimrankings
{{{name}}} at Swimrankings.net
![](http://upload.wikimedia.org/wikipedia/commons/thumb/f/ff/Wikidata-logo.svg/40px-Wikidata-logo.svg.png)
![]() | این الگو از لوآ استفاده میکند: |
الگو: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