Jump to content

Template:2010 Commonwealth Games profile/doc

From Wikipedia, the free encyclopedia

Template:2010 Commonwealth Games profile displays an external link to an athlete's profile for the Delhi 2010 Commonwealth Games. It is intended for use in the external links section of an article.

Usage[edit]

Unnamed parameters
{{2010 Commonwealth Games profile | ID }}
{{2010 Commonwealth Games profile | ID | NAME }}
Named parameters
{{2010 Commonwealth Games profile | id= ID }}
{{2010 Commonwealth Games profile | id= ID | name= NAME }}

Examples[edit]

Unnamed parameters[edit]

Usage
* {{2010 Commonwealth Games profile | 843458 | Grace Reid }}
Output
URL
http://cwgdelhi2010.infostradasports.com/asp/lib/TheASP.asp?pageid=8937&personid=843458

Named parameters[edit]

Usage
* {{2010 Commonwealth Games profile |id= 436597 |name= Chris Tomlinson }}
Output
URL
http://cwgdelhi2010.infostradasports.com/asp/lib/TheASP.asp?pageid=8937&personid=436597

No parameters[edit]

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

TemplateData for 2010 Commonwealth Games profile

This template displays an external link to an athlete's profile for the Delhi 2010 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 843458 in http://cwgdelhi2010.infostradasports.com/asp/lib/TheASP.asp?pageid=8937&personid=843458.

Example
843458
Numberrequired
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

See also[edit]

External links[edit]