Template:BoxRec/doc

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

Usage
Unnamed parameters:

Named parameters:

Using Wikidata property :

Unnamed parameters
Usage:

Output:

URLs:
 * https://boxrec.com/boxer/
 * https://boxrec.com/en/boxer/
 * https://boxrec.com/en/amateurboxer/ (URLs above redirect here)
 * https://boxrec.com/media/index.php?title=Human:

Named parameters
Usage:

Output:

URLs:
 * https://boxrec.com/boxer/
 * https://boxrec.com/en/boxer/
 * https://boxrec.com/en/proboxer/ (URLs above redirect here)
 * https://boxrec.com/en/amateurboxer/
 * https://boxrec.com/en/referee/
 * https://boxrec.com/media/index.php?title=Human:

No parameters and Wikidata property not defined
Usage:

Output:

Instructions

 * 1) Go to the BoxRec website and enter the boxer's name in the search box.
 * 2) On the search results page, click the correct link for the boxer's page.
 * 3) The page URL should look like   or , where   is the ID number for the boxer.
 * 4) Add one of the following to the external links section of the boxer's Wikipedia article:
 * where  is the boxer's ID number from the URL
 * and  is the boxer's name. If the name is not specified, the template will display the Wikipedia article name, without any disambiguation such as "(boxer)".
 * where  is the boxer's ID number from the URL
 * and  is the boxer's name. If the name is not specified, the template will display the Wikipedia article name, without any disambiguation such as "(boxer)".

TemplateData
{ "description": "This template displays an external link to a professional or amateur boxer's page at the BoxRec website (boxrec.com). 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. Examples: 866591 is the ID portion of https://boxrec.com/en/amateurboxer/866591 and 9027 is the ID portion of https://boxrec.com/en/proboxer/9027. This parameter is optional if Wikidata property P1967 exists, but required if not.", "type": "number", "required": false, "default": "Wikidata property P1967" },   "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 boxer. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as \"(boxer)\".", "type": "string", "required": false, "default": "" },   "archive": { "label": "archive", "description": "Number representing the date/time in an Internet Archive URL, such as 20170224101131 in https://web.archive.org/web/20170224101131/http://boxrec.com/boxer/9027.", "type": "number", "required": false } },  "paramOrder": [ "id", "name", "archive" ] }

Tracking categories

 * template with ID
 * template missing ID
 * template missing ID
 * template missing ID