{{{name}}} at Soccerbase
This is the template sandbox page for Template:Soccerbase (diff). See also the companion subpage for test cases. |
This template is used on approximately 13,000 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.
Preview message: Transclusion count updated automatically (see documentation). |
This template uses Lua: |
Template: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.
Unnamed parameters:
{{Soccerbase|ID}}
{{Soccerbase|ID|NAME}}
Named parameters:
{{Soccerbase|id= ID}}
{{Soccerbase|id= ID|name= NAME}}
Using Wikidata property Soccerbase player ID (P2193):
{{Soccerbase}}
{{Soccerbase|name= NAME}}
Usage
* {{Soccerbase|547|David Beckham}}
Output
Current URL
Former URL
Usage
* {{Soccerbase|id= 31692|name= Andrei Arshavin}}
Output
Current URL
Former URL
Usage
* {{Soccerbase}}
Output
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 for 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.
Parameter | Description | Type | 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.
| Number | optional |
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 | optional |