Boxing record for {{{name}}} from BoxRec (registration required)
This is the template sandbox page for Template:BoxRec (diff). See also the companion subpage for test cases. |
This template is used on approximately 5,400 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:BoxRec 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.
Unnamed parameters:
{{BoxRec | ID }}
{{BoxRec | ID | NAME }}
Named parameters:
{{BoxRec | id= ID }}
{{BoxRec | id= ID | name= NAME }}
{{BoxRec | id= ID | archive= NUMBER }}
{{BoxRec | id= ID | name= NAME | archive= NUMBER }}
Using Wikidata property:
{{BoxRec}}
{{BoxRec | name= NAME }}
{{BoxRec | archive= NUMBER }}
{{BoxRec | name= NAME | archive= NUMBER }}
Usage:
* {{BoxRec | 866591 | Chungneijang Marykom }}
Output:
URLs:
Usage:
* {{BoxRec | id= 9027 | name= Joe Louis | archive= 20170224101131 }}
Output:
URLs:
Usage:
* {{BoxRec}}
Output:
https://boxrec.com/en/amateurboxer/ID
or https://boxrec.com/en/proboxer/ID
, where ID
is the ID number for the boxer.* {{BoxRec|ID}}
* {{BoxRec|ID|NAME}}
ID
is the boxer's ID number from the URLNAME
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 for BoxRec
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
id | id 1 | 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.
| Number | optional |
name | name 2 | 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)".
| String | optional |
archive | archive | 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. | Number | optional |