Template:ITF profile

From blackwiki
Jump to navigation Jump to search

{{{name}}} at the International Tennis Federation

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

Template:Uses Wikidata Template:Uses Wikidata Lua error in Module:Lua_banner at line 113: attempt to index field 'edit' (a nil value).

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:

Template:Tlcw
Template:Tlcw

Named parameters:

Template:Tlcw
Template:Tlcw

Using Wikidata property P8618 or P599:

Template:Tlcw
Template:Tlcw

Examples

ID in template

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

Template:Tlcw
Template:Tlcw

Usage with name parameter as link text:

Template:Tlcw
Template:Tlcw

Output:

URL (new ID):

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

URL (old ID):

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

ID in Wikidata

Usage in the article Maria Sharapova:

Template:Tlcw
Template:Tlcw

Output:

URL (new ID):

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

URL (old ID):

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

No ID in template or Wikidata

Usage:

Template:Tlcw

Output:

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage 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 1

The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: roger-federer/800202678/sui is the ID 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/.

Default
Wikidata property P8618
Stringoptional
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

External links