Template:TFRRS/doc

The TFRRS template is designed to give standardised external links to athlete biographies on the Track & Field Results Reporting System (TFRRS) statistics website.

Usage
The template has five basic input fields, but only id= (which can also just be the first unnamed argument) is mandatory:


 * 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 xc field is optional. If populated this will change the URL to access the cross country side of the database, https://xc.tfrrs.org/.
 * The nameslug and teamslug fields, which are optional but must be used together if either is used, are useful to preserve the original URL format, if you would want to do that. So for example if you wanted to encode the USC and Andre_De_Grasse parts of the https://www.tfrrs.org/athletes/5095490/USC/Andre_De_Grasse.html URL, you could use to make the linked URL appear as per the original, rather than the brief https://www.tfrrs.org/athletes/5095490 version.

In addition, the id, xc, teamslug, nameslug, and a new label parameter may all be numbered starting from 1, to link multiple TFRRS profile pages to one person or entity, useful for transfers or accounting for database discrepancies. So to link Andre De Grasse's profiles from University of Southern California (with an ID of 5095490) and Coffeyville Community College (with an ID of 5720200), you could do the following:

If you are linking multiple TFRRS profiles to one entity, using numbered label parameters is recommended to avoid bare URLs. There is no limit to the number of TFRRS URLs you can link this way.

Examples
The indoor and outdoor track and field profile for Justyn Knight is https://tfrrs.org/athletes/5111450/

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:

*

This will appear in the article as below:



Cross country page
Cross country results can be shown with the 'xc' parameter. For example:

*

This will appear in the article as below:



Using nameslug and teamslug parameters
*



Multiple links
*