Template:AIBA/doc

From alpha
Jump to navigation Jump to search

Template:AIBA displays an external link to an 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/Template:Hilite/

Named parameters

Usage:

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

Output:

URL:

https://www.aiba.org/Template:Hilite/

No parameters

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

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for AIBA

This template displays an external link to an 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