ढाँचा:Soccerbase

विकिपिडिया, एक स्वतन्त्र विश्वकोशबाट
Jump to navigation Jump to search

सकरबेसमा {{{name}}}

Template documentation[view] [edit] [history] [purge]

ढाँचा: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[सम्पादन गर्ने]

Unnamed parameters:

{{Soccerbase | ID }}
{{Soccerbase | ID | NAME }}

Named parameters:

{{Soccerbase | id= ID }}
{{Soccerbase | id= ID | name= NAME }}

Using Wikidata property (P2193):

{{Soccerbase}}
{{Soccerbase | name= NAME }}

Examples[सम्पादन गर्ने]

Unnamed parameters[सम्पादन गर्ने]

Usage:

* {{Soccerbase | 547 | David Beckham }}

Output:

URLs:

https://www.soccerbase.com/players_details.sd?playerid=547
https://www.soccerbase.com/players/player.sd?player_id=547

Named parameters[सम्पादन गर्ने]

Usage:

* {{Soccerbase | id= 31692 | name= Andrei Arshavin }}

Output:

URL:

https://www.soccerbase.com/players_details.sd?playerid=31692
https://www.soccerbase.com/players/player.sd?player_id=31692

No parameters and Wikidata property not defined[सम्पादन गर्ने]

Usage:

* {{Soccerbase}}

Output:

  • {{Soccerbase}} template missing ID and not present in Wikidata.

Instructions[सम्पादन गर्ने]

  1. Go to the Soccerbase website and search for a player.
  2. Click on the correct link to go to the player's page. Be sure is the correct right person.
  3. The page URL should look like https://www.soccerbase.com/players/player.sd?player_id=#####, where "#####" indicates a number.
  4. Copy ONLY that number
  5. Add that ID to the Wikidata item about the player, using P2193
  6. Add to the external links section the text:
    {{Soccerbase}}

Alternative method[सम्पादन गर्ने]

  1. 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
  2. Searching for "David Beckham", you'll reach this page: https://www.soccerbase.com/players/player.sd?player_id=547
  3. 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[सम्पादन गर्ने]

यो ढाँचातथ्याङ्कको दस्तावेज दृश्यसम्पादक र अन्य उपकरणहरूद्वारा प्रयोग गरीन्छ; यो ढाँचाको मासिक मापदण्ड उपयोग रिपोर्ट हेर्नुहोस्।

Soccerbaseको ढाँचातथ्याङ्क

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.

Template parameters

Parameterविवरणप्रकारस्थिति
idid 1

The "id" parameter (or unnamed parameter "1") should contain 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.

पूर्वनिर्धारित
Wikidata property P2193
Numberवैकल्पिक
namename 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)".

पूर्वनिर्धारित
{{PAGENAMEBASE}}
Stringवैकल्पिक

Tracking categories[सम्पादन गर्ने]

template with ID
template missing ID

See also[सम्पादन गर्ने]