Jump to content

ᱪᱷᱟᱸᱪ:WTA/doc

ᱣᱤᱠᱤᱯᱤᱰᱤᱭᱟ, ᱨᱟᱲᱟ ᱜᱮᱭᱟᱱ ᱯᱩᱛᱷᱤ ᱠᱷᱚᱱ

ᱪᱷᱟᱸᱪ: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.

Unnamed parameters:

{{WTA | ID }}
{{WTA | ID | NAME }}

Named parameters:

{{WTA | id= ID }}
{{WTA | id= ID | name= NAME }}

Using Wikidata property P597:

{{WTA}}
{{WTA | name= NAME }}

Usage in the article Mary Pierce, with article name as link text:

* {{WTA | 160142/mary-pierce }}
* {{WTA | id= 160142/mary-pierce }}

Usage with name parameter as link text:

* {{WTA | 160142/mary-pierce | Mary Pierce }}
* {{WTA | id= 160142/mary-pierce | name= Mary Pierce }}

Output:

URLs:

https://www.wtatennis.com/players/160142/mary-pierce (used in template)
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)

Usage in the article Zhang Shuai:

* {{WTA}}
* {{WTA | name= Zhang Shuai }}

Output:

URLs:

https://www.wtatennis.com/players/311779/shuai-zhang (used in template)
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

[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]

Usage:

* {{WTA}}

Output:

  • {{WTA}} template missing ID and not present in Wikidata.
This is the TemplateData documentation for this template used by VisualEditor and other tools; Italic textsee the monthly error report for this template.

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.

Template parameters

ParameterDescriptionTypeStatus
idid 1

The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: 160142/mary-pierce is the ID portion of https://www.wtatennis.com/players/160142/mary-pierce.

Default
Wikidata property P597
Stringoptional
namename 2

The "name" parameter (or unnamed parameter "2") may be used to specify 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
template with ID
template missing ID

Templates and modules used

[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]