Template:WTA/doc

Template: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 intend

Template:WTA/doc

Template: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

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 }}

Examples

ID in template

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

* {{WTA | 160142 }}
* {{WTA | id= 160142 }}

Usage with name parameter as link text:

* {{WTA | 160142 | Mary Pierce }}
* {{WTA | id= 160142 | name= Mary Pierce }}

Output:

URLs:

http://www.wtatennis.com/player-profile/160142 (used in template)
http://www.wtatennis.com/players/player/160142/title/mary-pierce (redirect from above)
http://www.wtatennis.com/players/player/6297 (former ID number, archived 2016-10-06)

ID in Wikidata

Usage in the article Zhang Shuai:

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

Output:

URLs:

http://www.wtatennis.com/player-profile/311779 (used in template)
http://www.wtatennis.com/players/player/311779/title/Shuai-Zhang-0 (redirect from above)
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.

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:WTA in articles based on its 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.

Template parameters

ParameterDescriptionTypeStatus
idid 1

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

Default
Wikidata property P597
Numberoptional
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

Tracking categories

template with ID
template missing ID

Templates and modules used

See also


Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.