{{{name}}} at the Commonwealth Games Federation (archived)
![]() | This is the template sandbox page for Template:CGF profile (diff). |
![]() | This template uses Lua: |
Template:CGF profile displays an external link to an athlete's profile at the Commonwealth Games Federation former website TheCGF.com (archived). It is intended for use in the external links section of an article.
Usage
edit- Unnamed parameters for ID and Name
{{CGF profile | ID }}
{{CGF profile | ID | NAME }}
{{CGF profile | ID | archive= NUMBER }}
{{CGF profile | ID | NAME | archive= NUMBER }}
- Named parameters for ID and Name
{{CGF profile | id= ID }}
{{CGF profile | id= ID | name= NAME }}
{{CGF profile | id= ID | archive= NUMBER }}
{{CGF profile | id= ID | name= NAME | archive= NUMBER }}
- Using Wikidata property for ID
{{CGF profile}}
{{CGF profile | name= NAME }}
{{CGF profile | archive= NUMBER }}
{{CGF profile | name= NAME | archive= NUMBER }}
Examples
editID in template
edit- Usage in the article Anna Meares, with article name as link text
* {{CGF profile | 45939 }}
* {{CGF profile | id= 45939 | archive = 20220922093923 }}
- Usage with name parameter as link text
* {{CGF profile | 45939 | Anna Meares }}
* {{CGF profile | id= 45939 | name= Anna Meares | archive = 20220922093923 }}
- Output
-
- Anna Meares at the Commonwealth Games Federation (archived)
- Anna Meares at the Commonwealth Games Federation (archived)
- URLs
- https://web.archive.org/web/20220101/https://thecgf.com/results/athletes/45939
- https://web.archive.org/web/20220922093923/https://thecgf.com/results/athletes/45939
ID in Wikidata
edit- Usage in the article Greg Yelavich
* {{CGF profile}}
* {{CGF profile | name= Gregory Yelavich | archive= 20220922093924 }}
- Output
-
- Greg Yelavich at the Commonwealth Games Federation (archived)
- Gregory Yelavich at the Commonwealth Games Federation (archived)
- Greg Yelavich at the Commonwealth Games Federation (archived)
- URLs
- https://web.archive.org/web/20220101/https://thecgf.com/results/athletes/50792
- https://web.archive.org/web/20220922093924/https://thecgf.com/results/athletes/50792
No ID in template or Wikidata
edit- Usage
* {{CGF profile}}
- Output
-
- {{CGF profile}} template missing ID and not present in Wikidata.
TemplateData
editTemplateData for CGF profile
This template displays an external link to an athlete's profile at the Commonwealth Games Federation former website TheCGF.com (archived). It is intended for use in the external links section of an article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | id 1 | The ID number in the URL, such as 45939 in https://thecgf.com/results/athletes/45939. This parameter is optional if Wikidata property P4548 exists, but required if not.
| Number | optional |
Name | name 2 | The link text, which should be the name of the athlete. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(athlete)".
| String | optional |
Internet Archive date/time | archive | A number indicating the date and time of an archive at the Internet Archive website, such as 20220922093923 in https://web.archive.org/web/20220922093923/https://thecgf.com/results/athletes/45939 (2022-09-22 09:39:23 archive of https://thecgf.com/results/athletes/45939).
| Number | optional |
Tracking categories
edit- template with ID
- Category:CGF template with ID different from Wikidata (0)
- Category:CGF template with ID not in Wikidata (1)
- template missing ID
See also
editAthlete profiles by year
edit- {{2006 Commonwealth Games profile}} for athlete profiles from the Melbourne 2006 Commonwealth Games
- P5716: 2006 Commonwealth Games athlete ID (archived)
- {{2010 Commonwealth Games profile}} for athlete profiles from the Delhi 2010 Commonwealth Games
- {{2014 Commonwealth Games profile}} for athlete profiles from the Glasgow 2014 Commonwealth Games
- P6953: 2014 Commonwealth Games athlete ID (archived)
- {{2018 Commonwealth Games profile}} for athlete profiles from the Gold Coast 2018 Commonwealth Games
- {{2022 Commonwealth Games profile}} for athlete profiles from the Birmingham 2022 Commonwealth Games
Athlete profiles by country
edit- {{Commonwealth Games Australia}} for athlete profiles from Commonwealth Games Australia
- P12310: Commonwealth Games Australia athlete ID
- {{Team England}} for athlete profiles from Commonwealth Games England
- {{Team Scotland}} for athlete profiles from Commonwealth Games Scotland
- P12311: Team Scotland athlete ID
- {{Team Wales}} for athlete profiles from Commonwealth Games Wales
- P12193: Team Wales athlete ID
External links
edit- Athletes & Results page at TheCGF.com (archived)