Template:Commonwealth Games Australia displays an external link to an athlete's profile at CommonwealthGames.com.au, the official website of Commonwealth Games Australia. It is intended for use in the external links section of an article.

Usage edit

Unnamed parameters
{{Commonwealth Games Australia | ID }}
{{Commonwealth Games Australia | ID | NAME }}
Named parameters
{{Commonwealth Games Australia | id= ID }}
{{Commonwealth Games Australia | id= ID | name= NAME }}
Using Wikidata property
{{Commonwealth Games Australia}}
{{Commonwealth Games Australia | name= NAME }}

Examples edit

Unnamed parameters edit

Usage
* {{Commonwealth Games Australia | cathy-freeman | Cathy Freeman }}
Output
URL
https://commonwealthgames.com.au/athletes/cathy-freeman/

Named parameters edit

Usage
* {{Commonwealth Games Australia |id= daniel-clark |name= Daniel Clark }}
Output
URL
https://commonwealthgames.com.au/athletes/daniel-clark/

No parameters and Wikidata property not defined edit

Usage
* {{Commonwealth Games 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:Commonwealth Games Australia in articles based on its TemplateData.

TemplateData for Commonwealth Games Australia

This template displays an external link to an athlete's profile at CommonwealthGames.com.au, the official website of Commonwealth Games 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 cathy-freeman in https://commonwealthgames.com.au/athletes/cathy-freeman/. This parameter is optional if Wikidata property P12310 exists, but required if not.

Default
Wikidata property P12310
Example
cathy-freeman
Stringoptional
Namename 2

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

Default
{{PAGENAMEBASE}}
Example
Cathy Freeman
Stringoptional

See also edit

External links edit