Jump to content

Template:Wimbledon player/doc

From Wikipedia, the free encyclopedia

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 }}
Using Wikidata property P4503
{{Wimbledon player}}
{{Wimbledon player | 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
URL
https://www.wimbledon.com/en_GB/draws_archive/player_profile/785deb90-2a13-42a0-a12d-112063ee1d3e.html

ID in Wikidata

[edit]
Usage in the article René Lacoste
* {{Wimbledon player}}
* {{Wimbledon player | name= René Lacoste }}
Output
URL
https://www.wimbledon.com/en_GB/draws_archive/player_profile/5663d920-93b7-428b-b67d-41123bd16e89.html

No ID in template or Wikidata

[edit]
Usage
* {{Wimbledon player}}
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:Wimbledon player in articles based on its TemplateData.

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.

Template parameters

ParameterDescriptionTypeStatus
idid 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.

Default
Wikidata property P4503
Stringoptional
namename 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)".

Default
{{PAGENAMEBASE}}
Stringoptional

Templates and modules used

[edit]

See also

[edit]