Tɛmplet:WTA/doc
Yi palo
This is a documentation subpage for Tɛmplet:WTA. It contains usage information, categories and other content that is not part of the original tɛmplet page. |
This template uses the Wikidata property:
|
This template tracks the Wikidata property:
|
This template uses Lua: |
This template is used on approximately 3,500 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. |
Tɛmplet:WTA displays an external link to a tennis player's profile at WTAtennis.com, the official website of the Women's Tennis Association (WTA). It is intended for use in the external links section of an article.
Usage
[mali mi di yibu sheena n-niŋ]- Unnamed parameters
{{WTA | ID }}
{{WTA | ID | NAME }}
- Named parameters
{{WTA | id= ID }}
{{WTA | id= ID | name= NAME }}
- Using Wikidata property
{{WTA}}
{{WTA | name= NAME }}
Examples
[mali mi di yibu sheena n-niŋ]ID in template
[mali mi di yibu sheena n-niŋ]- Usage in the article Mary Pierce, with article name as link text
* {{WTA | 160142 }}
- Usage with name parameter as link text
* {{WTA | 160142 | Mary Pierce }}
- Output
- URLs
- https://www.wtatennis.com/players/160142/- (used in template)
- https://www.wtatennis.com/players/160142/mary-pierce (full URL at website)
- http://www.wtatennis.com/players/player/160142/title/mary-pierce (redirect to above)
- http://www.wtatennis.com/player-profile/160142 (dead link)
- http://www.wtatennis.com/players/player/6297 (former ID number, archived 2016-10-06)
ID in Wikidata
[mali mi di yibu sheena n-niŋ]- Usage in the article Zhang Shuai
* {{WTA}}
* {{WTA | name= Zhang Shuai }}
- Output
- URLs
- https://www.wtatennis.com/players/311779/- (used in template)
- https://www.wtatennis.com/players/311779/shuai-zhang (full URL at website)
- http://www.wtatennis.com/players/player/311779/title/Shuai-Zhang-0 (redirect to above)
- http://www.wtatennis.com/player-profile/311779 (dead link)
- http://www.wtatennis.com/players/player/11069 (former ID number, archived 2017-04-24)
No ID in template or Wikidata
[mali mi di yibu sheena n-niŋ]- Usage
* {{WTA}}
- Output
- {{WTA}} template missing ID and not present in Wikidata.
TemplateData
[mali mi di yibu sheena n-niŋ]This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.
TemplateData for WTA
This template displays an external link to a tennis player's profile at WTAtennis.com, the official website of the Women's Tennis Association (WTA). 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 160142 in https://www.wtatennis.com/players/160142/mary-pierce.
| Number | 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 |
Tracking categories
[mali mi di yibu sheena n-niŋ]- template with ID
- Category:WTA template using numeric ID (1)
- Category:WTA template using non-numeric ID (0)
- Category:WTA template with ID different from Wikidata (0)
- Category:WTA template with ID not in Wikidata (0)
- template missing ID
Templates and modules used
[mali mi di yibu sheena n-niŋ]- Template:First word, implemented with Module:String
- Module:EditAtWikidata
- Module:WikidataCheck
See also
[mali mi di yibu sheena n-niŋ]- {{ATP}} – external link to player page at the Association of Tennis Professionals (men)
- {{ITF profile}} – external link to player page at the International Tennis Federation
- {{Billie Jean King Cup player}} – external link to player page at the Billie Jean King Cup (women)
- {{Davis Cup player}} – external link to player page at the Davis Cup (men)