![]() | This is the template sandbox page for Template:World Rowing (diff). See also the companion subpage for test cases. |
![]() | This template is used on approximately 2,300 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
![](http://upload.wikimedia.org/wikipedia/commons/thumb/f/ff/Wikidata-logo.svg/40px-Wikidata-logo.svg.png)
World Rowing ID (P2091) (see uses)
![]() | This template uses Lua: |
Template:World Rowing displays an external link to a rower's profile at WorldRowing.com, the official website of World Rowing (formerly known as FISA: Fédération Internationale des Sociétés d'Aviron). It is intended for use in the external links section of an article.
Usage
editUnnamed parameters:
{{World Rowing | ID }}
{{World Rowing | ID | NAME }}
Named parameters:
{{World Rowing | id= ID }}
{{World Rowing | id= ID | name= NAME }}
Using Wikidata property P2091:
{{World Rowing}}
{{World Rowing | name= NAME }}
Examples
editNumeric ID in template
editUsage in the article Hamish Bond, with article name as link text:
* {{World Rowing | 20096 }}
* {{World Rowing | id= 20096 }}
Usage with name parameter as link text:
* {{World Rowing | 20096 | Hamish Bond }}
* {{World Rowing | id= 20096 | name= Hamish Bond }}
Output:
- Current URLs
- https://worldrowing.com/athlete/20096
- https://worldrowing.com/athlete/hamish-bond?id=20096
- Former URLs
- https://worldrowing.com/athlete/bcb7936e-9f2e-4319-9c96-022fee09144a (archived 2021-01-09)
- http://www.worldrowing.com/athletes/athlete/20096/ (archived 2020-10-08)
- http://www.rowingone.com/n_bio_rower.fwx?no_id=20096 (archived 2013-08-30)
Numeric ID in Wikidata
editUsage in the article Helen Glover (rower):
* {{World Rowing}}
* {{World Rowing | name= Helen Glover }}
Output:
- Current URLs
- https://worldrowing.com/athlete/38081
- https://worldrowing.com/athlete/helen-glover?id=38081
- Former URLs
- https://worldrowing.com/athlete/92b90b87-d2a8-4d88-8ecf-c4a7a3e1f168 (archived 2021-01-09)
- http://www.worldrowing.com/athletes/athlete/38081/ (archived 2019-04-02)
- http://www.rowingone.com/n_bio_rower.fwx?no_id=38081 (archived 2013-10-04)
No ID in template or Wikidata
editUsage:
* {{World Rowing}}
Output:
- {{World Rowing}} template missing ID and not present in Wikidata.
TemplateData
editTemplateData for World Rowing
This template displays an external link to a rower's profile at WorldRowing.com, the official website of World Rowing (formerly known as FISA: Fédération Internationale des Sociétés d'Aviron). It is intended for use in the external links section of an article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
id | id 1 | The ID number in the URL, such as 20096 in https://worldrowing.com/athlete/20096. This parameter is optional if Wikidata property P2091 exists, but required if not.
| Number | optional |
name | name 2 | The link text, which should be the name of the rower. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(rower)".
| String | optional |
Tracking categories
edit- template with ID
- Category:World Rowing template using numeric ID (1,621) – current ID
- Category:World Rowing template using non-numeric ID (0) – should be empty
- template missing ID
- Category:World Rowing template using Wikidata property P2091 (649) – current ID
- Category:World Rowing template missing ID and not in Wikidata (0) – should be empty
Templates and modules used
edit- Template:First word, implemented with Module:String
- Module:EditAtWikidata