Template:Wimbledon player/doc
This is a documentation subpage for Template:Wimbledon player. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
Template:Wimbledon player displays an external link to a tennis player's profile at Wimbledon.com, the official website of Wimbledon. It is intended for use in the external links section of an article.
Usage
[edit]- Unnamed parameters
{{Wimbledon player | ID }}
{{Wimbledon player | ID | NAME }}
- Named parameters
{{Wimbledon player | id= ID }}
{{Wimbledon player | id= ID | name= NAME }}
Examples
[edit]ID in template
[edit]- Usage in the article Gabriela Sabatini, with article name as link text
* {{Wimbledon player | 785deb90-2a13-42a0-a12d-112063ee1d3e }}
* {{Wimbledon player | id= 785deb90-2a13-42a0-a12d-112063ee1d3e }}
- Usage with name parameter as link text
* {{Wimbledon player | 785deb90-2a13-42a0-a12d-112063ee1d3e | Gabriela Sabatini }}
* {{Wimbledon player | id= 785deb90-2a13-42a0-a12d-112063ee1d3e | name= Gabriela Sabatini }}
- Output
ID in Wikidata
[edit]- Usage in the article René Lacoste
* {{Wimbledon player}}
* {{Wimbledon player | name= René Lacoste }}
- Output
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 profile at Wimbledon.com, 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 785deb90-2a13-42a0-a12d-112063ee1d3e in https://www.wimbledon.com/en_GB/draws_archive/player_profile/785deb90-2a13-42a0-a12d-112063ee1d3e.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]- Template:First word, implemented with Module:String
- Module:EditAtWikidata
See also
[edit]- {{Davis Cup player}} – external link to player page at the Davis Cup
- {{Fed Cup player}} – external link to player page at the Fed Cup
- {{ITF profile}} – external link to player page at the International Tennis Federation
- {{ATP}} – external link to player page at the Association of Tennis Professionals
- {{WTA}} – external link to player page at the Women's Tennis Association