Template:Sofascore/doc

Usage

 * Unnamed parameters


 * Named parameters


 * Using Wikidata property

Unnamed parameters
Example for handball player Veronika Dvořáková:


 * URLs
 * https://www.sofascore.com/player/dvorakova-veronika/912491
 * https://www.sofascore.com/player/-/912491 (redirect to URL above)


 * Usage


 * Output

Named parameters
Example for association football (soccer) player Luka Modrić:


 * URLs
 * https://www.sofascore.com/player/luka-modric/15466
 * https://www.sofascore.com/player/-/15466 (redirect to URL above)


 * Usage


 * Output

No parameters and Wikidata property not defined

 * Usage


 * Output

TemplateData
{ "description": "This template displays an external link to a sportperson's profile at the Sofascore website.", "params": { "id": { "label": "ID", "aliases": ["1"], "description": "The ID portion of the URL, such as luka-modric/15466 or 15466 in https://www.sofascore.com/player/luka-modric/15466. This parameter is optional if Wikidata property P12302 exists, but required if not.", "default": "Wikidata property P12302", "type": "string", "required": false },   "name": { "label": "Name", "aliases": ["2"], "description": "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 \"(handballer)\".", "default": "", "type": "string", "required": false },   "access-date": { "label": "Access Date", "aliases": ["accessdate"], "description": "The date when the Soccerway profile was last accessed. It allows the template to be used as a reference, rather than as an external link. This parameter is optional.", "type": "date", "required": false } },  "paramOrder": [ "id", "name", "access-date" ] }