Template:Mackolik player displays an external link to an association football (soccer) player's page at Mackolik.com. It is intended for use in the external links section of an article.

Usage edit

Unnamed parameters
{{Mackolik player | ID }}
{{Mackolik player | ID | NAME }}
Named parameters
{{Mackolik player | id= ID }}
{{Mackolik player | old_id= ID }}
{{Mackolik player | new_id= ID }}
{{Mackolik player | id= ID | name= NAME }}
{{Mackolik player | old_id= ID | name= NAME }}
{{Mackolik player | new_id= ID | name= NAME }}
Using Wikidata property
{{Mackolik player}}
{{Mackolik player | name= NAME }}

Examples edit

Unnamed parameters edit

Usage in Rüştü Reçber
* {{Mackolik player | bammccvg88m2siga7d38ad3p }}
* {{Mackolik player | 105 }}
Output
URL with current ID (displays current profile)
https://www.mackolik.com/futbolcu/r-reçber/bammccvg88m2siga7d38ad3p
URL with former ID (redirects to current ID and profile)
http://www.mackolik.com/Futbolcu/105/Rustu-Recber
http://www.mackolik.com/Player/Default.aspx?id=105
URL with former ID (displays former profile)
https://arsiv.mackolik.com/Futbolcu/105/Rustu-Recber
https://arsiv.mackolik.com/Player/Default.aspx?id=105

Named parameters edit

Usage in Arda Turan
* {{Mackolik player | new_id= doiy4u54g1mxykz1z19d6tgwl }}
* {{Mackolik player | old_id= 22834 }}
* {{Mackolik player | new_id= doiy4u54g1mxykz1z19d6tgwl | old_id= 22834 }}
Output
URL with current ID (displays current profile)
https://www.mackolik.com/futbolcu/arda-turan/doiy4u54g1mxykz1z19d6tgwl
URL with former ID (redirects to current ID and profile)
http://www.mackolik.com/Futbolcu/22834/Arda-Turan
http://www.mackolik.com/Player/Default.aspx?id=22834
URL with former ID (displays former profile)
https://arsiv.mackolik.com/Futbolcu/22834/Arda-Turan
https://arsiv.mackolik.com/Player/Default.aspx?id=22834

No parameters and Wikidata property not defined edit

Usage:

* {{Mackolik player}}

Output:

TemplateData edit

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

TemplateData for Mackolik player

This template displays an external link to an association football (soccer) player's page at Mackolik.com. It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
IDid 1

The ID portion of a URL such as https://www.mackolik.com/futbolcu/arda-turan/doiy4u54g1mxykz1z19d6tgwl, https://www.mackolik.com/Futbolcu/22834/Arda-Turan or https://www.mackolik.com/Player/Default.aspx?id=22834. This parameter is optional one of the other ID parameters are used of if Wikidata property P2458 exists.

Stringoptional
New IDnew_id

The ID portion in a URL such as https://www.mackolik.com/futbolcu/arda-turan/doiy4u54g1mxykz1z19d6tgwl. This parameter is optional one of the other ID parameters are used of if Wikidata property P2458 exists.

Stringoptional
Old IDold_id

The ID portion of a URL such as https://arsiv.mackolik.com/Futbolcu/22834/Arda-Turan or https://arsiv.mackolik.com/Player/Default.aspx?id=22834. This parameter is optional one of the other ID parameters are used of if Wikidata property P2458 exists.

Default
Wikidata property P2458
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

See also edit

Other Turkish football templates: