Template:Soccerbase/doc

It is intended for use in the external links section of an article.

Usage
Unnamed parameters:

Named parameters:

Using Wikidata property P2193:

Unnamed parameters
URLs:
 * https://www.soccerbase.com/players_details.sd?playerid=
 * https://www.soccerbase.com/players/player.sd?player_id=

Usage:

Output:

Named parameters
URL:
 * https://www.soccerbase.com/players_details.sd?playerid=
 * https://www.soccerbase.com/players/player.sd?player_id=

Usage:

Output:

No parameters and Wikidata property not defined
Usage:

Output:

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:

Alternative method

 * 1) Add to the external links section the text:
 * where "#####" is the number you've copied, and "Name" is the person's name
 * 1) Searching for "David Beckham", you'll reach this page: https://www.soccerbase.com/players/player.sd?player_id=547
 * 2) Copy "547" and then write:
 * 1) Copy "547" and then write:

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
{ "description": "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.", "params": { "id": { "label": "id", "aliases": ["1"], "description": "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.", "type": "number", "required": false, "default": "Wikidata property P2193" },   "name": { "label": "name", "aliases": ["2"], "description": "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)\".", "type": "string", "required": false, "default": "" } },  "paramOrder": [ "id", "name" ] }

Tracking categories

 * "id" parameter exists
 * "id" parameter does not exist
 * "id" parameter does not exist
 * "id" parameter does not exist
 * "id" parameter does not exist