Template:FACR player/doc

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

Usage

 * New ID


 * Old ID


 * Both IDs


 * Old ID in Wikidata property

New ID in template

 * Usage in Tomáš Pekhart


 * Output


 * Current URLs for new ID
 * https://www.fotbal.cz/repre/hrac/hraci/2215
 * https://repre.fotbal.cz/hrac/hraci/2215 (redirect to above)

Old ID in template

 * Usage in Tomáš Pekhart


 * Output


 * Current URLs for old ID
 * http://nv.fotbal.cz/reprezentace/reprezentace-a/statistiky/viewstat3.asp?name=PekhartTomas
 * http://nv.fotbal.cz/reprezentace/statistiky/viewstat3.asp?name=PekhartTomas


 * Former URL for old ID
 * http:// www.fotbal.cz/c/nat/players/viewstat.asp?name=PekhartTomas (archive 2013)

Both IDs in template

 * Usage in Petr Čech


 * Output


 * Current URLs for new ID
 * https://www.fotbal.cz/repre/hrac/hraci/1531
 * https://repre.fotbal.cz/hrac/hraci/1531 (redirect to above)


 * Current URLs for old ID
 * http://nv.fotbal.cz/reprezentace/reprezentace-a/statistiky/viewstat3.asp?name=CechPetr
 * http://nv.fotbal.cz/reprezentace/statistiky/viewstat3.asp?name=CechPetr


 * Former URLs for old ID
 * http:// www.fotbal.cz/c/nat/players/viewstat.asp?name=CechPetr (archive 2013)
 * http:// www.fotbal.cz/c/nat/players/cechpetr-b.asp (archive 2001)

Old ID in Wikidata

 * Usage in Petr Čech


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

No parameters and Wikidata property not defined

 * Usage


 * Output

TemplateData
{ "description": "This template displays an external link to an association football (soccer) player's profile at nv.fotbal.cz, the website of the Football Association of the Czech Republic (FAČR: Fotbalová asociace České republiky), formerly known as the Bohemian-Moravian Football Union (ČMFS: Českomoravský fotbalový svaz). 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 2215 in https://www.fotbal.cz/repre/hrac/hraci/2215 or https://repre.fotbal.cz/hrac/hraci/2215. This parameter is optional if the \"id\" parameter (or unnamed parameter \"1\") is used or if Wikidata property P3050 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)\".", "type": "string", "required": false, "default": "" },   "old_id": { "label": "Old ID", "aliases": ["id", "1"], "description": "The ID in the former URL, such as PekhartTomas in http://nv.fotbal.cz/reprezentace/reprezentace-a/statistiky/viewstat3.asp?name=PekhartTomas or http://nv.fotbal.cz/reprezentace/statistiky/viewstat3.asp?name=PekhartTomas. This parameter is optional if the \"new_id\" parameter is used or if Wikidata property P3050 exists, but required if not.", "type": "string", "required": false, "default": "Wikidata property P3050" } },  "paramOrder": [ "new_id", "name", "old_id" ] }