Template:Mackolik player/doc
This is a documentation subpage for Template:Mackolik player. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
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
changeUnnamed parameters:
{{Mackolik player | ID }}
{{Mackolik player | ID | NAME }}
Named parameters:
{{Mackolik player | id= ID }}
{{Mackolik player | id= ID | name= NAME }}
Using Wikidata property Mackolik.com player ID (P2458):
{{Mackolik player}}
{{Mackolik player | name= NAME }}
Examples
changeUnnamed parameters
changeUsage:
* {{Mackolik player | bammccvg88m2siga7d38ad3p | Rüştü Reçber }}
* {{Mackolik player | 105 | Rüştü Reçber }}
Output:
- Rüştü Reçber at Mackolik.com (in Turkish)
- Rüştü Reçber at Mackolik.com (in Turkish)
Current URL:
Former URLs (redirect to current URL):
- http://www.mackolik.com/Futbolcu/105/Rustu-Recber
- http://www.mackolik.com/Player/Default.aspx?id=105
Named parameters
changeUsage:
* {{Mackolik player | id= doiy4u54g1mxykz1z19d6tgwl | name= Arda Turan }}
* {{Mackolik player | id= 22834 | name= Arda Turan }}
Output:
- Arda Turan at Mackolik.com (in Turkish)
- Arda Turan at Mackolik.com (in Turkish)
Current URL:
Former URLs (redirect to current URL):
- http://www.mackolik.com/Futbolcu/22834/Arda-Turan
- http://www.mackolik.com/Player/Default.aspx?id=22834
No parameters and Wikidata property not defined
changeUsage:
* {{Mackolik player}}
Output:
- {{Mackolik player}} template missing ID and not present in Wikidata.
TemplateData
changeTemplateData 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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
id | id 1 | The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Examples: doiy4u54g1mxykz1z19d6tgwl is the ID portion of https://www.mackolik.com/futbolcu/arda-turan/doiy4u54g1mxykz1z19d6tgwl and 22834 is the ID portion of http://www.mackolik.com/Futbolcu/22834/Arda-Turan or http://www.mackolik.com/Player/Default.aspx?id=22834. This parameter is optional if Wikidata property P2458 exists, but required if not.
| String | optional |
name | name 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)".
| String | optional |
Tracking categories
change- template with ID
- Category:Mackolik player template with ID different from Wikidata (0)
- Category:Mackolik player template with ID not in Wikidata (0)
- template missing ID
Other websites
changeOther Turkish football templates: