Template:Fotbal DNES/doc

It is intended for use in the external links section of an article.

Usage

 * New ID


 * Old ID


 * New ID in Wikidata property

New ID in template

 * Usage in Milan Baroš


 * Output


 * 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

 * Usage in Milan Baroš


 * Output


 * 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

 * Usage in the article Marek Heinz


 * Output
 * OOjs UI icon edit-ltr-progressive.svg


 * 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

 * Usage


 * Output

TemplateData
{ "description": "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.", "params": { "new_id": { "label": "New ID", "description": "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.", "type": "number", "required": false },   "name": { "label": "Name", "aliases": ["2"], "description": "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": "" },   "old_id": { "label": "Old ID", "aliases": ["id", "1"], "description": "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.", "type": "number", "required": false, "default": "Wikidata property P3663" } },  "paramOrder": [ "new_id", "name", "old_id" ] }