Template: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 external links section of an article.

Usage edit

Unnamed parameters
{{Swimrankings | ID }}
{{Swimrankings | ID | NAME }}
Named parameters
{{Swimrankings | id= ID }}
{{Swimrankings | id= ID | name= NAME }}
Using Wikidata property
{{Swimrankings}}
{{Swimrankings | name= NAME }}

Examples edit

Unnamed parameters edit

Usage
* {{Swimrankings | 4042220 | Janne Schaefer }}
Output
URL
https://www.swimrankings.net/index.php?page=athleteDetail&athleteId=4042220

Named parameters edit

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 edit

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

TemplateData edit

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Swimrankings in articles based on its TemplateData.

TemplateData for 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.

Template parameters

ParameterDescriptionTypeStatus
idid 1

The ID number in the URL, such as 4042220 in https://www.swimrankings.net/index.php?page=athleteDetail&athleteId=4042220. This parameter is optional if Wikidata property P2640 exists, but required if not.

Default
Wikidata property P2640
Numberoptional
namename 2

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)".

Default
{{PAGENAMEBASE}}
Stringoptional

Tracking categories edit

External links edit