Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a44fb53c1fb70555

Jump to content

Template:Team Scotland/doc

From Wikipedia, the free encyclopedia

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]

Omit the ID to use the Wikidata property.

Article name as link text
{{Team Scotland | ID }}
{{Team Scotland | id= ID }}
Parameter as link text
{{Team Scotland | ID | NAME }}
{{Team Scotland | id= ID | name= NAME }}

Examples

[edit]

Article name as link text

[edit]
Usage in Eilish McColgan
* {{Team Scotland | eilish-mccolgan }}
* {{Team Scotland | id= eilish-mccolgan }}
Output
URL
https://www.teamscotland.scot/athlete/eilish-mccolgan/
[edit]
Usage
* {{Team Scotland | james-heatly | James Heatly }}
* {{Team Scotland | id= james-heatly | name= James Heatly }}
Output
URL
https://www.teamscotland.scot/athlete/james-heatly/

No parameters and Wikidata property not defined

[edit]
Usage
* {{Team Scotland}}
Output
  • {{Team Scotland}} template missing ID and not present in Wikidata.

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Team Scotland in articles based on its TemplateData.

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.

Template parameters

ParameterDescriptionTypeStatus
IDid 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.

Default
Wikidata property P12311
Example
eilish-mccolgan
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
Eilish McColgan
Stringoptional

See also

[edit]
[edit]