Template:Fotbal DNES/doc
Appearance
File:Edit-copy green.svg | This is a documentation subpage for Template:Fotbal DNES. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses the Wikidata property:
Lua error in Module:Uses_Wikidata at line 13: attempt to index field 'wikibase' (a nil value).
File:Lua-Logo.svg | This template uses Lua: |
Template:Fotbal DNES displays an external link to an association football (soccer) player's Czech First League statistics at the Fotbal.iDNES.cz website. It is intended for use in the external links section of an article.
Usage[change]
Unnamed parameters:
{{Fotbal DNES | ID }}
{{Fotbal DNES | ID | NAME }}
Named parameters:
{{Fotbal DNES | id= ID }}
{{Fotbal DNES | id= ID | name= NAME }}
Using Wikidata property P3663:
{{Fotbal DNES}}
{{Fotbal DNES | name= NAME }}
Examples[change]
Unnamed parameters[change]
URLs:
http://fotbal.idnes.cz/db_fotbal.asp?hrac=3000263
http://fotbal.idnes.cz/databanka.aspx?t=hrac&id=3000263
Usage:
{{Fotbal DNES | 3000263 | Milan Baroš }}
Output:
- Milan Baroš – Czech First League statistics at Fotbal DNES (in Czech)
Named parameters[change]
URLs:
http://fotbal.idnes.cz/db_fotbal.asp?hrac=3003389
http://fotbal.idnes.cz/databanka.aspx?t=hrac&id=3003389
Usage:
{{Fotbal DNES | id= 3003389 | name= Marek Heinz }}
Output:
- Marek Heinz – Czech First League statistics at Fotbal DNES (in Czech)
No parameters and Wikidata property not defined[change]
Usage:
{{Fotbal DNES}}
Output:
- Fotbal DNES/doc – Czech First League statistics at Fotbal DNES (in Czech)
TemplateData[change]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Fotbal DNES in articles based on its TemplateData.
TemplateData for Fotbal DNES
<templatedata> {
"description": "This template displays an external link to an association football (soccer) player's Czech First League statistics at the Fotbal.iDNES.cz website. 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: 3000263 is the ID portion of http://fotbal.idnes.cz/db_fotbal.asp?hrac=3000263 or http://fotbal.idnes.cz/databanka.aspx?t=hrac&id=3000263. This parameter is optional if Wikidata property P3663 exists, but required if not.", "type": "number", "required": false, "default": "Wikidata property P3663" }, "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 name of the player. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as \"(footballer)\" or \"(soccer)\".", "type": "string", "required": false, "default": "Fotbal DNES/doc" } }, "paramOrder": [ "id", "name" ]
} </templatedata>