Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Usage  





2 Examples  



2.1  ID in template  





2.2  ID in Wikidata  





2.3  No ID in template or Wikidata  







3 TemplateData  





4 Tracking categories  





5 Templates and modules used  





6 See also  





7 External links  














Template:WTA






Alemannisch
العربية
Asturianu
Azərbaycanca
تۆرکجه

Беларуская
Беларуская (тарашкевіца)
Български
Boarisch
Bosanski
Català
Čeština
Deutsch
Español
Esperanto
فارسی
Français
Gaelg

Bahasa Indonesia
Jawa
Kapampangan
Magyar
ि
Македонски


مصرى
Bahasa Melayu
Монгол
Nederlands


Нохчийн
ି
Oʻzbekcha / ўзбекча
Português
Română
Русский

Scots
Simple English
Slovenčina
Slovenščina
Српски / srpski
Srpskohrvatski / српскохрватски
Suomi
Svenska
ி

Türkçe
Українська
اردو
Tiếng Vit
Yorùbá

 

Edit links
 









Template
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 





Permanently protected template

From Wikipedia, the free encyclopedia
 


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
{{WTA}}
{{WTA | name= NAME }}

Examples

ID in template

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

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

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[Edit template data]

ParameterDescriptionTypeStatus
idid 1

The ID number in the URL, such as 160142 in https://www.wtatennis.com/players/160142/mary-pierce.

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

Tracking categories

template with ID
template missing ID

Templates and modules used

See also


Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:WTA&oldid=1167998411"

Categories: 
Templates using data from Wikidata
Templates tracking Wikidata
Lua-based templates
People and person external link templates
Tennis external link templates
External link templates using Wikidata
Hidden categories: 
Wikipedia extended-confirmed-protected templates
Templates using TemplateData
Templates that add a tracking category
 



This page was last edited on 31 July 2023, at 04:23 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki