Template:kicker/doc
This is a documentation subpage for Template:Kicker. It contains 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
Article 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
Unnamed parameters
URL:
Usage:
* {{kicker | alexandra-popp | Alexandra Popp }}
Output:
- Alexandra Popp at kicker (in German)
Named parameters
URL:
Usage:
* {{kicker | id= manuel-neuer | name= Manuel Neuer }}
Output:
- Manuel Neuer at kicker (in German)
No parameters and Wikidata property not defined
Usage:
* {{kicker}}
Output:
- Kicker/doc at kicker (in German)
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 Kicker
<templatedata> {
"description": "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.", "params": { "id": { "label": "id", "aliases": ["1"], "description": "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.", "type": "number", "required": false, "default": "Wikidata property P8912" }, "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 player's name. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as \"(footballer)\" or \"(soccer)\".", "type": "string", "required": false, "default": "Kicker/doc" } }, "paramOrder": [ "id", "name" ]
} </templatedata>