Andoza:Soccerbase
{{{name}}} at Soccerbase
Bu andoza quyidagi Vikimaʼlumotlar xossasidan foydalanadi: |
This template tracks the Wikidata property: |
Bu andoza quyidagi Luadan foydalanadi: |
Andoza:Soccerbase displays an external link to an association football (soccer) player's page at the Soccerbase website. It is intended for use in the external links section of an article.
Usage
[manbasini tahrirlash]Unnamed parameters:
{{Soccerbase | ID }}
{{Soccerbase | ID | NAME }}
Named parameters:
{{Soccerbase | id= ID }}
{{Soccerbase | id= ID | name= NAME }}
Using Wikidata property [[d:Special:EntityPage/P2193|P2193 (P2193)]]:
{{Soccerbase}}
{{Soccerbase | name= NAME }}
Examples
[manbasini tahrirlash]Unnamed parameters
[manbasini tahrirlash]- Usage
* {{Soccerbase | 547 | David Beckham }}
- Output
-
- David Beckham at Soccerbase
- Former URL
- https://www.soccerbase.com/players_details.sd?playerid=547 (archive)
Named parameters
[manbasini tahrirlash]- Usage
* {{Soccerbase | id= 31692 | name= Andrei Arshavin }}
- Output
-
- Andrei Arshavin at Soccerbase
- Former URL
- https://www.soccerbase.com/players_details.sd?playerid=31692 (archive)
No parameters and Wikidata property not defined
[manbasini tahrirlash]- Usage
* {{Soccerbase}}
- Output
-
- {{Soccerbase}} template missing ID and not present in Wikidata.
Instructions
[manbasini tahrirlash]- Go to the Soccerbase website and search for a player.
- Click on the correct link to go to the player's page. Be sure is the correct right person.
- The page URL should look like https://www.soccerbase.com/players/player.sd?player_id=#####, where "#####" indicates a number.
- Copy ONLY that number
- Add that ID to the Wikidata item about the player, using P2193
- Add to the external links section the text:
- {{Soccerbase}}
Alternative method
[manbasini tahrirlash]- Add to the external links section the text:
- {{Soccerbase|id=#####|name=Name}}
- where "#####" is the number you've copied, and "Name" is the person's name
- Searching for "David Beckham", you'll reach this page: https://www.soccerbase.com/players/player.sd?player_id=547
- Copy "547" and then write: {{Soccerbase|id=547|name=David Beckham}}
Note that, since this will almost certainly go on the external link section, you should add a * before the template text to include it as a list item.
TemplateData
[manbasini tahrirlash]Soccerbase uchun TemplateData
This template displays an external link to an association football (soccer) player's page at the Soccerbase website. It is intended for use in the external links section of an article.
Parametr | Tavsif | Turi | Status | |
---|---|---|---|---|
ID | id 1 | The ID portion of the URL. Example: 547 is the ID portion of https://www.soccerbase.com/players/player.sd?player_id=547. This parameter is optional if Wikidata property P2193 exists, but required if not.
| Son | ixtiyoriy |
Name | name 2 | 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 | ixtiyoriy |
Tracking categories
[manbasini tahrirlash]- template with ID
- Category:Soccerbase player ID different from Wikidata (0)
- Category:Soccerbase player ID not in Wikidata (0)
- Category:Soccerbase template using non-numeric ID (1)
- template missing ID
See also
[manbasini tahrirlash]- Template:Soccerbase manager – Wikidata property P2195: P2195
- Template:Soccerbase referee – Wikidata property P7465: P7465
- Template:Soccerbase season
External links
[manbasini tahrirlash]Yuqoridagi hujjat Andoza:Soccerbase/doc sahifasidan olingan. Tajriba oʻtkazish uchun qumloq va test sahifasidan foydalaning. Iltimos, turkumlarni hujjat sahifasiga va intervikilarni vikimaʼlumotlarga joylashtiring. Ushbu andoza ostsahifalari. |