Predefinição:WTA
{{{name}}} na Associação de Tênis Feminino
![]() |
Esta predefinição utiliza a propriedade:
Wikidata |
Esta predefinição monitora a propriedade: Wikidata |
![]() | Esta predefinição usa Lua: |
Predefinição: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[editar código-fonte]
Unnamed parameters:
{{WTA | ID }}
{{WTA | ID | NAME }}
Named parameters:
{{WTA | id= ID }}
{{WTA | id= ID | name= NAME }}
{{WTA}}
{{WTA | name= NAME }}
Examples[editar código-fonte]
ID in template[editar código-fonte]
Usage in the article Mary Pierce, with article name as link text:
* {{WTA | 160142 }}
* {{WTA | id= 160142/mary-pierce }}
Usage with name parameter as link text:
* {{WTA | 160142 | Mary Pierce }}
* {{WTA | id= 160142/mary-pierce | name= Mary Pierce }}
Output:
URLs:
- https://www.wtatennis.com/players/Predefinição:Hilite/name (used in template for numeric ID)
- https://www.wtatennis.com/players/Predefinição:Hilite (used in template for non-numeric ID)
- http://www.wtatennis.com/players/player/Predefinição:Hilite/title/mary-pierce (redirect to above)
- http://www.wtatennis.com/player-profile/Predefinição:Hilite (dead link)
- http://www.wtatennis.com/players/player/Predefinição:Hilite (former ID number, archived 2016-10-06)
ID in Wikidata[editar código-fonte]
Usage in the article Zhang Shuai:
* {{WTA}}
* {{WTA | name= Zhang Shuai }}
Output:
URLs:
- https://www.wtatennis.com/players/Predefinição:Hilite (used in template)
- http://www.wtatennis.com/players/player/Predefinição:Hilite/title/Shuai-Zhang-0 (redirect to above)
- http://www.wtatennis.com/player-profile/Predefinição:Hilite (dead link)
- http://www.wtatennis.com/players/player/Predefinição:Hilite (former ID number, archived 2017-04-24)
No ID in template or Wikidata[editar código-fonte]
Usage:
* {{WTA}}
Output:
- {{WTA}} template missing ID and not present in Wikidata.
TemplateData[editar código-fonte]
Cabeçalho de TemplateData
As informações a seguir (editar) são definidas com TemplateData. Isso possibilita o seu uso pelo Editor Visual e por outras ferramentas. Predefinição:WTA/dados
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.
Parâmetro | Descrição | Tipo | Estado | |
---|---|---|---|---|
id | id 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.
| String | opcional |
name | name 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)".
| String | opcional |
Tracking categories[editar código-fonte]
- template with ID
- Categoria:WTA template using numeric ID (44)
- Categoria:WTA template with ID different from Wikidata (0)
- Categoria:WTA template with ID not in Wikidata (0)
- template missing ID
Templates and modules used[editar código-fonte]
- Template:First word, implemented with Module:String
- Module:EditAtWikidata
- Module:WikidataCheck
See also[editar código-fonte]
{{ATP}}
{{ITF profile}}
{{Fed Cup player}}
A documentação acima é transcluída de Predefinição:WTA/doc. (editar | histórico) Editores podem experimentar nas páginas de teste (criar | espelhar) e de exemplos para testes (criar) desta predefinição. Por favor adicione categorias à subpágina /doc. Subpáginas desta predefinição. |