Template:FootballFacts.ru/doc
This is a documentation subpage for Template:FootballFacts.ru. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 5,900 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template uses Lua: |
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
-
- Leonid Gaidarzhi at FootballFacts.ru (in Russian)
- Leonid Gaidarzhi at FootballFacts.ru (archive) (in Russian)
- Leonid Gaidarzhi at FootballFacts.ru (archive) (in Russian)
- Leonid Gaidarzhi at FootballFacts.ru (in Russian)
- Leonid Gaidarzhi at FootballFacts.ru (archive) (in Russian)
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
-
- Sergey Tashuev at FootballFacts.ru (in Russian)
- Sergey Tashuev at FootballFacts.ru (archive) (in Russian)
- Sergey Tashuev at FootballFacts.ru (archive) (in Russian)
- Sergey Tashuev at FootballFacts.ru (in Russian)
- Sergey Tashuev at FootballFacts.ru (archive) (in Russian)
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
-
- Yuriy Mozharovskiy at FootballFacts.ru (in Russian)
- Yuriy Mozharovskiy at FootballFacts.ru (archive) (in Russian)
- Yuriy Mozharovskiy at FootballFacts.ru (archive) (in Russian)
- Yuriy Mozharovskiy at FootballFacts.ru (in Russian)
- Yuriy Mozharovskiy at FootballFacts.ru (archive) (in Russian)
No parameters and Wikidata property not defined
[edit]- Usage
* {{FootballFacts.ru}}
- Output
-
- {{FootballFacts.ru}} template missing ID and not present in Wikidata.
TemplateData
[edit]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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Current ID for person | person_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.
| String | optional |
Former ID for player | player_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. | String | optional |
Former ID for staff | staff_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. | String | optional |
Former ID for referee | referee_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. | String | optional |
Internet Archive date/time | archive | 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. | Number | optional |
Name | name 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)".
| String | optional |
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
- Category:FootballFacts.ru template with ID different from Wikidata (18)
- Category:FootballFacts.ru template with ID not in Wikidata (597)
- template with archive parameter
- template missing ID
See also
[edit]- Association football external link templates which convert ID to number before Wikidata comparison
- {{BDFA}}
- {{BeSoccer}}
- {{ESPN FC}}
- {{FootballDatabase.eu}}
- {{NFT player}}