Template:kicker/doc
This is a documentation subpage for Template:Kicker. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
Template:kicker displays an external link to an association football (soccer) player's profile at the website of the German sports magazine kicker. It is intended for use in the external links section of an article.
Usage
changeArticle name as link text:
{{kicker | ID }}
{{kicker | id= ID }}
Parameter as link text:
{{kicker | ID | NAME }}
{{kicker | id= ID | name= NAME }}
Using Wikidata property P8912:
{{kicker}}
{{kicker | name= NAME }}
Examples
changeUnnamed parameters
changeURL:
Usage:
* {{kicker | alexandra-popp | Alexandra Popp }}
Output:
- Alexandra Popp at kicker (in German)
Named parameters
changeURL:
Usage:
* {{kicker | id= manuel-neuer | name= Manuel Neuer }}
Output:
- Manuel Neuer at kicker (in German)
No parameters and Wikidata property not defined
changeUsage:
* {{kicker}}
Output:
- {{kicker}} template missing ID and not present in Wikidata.
TemplateData
changeTemplateData for Kicker
This template displays an external link to an association football (soccer) player's profile at the website of the German sports magazine kicker. 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. Example: alexandra-popp is the ID portion of https://www.kicker.de/alexandra-popp/spieler. This parameter is optional if Wikidata property P8912 exists, but required if not.
| Number | optional |
name | name 2 | The "name" parameter (or unnamed parameter "2") may be used to specify the link text, which should be the player's name. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(footballer)" or "(soccer)".
| String | optional |