Template:World Aquatics displays an external link to an athlete's profile at the official website of World Aquatics, formerly known at the International Swimming Federation or FINA (Fédération Internationale de Natation). World Aquatics currently oversees competition in five aquatic sports: swimming, diving, synchronized swimming, water polo, and open water swimming. The template is intended for use in the external links section of an article.

Usage edit

ID in Wikidata
{{World Aquatics}}
{{World Aquatics | name= NAME }}
ID in template
{{World Aquatics | ID }}
{{World Aquatics | ID | NAME }}
{{World Aquatics | id= ID }}
{{World Aquatics | id= ID | name= NAME }}

Examples edit

ID in Wikidata edit

Usage in the article Cate Campbell
* {{World Aquatics}}
* {{World Aquatics | name= Cate Campbell }}
Output
Current URLs using numeric ID
https://www.worldaquatics.com/athletes/1006057/- (URL in template)
https://www.worldaquatics.com/athletes/1006057/cate-campbell (URL at website)
https://www.fina.org/athletes/1006057/cate-campbell (redirect to URL above)
Former URL using non-numeric ID
https://www.fina.org/athletes/cate-campbell (archived 2021-01-25)

ID in template edit

Usage in the article Michael Phelps, with article name as link text
* {{World Aquatics | id= 1001621 }}
* {{World Aquatics | 1001621/michael-phelps }}
Usage with name parameter as link text
* {{World Aquatics | id= 1001621 | name= Michael Phelps }}
* {{World Aquatics | 1001621/michael-phelps | Michael Phelps }}
Output
Current URLs using numeric ID
https://www.worldaquatics.com/athletes/1001621/- (URL in template)
https://www.worldaquatics.com/athletes/1001621/michael-phelps (URL at website)
https://www.fina.org/athletes/1001621/michael-phelps (redirect to URL above)
Former URL using non-numeric ID
https://www.fina.org/athletes/michael-phelps (archived 2021-01-19)

No ID in template or Wikidata edit

Usage
* {{World Aquatics}}
Output

TemplateData edit

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

TemplateData for World Aquatics

This template displays an external link to an athlete's profile at the official website of World Aquatics, formerly known at the International Swimming Federation or FINA (Fédération Internationale de Natation). World Aquatics currently oversees competition in five aquatic sports: swimming, diving, synchronized swimming, water polo, and open water swimming. The template is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
IDid 1

The ID portion of the URL, such as 1001621 or 1001621/michael-phelps in https://www.worldaquatics.com/athletes/1001621/michael-phelps. This parameter is optional if Wikidata property P3408 exists.

Default
Wikidata property P3408
Stringoptional
Namename 2

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

Default
{{PAGENAMEBASE}}
Stringoptional

Tracking categories edit

template with ID
ID is converted to numeric value before comparison with Wikidata
1001621/michael-phelps → 1001621
1001621 → 1001621
template missing ID
template with unknown parameters

External links edit