Template:FACR player/doc

From Simple English Wikipedia, the free encyclopedia

Template:FACR player 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.

Usage[change source]

Unnamed parameters:

{{FACR player | ID }}
{{FACR player | ID | NAME }}

Named parameters:

{{FACR player | id= ID }}
{{FACR player | id= ID | name= NAME }}

Using Wikidata property FACR player ID (P3050):

{{FACR player}}
{{FACR player | name= NAME }}

Examples[change source]

Unnamed parameters[change source]

Usage:

* {{FACR player | PekhartTomas | Tomáš Pekhart }}

Output:

URL:

http://nv.fotbal.cz/reprezentace/reprezentace-a/statistiky/viewstat3.asp?name=PekhartTomas

Named parameters[change source]

Usage:

* {{FACR player | id= CechPetr | name= Petr Čech }}

Output:

URL:

http://nv.fotbal.cz/reprezentace/reprezentace-a/statistiky/viewstat3.asp?name=CechPetr

No parameters and Wikidata property not defined[change source]

Usage:

* {{FACR player}}

Output:

  • {{FACR player}} template missing ID and not present in Wikidata.

TemplateData[change source]

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
idid 1

The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: PekhartTomas is the ID portion of http://nv.fotbal.cz/reprezentace/reprezentace-a/statistiky/viewstat3.asp?name=PekhartTomas. This parameter is optional if Wikidata property P3050 exists, but required if not.

Default
Wikidata property P3050
Stringoptional
namename 2

The "name" parameter (or unnamed parameter "2") may be used to specify 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

Tracking categories[change source]

template with ID
template missing ID