Template:Fotbal DNES/doc
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 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
changeUnnamed 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
changeUnnamed parameters
changeURLs:
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
changeURLs:
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
changeUsage:
{{Fotbal DNES}}
Output:
- {{Fotbal DNES}} template missing ID and not present in Wikidata.
TemplateData
changeTemplateData for Fotbal DNES
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
id | id 1 | 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.
| Number | optional |
name | name 2 | 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)".
| String | optional |