Jump to content

Template:FACR player/doc

From Wikipedia, the free encyclopedia

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
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
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
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}}
Output

No parameters and Wikidata property not defined

[edit]
Usage
* {{FACR player}}
Output
  • {{FACR player}} template missing ID and not present in Wikidata.

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:FACR player in articles based on its TemplateData.

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.

Template parameters

ParameterDescriptionTypeStatus
New IDnew_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.

Numberoptional
Namename 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)".

Default
{{PAGENAMEBASE}}
Stringoptional
Old IDold_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.

Default
Wikidata property P3050
Stringoptional

Tracking categories

[edit]

See also

[edit]
[edit]