Jump to content

Template:2018 Commonwealth Games profile/doc

From Wikipedia, the free encyclopedia

Template:2018 Commonwealth Games profile displays an external link to an athlete's archived profile from results.GC2018.com, an official website of the Gold Coast 2018 Commonwealth Games. It is intended for use in the external links section of an article.

Usage

[edit]
Unnamed parameters
{{2018 Commonwealth Games profile | ID }}
{{2018 Commonwealth Games profile | ID | NAME }}
Named parameters
{{2018 Commonwealth Games profile | id= ID }}
{{2018 Commonwealth Games profile | id= ID | name= NAME }}
{{2018 Commonwealth Games profile | id= ID | name= NAME | archive= NUMBER }}

Examples

[edit]

Unnamed parameters

[edit]

Usage in Ana Moceyawa

Usage
* {{2018 Commonwealth Games profile | wrestling/athlete-profile-n6021206-ana-moceyawa }}
Output
URL

Named parameters

[edit]

Usage in Adam Peaty

Usage
* {{2018 Commonwealth Games profile |id= swimming/athlete-profile-n6049383-adam-peaty |archive= 20230423171631 }}
Output
URL
https://web.archive.org/web/20230423171631/https://results.gc2018.com/en/swimming/athlete-profile-n6049383-adam-peaty.htm

No parameters

[edit]
Usage
* {{2018 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:2018 Commonwealth Games profile in articles based on its TemplateData.

TemplateData for 2018 Commonwealth Games profile

This template displays an external link to an athlete's archived profile from results.GC2018.com, an official website of the Gold Coast 2018 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 swimming/athlete-profile-n6049383-adam-peaty in https://results.gc2018.com/en/swimming/athlete-profile-n6049383-adam-peaty.htm.

Example
swimming/athlete-profile-n6049383-adam-peaty
Stringrequired
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
Adam Peaty
Stringoptional
Internet Archive date/timearchive

A number indicating the date and time of an archive at the Internet Archive website, such as 20230423171631 in https://web.archive.org/web/20230423171631/https://results.gc2018.com/en/swimming/athlete-profile-n6049383-adam-peaty.htm (2023-04-23 17:16:31 archive of https://results.gc2018.com/en/swimming/athlete-profile-n6049383-adam-peaty.htm).

Default
2022
Example
20230423171631
Numberoptional

See also

[edit]
[edit]