Template:Squash Info/doc

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

Usage
Unnamed parameters:

Named parameters:

Using Wikidata property :

Unnamed parameters
URLs:
 * http://www.squashinfo.com/player-
 * http://www.squashinfo.com/players/
 * http://www.squashinfo.com/players/-camille-serme

Usage:

Output:

Named parameters
URLs:
 * http://www.squashinfo.com/player-
 * http://www.squashinfo.com/players/
 * http://www.squashinfo.com/players/-nick-matthew

Usage:

Output:

No ID in template or Wikidata
Usage:

Output:

TemplateData
{ "description": "This template displays an external link to a squash player's page at the Squash Info 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: 1348 is the ID portion of http://www.squashinfo.com/players/1348-camille-serme. This parameter is optional if Wikidata property P3286 exists, but required if not.", "default": "Wikidata property P3286", "example": "|id=7866", "type": "number", "required": false },   "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 athlete. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as \"(squash player)\".", "default": "", "example": "|name=Camille Serme", "type": "string", "required": false } },  "paramOrder": [ "id", "name" ] }