Template:World Aquatics
This template uses Lua: |
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
- 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
ID in Wikidata
- 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
- 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
- Usage
* {{World Aquatics}}
- Output
-
- {{World Aquatics}} template missing ID and not present in Wikidata.
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | id 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.
| String | optional |
Name | name 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)".
| String | optional |
Tracking categories
- template with ID
- ID is converted to numeric value before comparison with Wikidata
- 1001621/michael-phelps → 1001621
- 1001621 → 1001621
- Category:World Aquatics template with ID different from Wikidata (0)
- Category:World Aquatics template with ID not in Wikidata (1)
- template missing ID
- template with unknown parameters