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 uses Lua: |
Template:FootballFacts.ru displays an external link to an association football (soccer) player's page at the FootballFacts.ru website. It is intended for use in the external links section of an article.
Usage
[change source]Unnamed parameters:
{{FootballFacts.ru | ID }}
{{FootballFacts.ru | ID | NAME }}
Named parameters:
{{FootballFacts.ru | id= ID }}
{{FootballFacts.ru | id= ID | name= NAME }}
{{FootballFacts.ru | id= ID | archive= NUMBER }}
{{FootballFacts.ru | id= ID | name= NAME | archive= NUMBER }}
Using Wikidata property FootballFacts.ru person ID (P3660):
{{FootballFacts.ru}}
{{FootballFacts.ru | name= NAME }}
{{FootballFacts.ru | archive= NUMBER }}
{{FootballFacts.ru | name= NAME | archive= NUMBER }}
Examples
[change source]Unnamed parameters
[change source]URLs:
- http://footballfacts.ru/players/105813-gajdarzhi-leonid-vasilevich
- http://footballfacts.ru/players/105813
Usage:
* {{FootballFacts.ru | 105813 | Leonid Gaidarzhi }}
Output:
- Leonid Gaidarzhi at FootballFacts.ru (in Russian)
Named parameters
[change source]URLs:
- http://footballfacts.ru/players/12147-alenichev-dmitrij-anatolevich
- http://footballfacts.ru/players/12147
Usage:
* {{FootballFacts.ru | id= 12147 | name= Dmitri Alenichev | archive= 20170605201423 }}
Output:
- Dmitri Alenichev at FootballFacts.ru (in Russian) (archive)
No parameters and Wikidata property not defined
[change source]Usage:
* {{FootballFacts.ru}}
Output:
- {{FootballFacts.ru}} template missing ID and not present in Wikidata.
TemplateData
[change source]TemplateData for FootballFacts.ru
This template displays an external link to an association football (soccer) player's page at the FootballFacts.ru website. It is intended for use in the external links section of an article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
id | id 1 | The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: 105813 is the ID portion of http://footballfacts.ru/players/105813 or http://footballfacts.ru/players/105813-gajdarzhi-leonid-vasilevich. This parameter is optional if Wikidata property P3660 exists, but required if not.
| Number | optional |
name | name 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)" or "(soccer)".
| String | optional |
archive | archive | Number representing the date/time in an Internet Archive URL, such as 20170605201423 in https://web.archive.org/web/20170605201423/http://footballfacts.ru/players/12147. | Number | optional |
Tracking categories
[change source]- template with ID
- Category:FootballFacts.ru template with ID different from Wikidata (0)
- Category:FootballFacts.ru template with ID not in Wikidata (0)
- template missing ID