Jump to content

Template:RPL referee/doc

From Wikipedia, the free encyclopedia

Template:RPL referee displays an external link to an association football (soccer) referee's page at the official website of the Russian Premier League (RPL). It is intended for use in the external links section of an article.

Usage

[edit]
Unnamed parameters
{{RPL referee | ID }}
{{RPL referee | ID | NAME }}
Named parameters
{{RPL referee | id= ID }}
{{RPL referee | id= ID | name= NAME }}
Using Wikidata property
{{RPL referee}}
{{RPL referee | name= NAME }}

Examples

[edit]

Unnamed parameters

[edit]
Usage in Sergey Lapochkin (referee, born 1981)
* {{RPL referee | 2699 }}
Output
URL (in English)
https://eng.premierliga.ru/about-rpl/arbitr/arbitr_2699.html
https://eng.premierliga.ru/rfpl/arbitr/arbitr_2699.html (archive)
URL (in Russian)
https://premierliga.ru/rfpl/arbitr/arbitr_2699.html

Named parameters

[edit]
Usage in Sergey Lapochkin (referee, born 1958)
* {{RPL referee | id= 11 }}
Output
URL (in English)
https://eng.premierliga.ru/about-rpl/arbitr/arbitr_11.html
https://eng.premierliga.ru/rfpl/arbitr/arbitr_11.html (archive)
URL (in Russian)
https://premierliga.ru/rfpl/arbitr/arbitr_11.html

No parameters and Wikidata property not defined

[edit]
Usage
* {{RPL referee}}
Output
  • {{RPL referee}} 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:RPL referee in articles based on its TemplateData.

TemplateData for RPL referee

This template displays an external link to an association football (soccer) referee's page at the official website of the Russian Premier League (RPL). It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
idid 1

The ID portion of the URL, such as 2699 in https://eng.premierliga.ru/about-rpl/arbitr/arbitr_2699.html. This parameter is optional if Wikidata property P6313 exists, but required if not.

Default
Wikidata property P6313
Numberoptional
namename 2

The link text, which should be the name of the referee. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(referee)".

Default
{{PAGENAMEBASE}}
Stringoptional

See also

[edit]

Other RPL templates:

Other football (soccer) referee templates:

[edit]