Template:TFF player/doc

< Template:TFF player

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

Unnamed parameters:

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

Named parameters:

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

Using Wikidata property (P2448):

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

Examples

Unnamed parameters

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

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

Usage:

* {{TFF player}}

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 TFF player

<templatedata> {

 "description": "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.",
 "params": {
   "id": {
     "label": "id",
     "aliases": ["1"], 
     "description": "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.",
     "type": "number",
     "required": false,
     "default": "Wikidata property P2448"
   },
   "name": {
     "label": "name",
     "aliases": ["2"], 
     "description": "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)\".",
     "type": "string",
     "required": false,
     "default": "TFF player/doc"
    }
 },
 "paramOrder": [
   "id",
   "name"
 ]

} </templatedata>

Tracking categories

template with ID
template missing ID