Difference between revisions of "Template:Kicker/doc"
imported>S.A. Julio (update) |
imported>S.A. Julio (update) |
||
| Line 3: | Line 3: | ||
{{lowercase title}} | {{lowercase title}} | ||
{{Template redirects|kicker.de|kicker player|kicker.de player}} | {{Template redirects|kicker.de|kicker player|kicker.de player}} | ||
| − | {{Uses Wikidata| | + | {{Uses Wikidata|P8912}} |
{{Lua|Module:EditAtWikidata}} | {{Lua|Module:EditAtWikidata}} | ||
| Line 17: | Line 17: | ||
: {{tlcw|{{lc:{{BASEPAGENAME}}}} | id{{=}} <var>ID</var> | name{{=}} <var>NAME</var> }} | : {{tlcw|{{lc:{{BASEPAGENAME}}}} | id{{=}} <var>ID</var> | name{{=}} <var>NAME</var> }} | ||
| − | Using [[Wikidata]] property [[d:Property: | + | Using [[Wikidata]] property [[d:Property:P8912|P8912]]: |
: {{tlcw|{{lc:{{BASEPAGENAME}}}}}} | : {{tlcw|{{lc:{{BASEPAGENAME}}}}}} | ||
: {{tlcw|{{lc:{{BASEPAGENAME}}}} | name{{=}} <var>NAME</var> }} | : {{tlcw|{{lc:{{BASEPAGENAME}}}} | name{{=}} <var>NAME</var> }} | ||
| Line 59: | Line 59: | ||
"label": "id", | "label": "id", | ||
"aliases": ["1"], | "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 | + | "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", | "type": "number", | ||
"required": false, | "required": false, | ||
| − | "default": "Wikidata property | + | "default": "Wikidata property P8912" |
}, | }, | ||
"name": { | "name": { | ||
Latest revision as of 15:47, 5 December 2020
| 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. |
Template:Template redirects Template:Uses Wikidata
| 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.
Contents
Usage
Article name as link text:
Parameter as link text:
Using Wikidata property P8912:
Examples
Unnamed parameters
URL:
Usage:
Output:
- Alexandra Popp at kicker (in German)Script error: No such module "EditAtWikidata".
Named parameters
URL:
Usage:
Output:
- Manuel Neuer at kicker (in German)Script error: No such module "EditAtWikidata".
No parameters and Wikidata property not defined
Usage:
Output:
- Template:PAGENAMEBASE at kicker (in German)Script error: No such module "EditAtWikidata".
TemplateData
TemplateData 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 |