Permanently protected template

Template:WTA

From Wikipedia, the free encyclopedia
Jump to: navigation, search

{{{name}}} at the Women's Tennis Association

Template documentation[view] [edit] [history] [purge]

Template:WTA displays an external link to a tennis player's profile at the Women's Tennis Association (WTA) website.

Usage

One parameter:

{{WTA | ID }}
{{WTA | id= ID }}

Two parameters:

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

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools.

See the monthly error report for this template.

TemplateData for WTA

This template displays an external link to a tennis player's profile at the Women's Tennis Association (WTA) website.

Template parameters

Parameter Description Type Status
ID 1id

Player's identification number in the URL. Example: 6297 is the ID number in http://www.wtatennis.com/players/player/6297

Default
Example
empty
Auto value
empty
Number required
Name 2name

Name to be displayed in the link text. If not given it defaults to the Wikipedia article name, without any disambiguation such as (tennis).

Default
{{PAGENAME}}
Example
empty
Auto value
empty
String optional

Examples

One parameter

The following example shows a link to the page for Mary Pierce:

http://www.wtatennis.com/players/player/6297

Usage:

{{WTA | 6297 }}
{{WTA | id= 6297 }}

Results:

WTA at the Women's Tennis Association
WTA at the Women's Tennis Association

Two parameters

The following example shows a link to the page for Shuai Zhang:

http://www.wtatennis.com/players/player/11069

Usage:

{{WTA | 11069 | Shuai Zhang }}
{{WTA | id= 11069 | name= Shuai Zhang }}

Results:

Shuai Zhang at the Women's Tennis Association
Shuai Zhang at the Women's Tennis Association