Template:2006 Commonwealth Games profile/doc

From Wikipedia, the free encyclopedia

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

Usage[edit]

Using Wikidata property
{{2006 Commonwealth Games profile}}
{{2006 Commonwealth Games profile | name= NAME }}
Unnamed parameters
{{2006 Commonwealth Games profile | ID }}
{{2006 Commonwealth Games profile | ID | NAME }}
Named parameters
{{2006 Commonwealth Games profile | id= ID }}
{{2006 Commonwealth Games profile | id= ID | name= NAME }}
{{2006 Commonwealth Games profile | id= ID | name= NAME | archive= NUMBER }}

Examples[edit]

Unnamed parameters[edit]

Usage in Paddy Barnes
* {{2006 Commonwealth Games profile | 100079 | Patrick Barnes }}
Output
URL
http://melbourne2006.com.au/Participants/Participants?ID=100079 (archive 2015-02-02)
Alternate URL
http://m2006.thecgf.com/Participants/Participants?ID=100079

Named parameters[edit]

Usage in Stephanie Sang
* {{2006 Commonwealth Games profile |id= 110214 |archive= 20150403031011 }}
* {{2006 Commonwealth Games profile |id= 110214 |archive= 20150403031011 |archive2= 20221111022155 }}
Output
URL
http://melbourne2006.com.au/Participants/Participants?ID=110214 (archive 2015-04-03)
Alternate URL
http://m2006.thecgf.com/Participants/Participants?ID=110214 (archive 2022-11-11)

No parameters[edit]

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

TemplateData for 2006 Commonwealth Games profile

This template displays an external link to an athlete's profile at Melbourne2006.com.au, an official website of the Melbourne 2006 Commonwealth Games. 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 110214 in http://melbourne2006.com.au/Participants/Participants?ID=110214 or http://m2006.thecgf.com/Participants/Participants?ID=110214. This parameter is optional if Wikidata property P5716 exists, but required if not.

Default
Wikidata property P5716
Example
110214
Numberoptional
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
Stephanie Sang
Stringoptional
Internet Archive date/time (melbourne2006.com.au)archive

A number indicating the date and time of an archive at the Internet Archive website, such as 20150403031011 in https://web.archive.org/web/20150403031011/http://melbourne2006.com.au/Participants/Participants?ID=110214 (2015-04-03 03:10:11 archive of http://melbourne2006.com.au/Participants/Participants?ID=110214).

Default
1 (first archive)
Example
20150403031011
Numberoptional
Internet Archive date/time (m2006.thecgf.com)archive2

A number indicating the date and time of an archive at the Internet Archive website, such as 20221111022155 in https://web.archive.org/web/20221111022155/http://m2006.thecgf.com/Participants/Participants?ID=110214 (2022-11-11 02:21:55 archive of http://m2006.thecgf.com/Participants/Participants?ID=110214).

Example
20221111022155
Numberoptional

See also[edit]

External links[edit]