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 iDNES.cz . It is intended for use in the external links section of an article.
Usage
edit- New ID
{{Fotbal DNES|new_id=NEWID}}
{{Fotbal DNES|new_id=NEWID|name=NAME}}
- Old ID
{{Fotbal DNES|old_id=OLDID}}
{{Fotbal DNES|old_id=OLDID|name=NAME}}
{{Fotbal DNES|id=OLDID}}
{{Fotbal DNES|id=OLDID|name=NAME}}
{{Fotbal DNES|OLDID}}
{{Fotbal DNES|OLDID|NAME}}
- New ID in Wikidata property Fotbal DNES player ID (P3663)
{{Fotbal DNES}}
{{Fotbal DNES|name=Displayed Name}}
Examples
editNew ID in template
edit- Usage in Milan Baroš
* {{Fotbal DNES | new_id= 106 }}
- Output
-
- Milan Baroš – Czech First League statistics at Fotbal DNES (in Czech)
- URLs with new ID number
- https://www.idnes.cz/fotbal/databanka/Uplr106
- https://www.idnes.cz/fotbal/databanka/milan-baros.Uplr106
Old ID in template
edit- Usage in Milan Baroš
* {{Fotbal DNES | old_id= 3000263 }}
* {{Fotbal DNES | id= 3000263 }}
* {{Fotbal DNES | 3000263 }}
- Output
-
- Milan Baroš – Czech First League statistics at Fotbal DNES (in Czech)
- Milan Baroš – Czech First League statistics at Fotbal DNES (in Czech)
- Milan Baroš – Czech First League statistics at Fotbal DNES (in Czech)
- URLs with old ID number
- https://fotbal.idnes.cz/databanka.aspx?t=hrac&id=3000263 (redirect to URL with new ID number)
- http://fotbal.idnes.cz/db_fotbal.asp?hrac=3000263 (redirect to URL with new ID number)
New ID in Wikidata
edit- Usage in the article Marek Heinz
* {{Fotbal DNES}}
* {{Fotbal DNES | name= Marek Heinz }}
- Output
-
- Marek Heinz – Czech First League statistics at Fotbal DNES (in Czech)
- URLs with new ID number
- https://www.idnes.cz/fotbal/databanka/Uplr3025
- https://www.idnes.cz/fotbal/databanka/marek-heinz.Uplr3025
- URLs with old ID number
- https://fotbal.idnes.cz/databanka.aspx?t=hrac&id=3003389 (redirect to URL with new ID number)
- http://fotbal.idnes.cz/db_fotbal.asp?hrac=3003389 (redirect to URL with new ID number)
No parameters and Wikidata property not defined
edit- Usage
* {{Fotbal DNES}}
- Output
-
- {{Fotbal DNES}} template missing ID and not present in Wikidata.
TemplateData
editTemplateData for Fotbal DNES
This template displays an external link to an association football (soccer) player's Czech First League statistics at iDNES.cz. It is intended for use in the external links section of an article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
New ID | new_id | The ID number in the current URL, such as 106 in https://www.idnes.cz/fotbal/databanka/Uplr106 or https://www.idnes.cz/fotbal/databanka/milan-baros.Uplr106. This parameter is optional if the "id" parameter (or unnamed parameter "1") is used or if Wikidata property P3663 exists. | Number | optional |
Name | name 2 | 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 |
Old ID | old_id id 1 | The ID number in the former URL, such as 3000263 in https://fotbal.idnes.cz/databanka.aspx?t=hrac&id=3000263. This parameter is optional if the "new_id" parameter is used or if Wikidata property P3663 exists, but required if not.
| Number | optional |
Tracking categories
edit- Category:Fotbal DNES template with ID different from Wikidata (0)
- Category:Fotbal DNES template with ID not in Wikidata (0)
- Category:Fotbal DNES template missing ID and not in Wikidata (0)
- Category:Fotbal DNES template using Wikidata (674)
- Category:Fotbal DNES template using new ID (351)
- Category:Fotbal DNES template using old ID (0)
See also
editOther sportsperson external link templates with multiple IDs:
- {{European Handball Federation}}
- {{USA Swimming}}
- {{USATF}}