Difference between revisions of "Template:Tilastopaja/doc"
m (remove old template link) |
m (1 revision) |
(No difference)
|
Latest revision as of 04:12, 22 March 2014
40px | This is a documentation subpage for Template:Tilastopaja. It contains usage information, categories and other content that is not part of the original template page. |
The Tilastopaja template is designed to give standardised external links to athlete biographies on the Tilastopaja statistics website.
Contents
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 is optional and must be either "m" for men or "w" for women. This defaults to "m". When linking to female athletes "sex=w" must be included in the template. (This links in with the url structure of the website).
- 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.org/db/atw.php?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:
- Tilastopaja profile for Natalya Nazarova
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}}
- Tilastopaja profile for Tiina Lillak (Finnish)