Template:Power of 10
{{{name}}} at Power of 10
This template uses Lua: |
Template:Power of 10 displays an external link to an athlete's profile at the Power of 10 website (thepowerof10.info). 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 athlete ID (P2090):
{{Power of 10}}
{{Power of 10 | name= NAME }}
Examples
[edit]Unnamed parameters
[edit]URL:
Usage:
* {{Power of 10 | 962 | Rebecca Lyne }}
Output:
- Rebecca Lyne at Power of 10
Named parameters
[edit]URL:
Usage:
* {{Power of 10 | id= 1987 | name= Sebastian Coe }}
Output:
- Sebastian Coe at Power of 10
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]TemplateData for Power of 10
This template displays an external link to an athlete's profile at the Power of 10 website (thepowerof10.info). It is intended for use in the external links section of an article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
id | id 1 | The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: 962 is the ID in https://www.thepowerof10.info/athletes/profile.aspx?athleteid=962. This parameter is optional if Wikidata property P2090 exists, but required if not.
| Number | optional |
name | name 2 | The "name" parameter (or unnamed parameter "2") may be used to specify 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)".
| String | optional |
Instructions
[edit]- Go to Power of 10 and search for the athlete.
- Click on the correct link to go to the person's page. Be sure you're getting the right person.
- The page URL should look like:
https://www.thepowerof10.info/athletes/profile.aspx?athleteid=####
- where #### indicates a number.
- 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]- Category:Power of 10 ID same as Wikidata (85)
- Category:Power of 10 ID different from Wikidata (0)
- Category:Power of 10 ID not in Wikidata (40)
See also
[edit]- {{British Athletics}} for link to athlete profile at British Athletics
- {{European Athletics}} for link to athlete profile at European Athletics
- {{World Athletics}} for link to athlete profile at World Athletics