Jump to content

Template:FootballFacts.ru/doc

From Wikipedia, the free encyclopedia

Template:FootballFacts.ru displays an external link for an association football (soccer) player, staff or referee at the FootballFacts.ru website. It is intended for use in the external links section of an article.

Usage

[edit]
Current person ID in Wikidata
{{FootballFacts.ru}}
{{FootballFacts.ru | name= NAME }}
Current person ID in template
{{FootballFacts.ru | ID }}
{{FootballFacts.ru | ID | NAME }}
{{FootballFacts.ru | id= ID }}
{{FootballFacts.ru | id= ID | name= NAME }}
{{FootballFacts.ru | person_id= ID }}
{{FootballFacts.ru | person_id= ID | name= NAME }}
Former player ID in template (redirect to current ID or archived)
{{FootballFacts.ru | player_id= ID }}
{{FootballFacts.ru | player_id= ID | name= NAME }}
{{FootballFacts.ru | player_id= ID | archive= NUMBER }}
{{FootballFacts.ru | player_id= ID | name= NAME | archive= NUMBER }}
Former staff ID in template (redirect to current ID or archived)
{{FootballFacts.ru | staff_id= ID }}
{{FootballFacts.ru | staff_id= ID | name= NAME }}
{{FootballFacts.ru | staff_id= ID | archive= NUMBER }}
{{FootballFacts.ru | staff_id= ID | name= NAME | archive= NUMBER }}
Former referee ID in template (redirect to current ID or archived)
{{FootballFacts.ru | referee_id= ID }}
{{FootballFacts.ru | referee_id= ID | name= NAME }}
{{FootballFacts.ru | referee_id= ID | archive= NUMBER }}
{{FootballFacts.ru | referee_id= ID | name= NAME | archive= NUMBER }}

Examples

[edit]

Player

[edit]

Examples for Leonid Gaidarzhi:

Current URL
https://footballfacts.ru/person/22938-gaydarzhileonidvasilevich
https://footballfacts.ru/person/22938
Former URL (redirect to current URL)
https://footballfacts.ru/players/105813-gajdarzhi-leonid-vasilevich
https://footballfacts.ru/players/105813
Former URL (archived)
http://web.archive.org/web/20200130021849/http://footballfacts.ru/players/105813-gajdarzhi-leonid-vasilevich
http://web.archive.org/web/20161127085111/http://footballfacts.ru/players/105813
Usage
* {{FootballFacts.ru|22938|Leonid Gaidarzhi}}
* {{FootballFacts.ru|id=22938|player_id=105813|name=Leonid Gaidarzhi}}
* {{FootballFacts.ru|person_id=22938|player_id=105813|archive=20161127085111|name=Leonid Gaidarzhi}}
* {{FootballFacts.ru|player_id=105813|name=Leonid Gaidarzhi}}
* {{FootballFacts.ru|player_id=105813|archive=20161127085111|name=Leonid Gaidarzhi}}
Output

Staff

[edit]

Examples for Sergey Tashuev:

Current URL
https://footballfacts.ru/person/21299-tashuevsergeyabuezidovich
https://footballfacts.ru/person/21299
Former URL (redirect to current URL)
http://footballfacts.ru/staffs/73267-tashuev-sergej-abuezidovich
http://footballfacts.ru/staffs/73267
Former URL (archived)
http://web.archive.org/web/20200918071308/http://footballfacts.ru/staffs/73267-tashuev-sergej-abuezidovich
Usage
* {{FootballFacts.ru | 21299-tashuevsergeyabuezidovich | Sergey Tashuev }}
* {{FootballFacts.ru | id= 21299-tashuevsergeyabuezidovich | staff_id= 73267-tashuev-sergej-abuezidovich | name= Sergey Tashuev }}
* {{FootballFacts.ru | person_id= 21299-tashuevsergeyabuezidovich | staff_id= 73267-tashuev-sergej-abuezidovich | archive= 20200918071308 | name= Sergey Tashuev }}
* {{FootballFacts.ru | staff_id= 73267-tashuev-sergej-abuezidovich | name= Sergei Tashuyev }}
* {{FootballFacts.ru | staff_id= 73267-tashuev-sergej-abuezidovich | archive= 20200918071308 | name= Sergey Tashuev }}
Output

Referee

[edit]

Examples for Yuriy Mozharovskiy:

Current URL
https://footballfacts.ru/person/91036-mozharovskiyyuriyandreevich
https://footballfacts.ru/person/91036
Former URL (redirect to current URL)
http://footballfacts.ru/referees/678481-mozharovskij-yurij-andreevich
http://footballfacts.ru/referees/678481
Former URL (archived)
http://web.archive.org/web/20191230225653/http://footballfacts.ru/referees/678481-mozharovskij-yurij-andreevich
Usage
* {{FootballFacts.ru | 91036-mozharovskiyyuriyandreevich | Yuriy Mozharovskiy }}
* {{FootballFacts.ru | id= 91036-mozharovskiyyuriyandreevich | referee_id= 678481-mozharovskij-yurij-andreevich | name= Yuriy Mozharovskiy }}
* {{FootballFacts.ru | person_id= 91036-mozharovskiyyuriyandreevich | referee_id= 678481-mozharovskij-yurij-andreevich | archive= 20191230225653 | name= Yuriy Mozharovskiy }}
* {{FootballFacts.ru | referee_id= 678481-mozharovskij-yurij-andreevich | name= Yuriy Mozharovskiy }}
* {{FootballFacts.ru | referee_id= 678481-mozharovskij-yurij-andreevich | archive= 20191230225653 | name= Yuriy Mozharovskiy }}
Output

No parameters and Wikidata property not defined

[edit]
Usage
* {{FootballFacts.ru}}
Output

TemplateData

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

TemplateData for FootballFacts.ru

This template displays an external link for an association football (soccer) player, staff or referee at the FootballFacts.ru website. It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
Current ID for personperson_id 1 id

The ID portion of the current URL for a person, such as 22938-gaydarzhileonidvasilevich or 22938 in https://footballfacts.ru/person/22938-gaydarzhileonidvasilevich. This parameter optional if there is an ID in Wikidata property P3660 or in the "player_id", "staff_id" or "referee_id" parameters.

Default
Wikidata property P3660
Stringoptional
Former ID for playerplayer_id

The ID portion of the former URL for a player, such as 105813-gajdarzhi-leonid-vasilevich or 105813 in http://footballfacts.ru/players/105813-gajdarzhi-leonid-vasilevich.

Stringoptional
Former ID for staffstaff_id

The ID portion of the former URL for staff (coach/manager), such as 73267-tashuev-sergej-abuezidovich or 73267 in http://footballfacts.ru/staffs/73267-tashuev-sergej-abuezidovich.

Stringoptional
Former ID for refereereferee_id

The ID portion of the former URL for a referee, such as 678481-mozharovskij-yurij-andreevich or 678481 in http://footballfacts.ru/referees/678481-mozharovskij-yurij-andreevich.

Stringoptional
Internet Archive date/timearchive

A number representing the date/time in an Internet Archive URL, such as 20200130021849 in http://web.archive.org/web/20200130021849/http://footballfacts.ru/players/105813-gajdarzhi-leonid-vasilevich.

Numberoptional
Namename 2

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

Default
{{PAGENAMEBASE}}
Stringoptional

Tracking categories

[edit]
template with current ID
ID is converted to numeric value before comparison with Wikidata
22938-gaydarzhileonidvasilevich → 22938
21299-tashuevsergeyabuezidovich → 21299
91036-mozharovskiyyuriyandreevich → 91036
template with archive parameter
template missing ID

See also

[edit]
Association football external link templates which convert ID to number before Wikidata comparison