![]() | This template uses Lua: |
Template:Wimbledon player displays an external link to a tennis player's page in the Draws Archive at the official website of Wimbledon. It is intended for use in the external links section of an article.
Usage
[edit]Omit the ID to use the Wikidata property.
- Article name as link text
{{Wimbledon player | ID }}
{{Wimbledon player | id= ID }}
- Parameter as link text
{{Wimbledon player | ID | NAME }}
{{Wimbledon player | id= ID | name= NAME }}
Examples
[edit]ID in template
[edit]- Usage in the article Barbora Krejčíková, with article name as link text
* {{Wimbledon player | 45a14db7-cdb4-496f-9be9-d32447f7fa69 }}
* {{Wimbledon player | id= 45a14db7-cdb4-496f-9be9-d32447f7fa69 }}
- Usage with name parameter as link text
* {{Wimbledon player | 45a14db7-cdb4-496f-9be9-d32447f7fa69 | Barbora Krejčíková }}
* {{Wimbledon player | id= 45a14db7-cdb4-496f-9be9-d32447f7fa69 | name= Barbora Krejčíková }}
- Output
- Other URLs (different ID)
- https://www.wimbledon.com/en_GB/players/overview/wta318314.html (2024 status page)
- https://www.wimbledon.com/en_GB/players/overview/wta318314/profile.html (2024 profile page)
- https://www.wimbledon.com/en_GB/players/overview/wta318314/statistics.html (2024 statistics page)
ID in Wikidata
[edit]- Usage in the article Carlos Alcaraz
* {{Wimbledon player}}
* {{Wimbledon player | name= Carlos Alcaraz }}
- Output
- Other URLs (different ID)
- https://www.wimbledon.com/en_GB/players/overview/atpa0e2.html (2024 status page)
- https://www.wimbledon.com/en_GB/players/overview/atpa0e2/profile.html (2024 profile page)
- https://www.wimbledon.com/en_GB/players/overview/atpa0e2/statistics.html (2024 statistics page)
No ID in template or Wikidata
[edit]- Usage
* {{Wimbledon player}}
- Output
-
- {{Wimbledon player}} template missing ID and not present in Wikidata.
TemplateData
[edit]TemplateData for Wimbledon player
This template displays an external link to a tennis player's page in the Draws Archive at the official website of Wimbledon. It 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 45a14db7-cdb4-496f-9be9-d32447f7fa69 in https://www.wimbledon.com/en_GB/draws_archive/player_profile/45a14db7-cdb4-496f-9be9-d32447f7fa69.html.
| String | optional |
Name | name 2 | The link text, which should be the name of the tennis player. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(tennis)".
| String | optional |
Templates and modules used
[edit]- {{PAGENAMEBASE}} and {{First word}}, implemented with Module:String
- {{EditAtWikidata}}, implemented with Module:EditAtWikidata
See also
[edit]- {{ATP}} – external link to player page at the Association of Tennis Professionals
- {{WTA}} – external link to player page at the Women's Tennis Association
- {{ITF profile}} – external link to player page at the International Tennis Federation
- {{Davis Cup player}} – external link to player page at the Davis Cup
- {{Billie Jean King Cup player}} – external link to player page at the Billie Jean King Cup