Difference between revisions of "Template:AIBA/doc"
blackwiki>Zyxw (create) |
blackwiki>John of Reading m (Typo fixing, replaced: a amateur boxer's → an amateur boxer's (2)) |
||
| Line 2: | Line 2: | ||
<!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata --> | <!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata --> | ||
| − | '''{{NAMESPACE}}:{{BASEPAGENAME}}''' displays an external link to | + | '''{{NAMESPACE}}:{{BASEPAGENAME}}''' displays an external link to an [[amateur boxing|amateur boxer]]'s page at the [[International Boxing Association (amateur)|AIBA]] website. It is intended for use in the [[Wikipedia:External links|external links]] section of an article. |
== Usage == | == Usage == | ||
| Line 46: | Line 46: | ||
<templatedata> | <templatedata> | ||
{ | { | ||
| − | "description": "This template displays an external link to | + | "description": "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.", |
"params": { | "params": { | ||
"id": { | "id": { | ||
Revision as of 12:03, 17 July 2020
| This is a documentation subpage for Template:AIBA. It contains usage information, categories and other content that is not part of the original template page. |
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.
Contents
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:
Named parameters
Usage:
{{AIBA |id= 60kg-joseph-cordina |name= Joseph Cordina }}
Output:
URL:
No parameters
- Usage
-
{{AIBA}}
- Output
-
- {{AIBA}} template missing ID.
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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| ID | id 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/. | String | required |
| 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 |