Template:Fotbal DNES/doc
This is a documentation subpage for Template:Fotbal DNES. It contains usage information, categories and other content that is not part of the original template page. |
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
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
Unnamed parameters
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
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
Usage:
{{Fotbal DNES}}
Output:
- Fotbal DNES/doc – Czech First League statistics at Fotbal DNES (in Czech)
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 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>