Template:FACR player/doc
This is a documentation subpage for Template:FACR player. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
Template:FACR player displays an external link to an association football (soccer) player's profile at 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.
Usage
[edit]- New ID
{{FACR player | new_id= NEW ID }}
{{FACR player | new_id= NEW ID | name= NAME }}
- Old ID
{{FACR player | old_id= OLD ID }}
{{FACR player | old_id= OLD ID | name= NAME }}
{{FACR player | id= OLD ID }}
{{FACR player | id= OLD ID | name= NAME }}
{{FACR player | OLD ID }}
{{FACR player | OLD ID | NAME }}
- Both IDs
{{FACR player | new_id= NEW ID | old_id= OLD ID }}
{{FACR player | new_id= NEW ID | old_id= OLD ID | name= NAME }}
- Old ID in Wikidata property FACR player ID (P3050)
{{FACR player}}
{{FACR player | name= NAME }}
Examples
[edit]New ID in template
[edit]- Usage in Tomáš Pekhart
* {{FACR player | new_id= 2215 }}
- Output
-
- Tomáš Pekhart at FAČR (in Czech)
- 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
[edit]- Usage in Tomáš Pekhart
* {{FACR player | old_id= PekhartTomas }}
* {{FACR player | id= PekhartTomas }}
* {{FACR player | PekhartTomas }}
- Output
-
- Tomáš Pekhart at FAČR (in Czech)
- Tomáš Pekhart at FAČR (in Czech)
- Tomáš Pekhart at FAČR (in Czech)
- 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
[edit]- Usage in Petr Čech
* {{FACR player | new_id= 1531 | old_id= CechPetr }}
- Output
-
- Petr Čech at FAČR (also at old FAČR website) (in Czech)
- 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
[edit]- Usage in Petr Čech
* {{FACR player}}
No parameters and Wikidata property not defined
[edit]- Usage
* {{FACR player}}
- Output
-
- {{FACR player}} template missing ID and not present in Wikidata.
TemplateData
[edit]TemplateData for FACR player
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
New ID | new_id | 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. | 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)".
| String | optional |
Old ID | old_id id 1 | 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.
| String | optional |
Tracking categories
[edit]- Category:FACR player template with ID different from Wikidata (1)
- Category:FACR player template with ID not in Wikidata (2)
- Category:FACR player template missing ID and not in Wikidata (0)
- Category:FACR player template using Wikidata (389)
- Category:FACR player template using old ID (214)
- Category:FACR player template using new ID (339)
See also
[edit]- {{Fortunaliga.cz}} for link to player's official Czech First League profile at Fortunaliga.cz, uses Czech Fortuna liga player ID (P7451)
- {{Fotbal DNES}} for link to player's Czech First League statistics at the Fotbal.iDNES.cz, uses Fotbal DNES player ID (P3663)
External links
[edit]- Player search page at www.Fotbal.cz (in Czech)