Jump to content

Template:Swimming Australia/doc

From Wikipedia, the free encyclopedia

Template:Swimming Australia displays an external link to a swimmer's profile from Swimming Australia, the national sport governing body for competitive swimming in Australia. It is intended for use in the external links section of an article.

Usage

[edit]
ID in Wikidata
{{Swimming Australia}}
{{Swimming Australia | name= NAME }}
ID in template
{{Swimming Australia | ID }}
{{Swimming Australia | ID | NAME }}
{{Swimming Australia | id= ID }}
{{Swimming Australia | id= ID | name= NAME }}

Examples

[edit]

ID in Wikidata

[edit]
Usage in the article Cate Campbell
* {{Swimming Australia}}
* {{Swimming Australia | name= Cate Campbell }}
Output
Former URL
https://www.swimming.org.au/athletes/cate-campbell (archive)

ID in template

[edit]
Usage in the article Brenden Hall, with article name as link text
* {{Swimming Australia | brenden-hall }}
* {{Swimming Australia | id= brenden-hall }}
Usage with name parameter as link text
* {{Swimming Australia | brenden-hall | Brenden Hall }}
* {{Swimming Australia | id= brenden-hall | name= Brenden Hall }}
Output
Former URLs
https://www.swimming.org.au/athletes/brenden-hall (archive)
https://www.swimming.org.au/Home/AustralianDolphins/AthleteProfile.aspx?AthleteID=44 (archive)

No ID in template or Wikidata

[edit]
Usage
* {{Swimming Australia}}
Output

TemplateData

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

TemplateData for Swimming Australia

This template displays an external link to a swimmer's profile from Swimming Australia, the national sport governing body for competitive swimming in Australia. It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
IDid 1

The ID portion of the URL, such as brenden-hall in https://www.swimming.org.au/athletes/brenden-hall. This parameter is optional if Wikidata property P3669 exists.

Default
Wikidata property P3669
Example
brenden-hall
Stringoptional
Namename 2

The link text, which should be the name of the swimmer. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(swimmer)".

Default
{{PAGENAMEBASE}}
Example
Brenden Hall
Stringoptional

See also

[edit]
[edit]