Template:TFF player/doc

From Simple English 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[change source]

Unnamed parameters:

{{TFF player | ID }}
{{TFF player | ID | NAME }}

Named parameters:

{{TFF player | id= ID }}
{{TFF player | id= ID | name= NAME }}

Using Wikidata property Turkish Football Federation player ID (P2448):

{{TFF player}}
{{TFF player | name= NAME }}

Examples[change source]

Unnamed parameters[change source]

Usage:

* {{TFF player | 22411 | Hakan Şükür }}

Output:

URLs:

http://www.tff.org/Default.aspx?pageId=526&kisiID=22411
http://www.tff.org/Default.aspx?pageId=30&kisiID=22411 (in Turkish)

Named parameters[change source]

Usage:

* {{TFF player | id= 664036 | name= Arda Turan }}

Output:

URL:

http://www.tff.org/Default.aspx?pageId=526&kisiID=664036
http://www.tff.org/Default.aspx?pageId=30&kisiID=664036 (in Turkish)

No parameters and Wikidata property not defined[change source]

Usage:

* {{TFF player}}

Output:

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

TemplateData[change source]

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" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: 22411 is the ID portion of http://www.tff.org/Default.aspx?pageId=526&kisiID=22411 or http://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 "name" parameter (or unnamed parameter "2") may be used to specify 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[change source]

template with ID
template missing ID