Template:Team Scotland
![](http://upload.wikimedia.org/wikipedia/commons/thumb/f/ff/Wikidata-logo.svg/40px-Wikidata-logo.svg.png)
![]() | This template uses Lua: |
Template:Team Scotland displays an external link to an athlete's profile at TeamScotland.scot, the official website of Commonwealth Games Scotland (CGS). It is intended for use in the external links section of an article.
Usage
[edit]- Unnamed parameters
{{Team Scotland | ID }}
{{Team Scotland | ID | NAME }}
- Named parameters
{{Team Scotland | id= ID }}
{{Team Scotland | id= ID | name= NAME }}
- Using Wikidata property
{{Team Scotland}}
{{Team Scotland | name= NAME }}
Examples
[edit]Unnamed parameters
[edit]- Usage
* {{Team Scotland | eilish-mccolgan | Eilish McColgan }}
- Output
Named parameters
[edit]- Usage
* {{Team Scotland |id= james-heatly |name= James Heatly }}
- Output
No parameters and Wikidata property not defined
[edit]- Usage
* {{Team Scotland}}
- Output
-
- {{Team Scotland}} template missing ID and not present in Wikidata.
TemplateData
[edit]TemplateData for Team Scotland
This template displays an external link to an athlete's profile at TeamScotland.scot, the official website of Commonwealth Games Scotland (CGS). It is intended for use in the external links section of an article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | id 1 | The ID portion of the URL, such as eilish-mccolgan in https://www.teamscotland.scot/athlete/eilish-mccolgan/. This parameter is optional if Wikidata property P12311 exists, but required if not.
| String | optional |
Name | name 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)".
| String | optional |
See also
[edit]- {{CGF profile}} for athlete profiles from the Commonwealth Games Federation
- P4548: Commonwealth Games Federation athlete ID (archived)
- {{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 Wales}} for athlete profiles from Commonwealth Games Wales
- P12193: Team Wales athlete ID