Jump to content

Template:2014 Commonwealth Games profile/doc

From Wikipedia, the free encyclopedia

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

Usage

[edit]
Using Wikidata property
{{2014 Commonwealth Games profile}}
{{2014 Commonwealth Games profile | name= NAME }}
Unnamed parameters
{{2014 Commonwealth Games profile | ID }}
{{2014 Commonwealth Games profile | ID | NAME }}
Named parameters
{{2014 Commonwealth Games profile | id= ID }}
{{2014 Commonwealth Games profile | id= ID | name= NAME }}
{{2014 Commonwealth Games profile | id= ID | name= NAME | archive= NUMBER }}

Examples

[edit]

Unnamed parameters

[edit]
Usage in Grace Reid
* {{2014 Commonwealth Games profile | diving/1026541/grace_reid }}
* {{2014 Commonwealth Games profile | 1026541 }}
Output
URL
http://results.glasgow2014.com/athlete/diving/1026541/grace_reid.html (archive 2022-11-10)
http://results.glasgow2014.com/athlete/-/1026541/ (archive 2020-01-27)
Alternate URL
http://g2014results.thecgf.com/athlete/diving/1026541/grace_reid.html (archive 2022-11-11)
http://g2014results.thecgf.com/athlete/-/1026541/ (archive 2022-11-11)

Named parameters

[edit]
Usage in Paul Foster (bowls)
* {{2014 Commonwealth Games profile |id= lawn_bowls/1026891/paul_foster |archive= 20220922014943 }}
* {{2014 Commonwealth Games profile |id= 1026891 |archive= 20221111195417 }}
Output
URL
http://results.glasgow2014.com/athlete/lawn_bowls/1026891/paul_foster.html (archive 2022-09-22)
http://results.glasgow2014.com/athlete/-/1026891/ (archive 2022-11-11)
Alternate URL
http://g2014results.thecgf.com/athlete/lawn_bowls/1026891/paul_foster.html (archive 2022-11-11)
http://g2014results.thecgf.com/athlete/-/1026891/ (archive 2022-11-11)

No parameters

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

TemplateData for 2014 Commonwealth Games profile

This template displays an external link to an athlete's archived profile from results.Glasgow2014.com, an official website of the Glasgow 2014 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 diving/1026541/grace_reid in http://results.glasgow2014.com/athlete/diving/1026541/grace_reid.html. The template with also work with just the ID number, such as 1026541. This parameter is optional if Wikidata property P6953 exists, but required if not.

Default
Wikidata property P6953
Example
diving/1026541/grace_reid or 1026541
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
Grace Reid
Stringoptional
Internet Archive date/timearchive

A number indicating the date and time of an archive at the Internet Archive website, such as 20221110215718 in https://web.archive.org/web/20221110215718/http://results.glasgow2014.com/athlete/diving/1026541/grace_reid.html (2022-11-10 21:57:18 archive of http://results.glasgow2014.com/athlete/diving/1026541/grace_reid.html).

Default
2022
Example
20221110215718
Numberoptional

See also

[edit]
[edit]