Template:AIBA/doc

From blackwiki
< Template:AIBA
Revision as of 09:51, 4 February 2020 by blackwiki>Zyxw (create)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:AIBA displays an external link to a amateur boxer's page at the AIBA website. It is intended for use in the external links section of an article.

Usage

Unnamed parameters:

{{AIBA | ID }}
{{AIBA | ID | NAME }}

Named parameters:

{{AIBA | id= ID }}
{{AIBA | id= ID | name= NAME }}

Examples

Unnamed parameters

Usage:

  • {{AIBA | robson-concencaio-60-kg | Robson Concencaio }}

Output:

URL:

https://www.aiba.org/robson-concencaio-60-kg/

Named parameters

Usage:

  • {{AIBA |id= 60kg-joseph-cordina |name= Joseph Cordina }}

Output:

URL:

https://www.aiba.org/60kg-joseph-cordina/

No parameters

Usage
  • {{AIBA}}
Output
  • {{AIBA}} template missing ID.

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for AIBA

This template displays an external link to a amateur boxer's page at the AIBA website. 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 for the boxer's profile. Example: robson-concencaio-60-kg is the ID portion of https://www.aiba.org/robson-concencaio-60-kg/.

Stringrequired
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