Jump to content

Template:InterSportStats/doc

From Wikipedia, the free encyclopedia

Template:InterSportStats displays an external link to a sportperson's profile at InterSportStats.com. It is intended for use in the external links section of an article.

Usage

[edit]
Article name as link text
{{InterSportStats | ID }}
{{InterSportStats | id= ID }}
Parameter as link text
{{InterSportStats | ID | NAME }}
{{InterSportStats | id= ID | name= NAME }}

Examples

[edit]

Article name as link text

[edit]
Usage in Thiago Pereira
* {{InterSportStats | 21927 }}
* {{InterSportStats | id= 21927 }}
Output
URL
https://intersportstats.com/athletes/21927
[edit]
Usage
* {{InterSportStats | 24213 | Emma McKeon }}
* {{InterSportStats | id= 24213 | name= Emma McKeon }}
Output
URL
https://intersportstats.com/athletes/24213

No ID in template

[edit]
Usage
* {{InterSportStats}}
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:InterSportStats in articles based on its TemplateData.

TemplateData for InterSportStats

This template displays an external link to a sportperson's profile at InterSportStats.com. It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
IDid 1

The ID number in the URL, such as 21927 in https://intersportstats.com/athletes/21927.

Example
21927
Numberrequired
Namename 2

The link text, which should be the name of the sportsperson. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(athlete)".

Default
{{PAGENAMEBASE}}
Example
Thiago Pereira
Stringoptional

See also

[edit]
  • {{Olympedia}}, for Olympic medalists and competitors
[edit]