ᱪᱷᱟᱸᱪ:ITF profile/doc

ᱣᱤᱠᱤᱯᱤᱰᱤᱭᱟ, ᱨᱟᱲᱟ ᱜᱮᱭᱟᱱ ᱯᱩᱛᱷᱤ ᱠᱷᱚᱱ

ᱪᱷᱟᱸᱪ: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 (with "id"):

{{ITF profile | id= ID }}
{{ITF profile | id= ID | name= NAME }}

Named parameters (with "number"):

{{ITF profile | number= ID }}
{{ITF profile | number= ID | name= NAME }}

Using Wikidata property P599:

{{ITF profile}}
{{ITF profile | name= NAME }}

Examples[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]

ID in template[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]

Usage in the article Roger Federer, with article name as link text:

* {{ITF profile | 10019424 }}
* {{ITF profile | id= 10019424 }}
* {{ITF profile | number= 10019424 }}

Usage with name parameter as link text:

* {{ITF profile | 10019424 | Roger Federer }}
* {{ITF profile | id= 10019424 | name= Roger Federer }}
* {{ITF profile | number= 10019424 | name= Roger Federer }}

Output:

URL (generated):

https://www.itftennis.com/procircuit/players/player/profile.aspx?playerid=10019424

URL (redirected at website):

https://www.itftennis.com/en/players/roger-federer/800202678/sui/mt/s/overview

ID in Wikidata[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]

Usage in the article Maria Sharapova:

* {{ITF profile}}
* {{ITF profile | name= Maria Sharapova }}

Output:

URL (generated):

https://www.itftennis.com/procircuit/players/player/profile.aspx?playerid=100013223

URL (redirected at website):

https://www.itftennis.com/en/players/maria-sharapova/800229006/rus/wt/s/overview

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 documentation for this template used by VisualEditor and other tools; Italic textsee the monthly error report for this template.

TemplateData for ITF profile

This template 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.

Template parameters

ParameterDescriptionTypeStatus
idid number 1

The "id" parameter (or "number" or unnamed parameter "1") should contain the ID portion of the URL. Example: 10019424 is the ID in https://www.itftennis.com/procircuit/players/player/profile.aspx?playerid=10019424.

Default
Wikidata property P599
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[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]