Jump to content

Template:Power of 10/doc

From Wikipedia, the free encyclopedia

Template:Power of 10 displays an external link to an athlete's profile at Power of 10, a website from UK Athletics, the sports governing body in Great Britain for athletics and para-athletics. It is intended for use in the external links section of an article.

Usage

[edit]
Unnamed parameters
{{Power of 10 | ID }}
{{Power of 10 | ID | NAME }}
Named parameters
{{Power of 10 | id= ID }}
{{Power of 10 | id= ID | name= NAME }}
Using Wikidata property
{{Power of 10}}
{{Power of 10 | name= NAME }}

Examples

[edit]

Unnamed parameters

[edit]
Usage
* {{Power of 10 | 962 | Rebecca Lyne }}
Output
URL
https://www.thepowerof10.info/athletes/profile.aspx?athleteid=962

Named parameters

[edit]
Usage
* {{Power of 10 | id= 1987 | name= Sebastian Coe }}
Output
URL
https://www.thepowerof10.info/athletes/profile.aspx?athleteid=1987

No parameters and Wikidata property not defined

[edit]
Usage
* {{Power of 10}}
Output
  • {{Power of 10}} 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:Power of 10 in articles based on its TemplateData.

TemplateData for Power of 10

This template displays an external link to an athlete's profile at Power of 10, a website from UK Athletics, the sports governing body in Great Britain for athletics and para-athletics. 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 962 in https://www.thepowerof10.info/athletes/profile.aspx?athleteid=962. This parameter is optional if Wikidata property P2090 exists, but required if not.

Default
Wikidata property P2090
Numberoptional
Namename 2

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)".

Default
{{PAGENAMEBASE}}
Stringoptional

Instructions

[edit]
  1. Go to Power of 10 and search for the athlete.
  2. Click on the correct link to go to the person's page. Be sure you're getting the right person.
  3. The page URL should look like:
    https://www.thepowerof10.info/athletes/profile.aspx?athleteid=####
    where #### indicates a number.
  4. Add the following to the article's external links section:
    {{Power of 10|####|Name}}
    where #### is the number from the URL and Name is the athlete's name.

Tracking categories

[edit]

See also

[edit]
[edit]