Template:ITF profile
From Wikipedia, the free encyclopedia
{{{name}}} at the International Tennis Federation
This template uses the Wikidata property:
This template uses Lua: |
This template is used on approximately 9,200 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Template:ITF profile displays an external link to a professional tennis player's profile at ITFtennis.com, the official website of the International Tennis Federation (ITF). It is intended for use in the external links section of an article.
Usage
- Unnamed parameters
{{ITF profile | ID }}
{{ITF profile | ID | NAME }}
- Named parameters
{{ITF profile | id= ID }}
{{ITF profile | id= ID | name= NAME }}
Examples
New ID (non-numeric) in template
- Usage in the article Roger Federer, with article name as link text
* {{ITF profile | roger-federer/800202678/sui }}
* {{ITF profile | id= roger-federer/800202678/sui }}
- Usage with name parameter as link text
* {{ITF profile | roger-federer/800202678/sui | Roger Federer }}
* {{ITF profile | id= roger-federer/800202678/sui | name= Roger Federer }}
- Output
New ID (non-numeric) in Wikidata
- Usage in the article Maria Sharapova
* {{ITF profile}}
* {{ITF profile | name= Maria Sharapova }}
- Output
Old ID (numeric) in template
- Usage
* {{ITF profile | 10019424 | Roger Federer }}
* {{ITF profile | id= 10019424 | name= Roger Federer }}
- Output
- {{ITF profile}} template using deprecated numeric ID.
No ID in template or Wikidata
- Usage
* {{ITF profile}}
- Output
- {{ITF profile}} 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:ITF profile in articles based on its TemplateData.
TemplateData for ITF profile
More information Parameter, Description ...
Parameter | Description | Type | Status | |
---|---|---|---|---|
id | id 1 | The ID portion of the URL, such as roger-federer/800202678/sui in https://www.itftennis.com/en/players/roger-federer/800202678/sui or https://www.itftennis.com/en/players/roger-federer/800202678/sui/mt/s/overview/.
| String | optional |
name | name 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)".
| String | optional |
Close
Tracking categories
- template with ID
- Category:ITF template using non-numeric ID (2,266) – current ID and URL
- Category:ITF template using numeric ID (0) – should be empty
- template missing ID
- Category:ITF template using Wikidata property P8618 (6,879) – current ID and URL
- Category:ITF template missing ID and not in Wikidata (0) – should be empty
Templates and modules used
- Template:First word, implemented with Module:String
- Module:EditAtWikidata
See also
- {{ATP}} for a male player's profile at the Association of Tennis Professionals website
- {{WTA}} for a female player's profile at the Women's Tennis Association website
- {{Davis Cup player}} for a male player's profile at the Davis Cup website
- {{Billie Jean King Cup player}} for a female player's profile at the Billie Jean King Cup website
External links
The above documentation is transcluded from Template:ITF profile/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template.
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template.