Template:CGF profile/doc
| This is a documentation subpage for Template:CGF profile. It contains usage information, categories and other content that is not part of the original template page. |
| This template uses Lua: |
Template:CGF profile displays an external link to an athlete's profile at TheCGF.com, the official website of the Commonwealth Games Federation (CGF). It is intended for use in the external links section of an article.
Contents
Usage
Unnamed parameters:
Named parameters:
Using Wikidata property Template:Property:
Examples
ID in template
Usage in the article Anna Meares, with article name as link text:
Usage with name parameter as link text:
Output:
- Anna Meares at the Commonwealth Games FederationScript error: No such module "EditAtWikidata".
URL:
ID in Wikidata
Usage in the article Greg Yelavich:
Output:
- Greg Yelavich at the Commonwealth Games FederationScript error: No such module "EditAtWikidata".

- Greg Yelavich at the Commonwealth Games FederationScript error: No such module "EditAtWikidata".
URL:
No ID in template or Wikidata
Usage:
Output:
- Template:PAGENAMEBASE at the Commonwealth Games FederationScript error: No such module "EditAtWikidata".
TemplateData
TemplateData for CGF profile
This template displays an external link to an athlete's profile at TheCGF.com, the official website of the Commonwealth Games Federation (CGF). It is intended for use in the external links section of an article.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| id | id 1 | The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: 45939 is the ID portion of 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 "name" parameter (or unnamed parameter "2") may be used to specify 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 |
See also
- {{IOC profile}} for links to profiles from the International Olympic Committee
External links