Template:TFF player/doc

From Wikipedia, the free encyclopedia

Template:TFF player displays an external link to an association football (soccer) player's profile at the official website of the Turkish Football Federation (Türkiye Futbol Federasyonu or TFF), the national sport governing body for association football in Turkey. It is intended for use in the external links section of an article.

Usage[edit]

Unnamed parameters
{{TFF player | ID }}
{{TFF player | ID | NAME }}
Named parameters
{{TFF player | id= ID }}
{{TFF player | id= ID | name= NAME }}
Using Wikidata property
{{TFF player}}
{{TFF player | name= NAME }}

Examples[edit]

Unnamed parameters[edit]

Usage
* {{TFF player | 22411 | Hakan Şükür }}
Output
URLs
https://www.tff.org/Default.aspx?pageId=526&kisiID=22411
https://www.tff.org/Default.aspx?pageId=30&kisiID=22411 (in Turkish)

Named parameters[edit]

Usage
* {{TFF player | id= 664036 | name= Arda Turan }}
Output
URLs
https://www.tff.org/Default.aspx?pageId=526&kisiID=664036
https://www.tff.org/Default.aspx?pageId=30&kisiID=664036 (in Turkish)

No parameters and Wikidata property not defined[edit]

Usage
* {{TFF player}}
Output
  • {{TFF player}} template missing ID and not present in Wikidata.

TemplateData[edit]

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:TFF player in articles based on its TemplateData.

TemplateData for TFF player

This template displays an external link to an association football (soccer) player's profile at the official website of the Turkish Football Federation (Türkiye Futbol Federasyonu or TFF), the national sport governing body for association football in Turkey. It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
idid 1

The ID portion of the URL, such as 22411 in https://www.tff.org/Default.aspx?pageId=526&kisiID=22411 or https://www.tff.org/Default.aspx?pageId=30&kisiID=22411. This parameter is optional if Wikidata property P2448 exists, but required if not.

Default
Wikidata property P2448
Numberoptional
namename 2

The link text, which should be the name of the player. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(footballer)" or "(soccer)".

Default
{{PAGENAMEBASE}}
Stringoptional

Tracking categories[edit]

template with ID
template missing ID

See also[edit]

Other Turkish Football Federation templates:

Other Turkish football templates: