Template:Tilastopaja
Appearance
{{{name}}} at Tilastopaja (registration required)
![](http://upload.wikimedia.org/wikipedia/commons/thumb/f/ff/Wikidata-logo.svg/40px-Wikidata-logo.svg.png)
This template uses the Wikidata properties:
![]() | This template uses Lua: |
The Tilastopaja template is designed to give standardised external links to athlete biographies on the Tilastopaja statistics website.
Usage
The template has four input fields:
{{Tilastopaja|id=|name=|sex=|fi=}}
- The id field is mandatory and relates to the number found in the target athlete biography URL
- The name field is optional and changes the output text for the athlete's name. This defaults to the article name (minus any disambiguation handles in parentheses).
- The sex field should be used when linking to female athletes. This field must be empty for male athletes and can have any non-empty value for female athletes.
- The fi field is optional. If populated this will change the URL to access the Finnish side of the database. Many Finnish athletes, particularly older ones, are held under the Finnish language portion of the website.
Examples
The profile for Natalya Nazarova is http://www.tilastopaja.net/db/at.php?Sex=2&ID=15345
The final numbers in the URL are the id. So to add this link to the article we would include the following text in the External links section:
{{Tilastopaja|id=15345|sex=w}}
This will appear in the article as below:
- Natalya Nazarova at Tilastopaja (registration required)
Finnish page
Profiles for older athletes, such as Tiina Lillak, are on the Finnish language part of the website and the fi field must be used. For example:
{{Tilastopaja|id=10893|sex=w|fi=yes}}
- Tiina Lillak at Tilastopaja (in Finnish) (registration required)
No parameters and Wikidata property not defined
- Usage
* {{Tilastopaja}}
- Output
-
- {{Tilastopaja}} template missing ID and not present in Wikidata.
Tracking categories
- Category:Tilastopaja template for male athlete (237)
- Category:Tilastopaja template for female athlete (147)