Template:BoxRec/doc

Template:BoxRec displays an external link to a professional boxer's page at the BoxRec website (boxrec.com). It is intended for use in the external links sectio

Template:BoxRec/doc

Template:BoxRec displays an external link to a professional boxer's page at the BoxRec website (boxrec.com). It is intended for use in the external links section of an article.

Usage

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 boxer ID (P1967):

{{BoxRec}}
{{BoxRec | name= NAME }}
{{BoxRec | archive= NUMBER }}
{{BoxRec | name= NAME | archive= NUMBER }}

Examples

Unnamed parameters

URLs:

http://boxrec.com/boxer/180
http://boxrec.com/en/boxer/180

Usage:

* {{BoxRec | 180 | Muhammad Ali }}

Output:

Named parameters

URLs:

http://boxrec.com/boxer/9027
http://boxrec.com/en/boxer/9027

Usage:

* {{BoxRec | id= 9027 | name= Joe Louis | archive= 20170224101131 }}

Output:

No parameters and Wikidata property not defined

Usage:

* {{BoxRec}}

Output:

  • {{BoxRec}} template missing ID and not present in Wikidata.

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 http://boxrec.com/boxer/ID or http://boxrec.com/en/boxer/ID, where ID is the ID number for the boxer.
  4. Add one of the following to the external links section of the boxer's Wikipedia article:
    * {{BoxRec|ID}}
    * {{BoxRec|ID|NAME}}
    where ID is the boxer's ID number from the URL
    and NAME 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

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:BoxRec in articles based on its TemplateData.

TemplateData for BoxRec

This template displays an external link to a professional boxer's page at the BoxRec website (boxrec.com). It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
idid 1

The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: 180 is the ID portion of http://boxrec.com/boxer/180 or http://boxrec.com/en/boxer/180. This parameter is optional if Wikidata property P1967 exists, but required if not.

Default
Wikidata property P1967
Numberoptional
namename 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)".

Default
{{PAGENAMEBASE}}
Stringoptional
archivearchive

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.

Numberoptional

Tracking categories

"id" parameter exists
"id" parameter does not exist

See also


Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.