Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a45b09ec1b24eee6

Jump to content

Template:TFRRS/doc

From Wikipedia, the free encyclopedia

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

Usage

[edit]

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

{{TFRRS|id=|name=|xc=|teamslug=|nameslug=}}
  • 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 {{TFRRS|id=5095490|name=Andre De Grasse|teamslug=USC|nameslug=Andre_De_Grasse}} 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: {{TFRRS|name=Andre De Grasse|id1=5095490|label1=At the University of Southern California|id2=4207601|label2=At Coffeyville Community College}}

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

[edit]

The indoor and outdoor track and field profile for Justyn Knight is:

https://www.tfrrs.org/athletes/5111450/Syracuse/Justyn_Knight.html

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:

* {{TFRRS|id=5111450}}

This will appear in the article as below:

Cross country page

[edit]

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

URL
https://xc.tfrrs.org/athletes/5111450/Syracuse/Justyn_Knight.html
Usage in Justyn Knight
* {{TFRRS|id=5111450|xc=yes}}
Output

Using nameslug and teamslug parameters

[edit]
URL
https://www.tfrrs.org/athletes/5095490/USC/Andre_De_Grasse.html
Usage
* {{TFRRS |id= 5095490 |name= Andre De Grasse |teamslug= USC |nameslug= Andre_De_Grasse }}
Output
[edit]
URLs
https://www.tfrrs.org/athletes/5095490/USC/Andre_De_Grasse.html
https://www.tfrrs.org/athletes/4207601/Coffeyville_CC/Andre_De_Grasse.html
Usage
* {{TFRRS |name= Andre De Grasse |id1= 5095490 |label1= University of Southern California |id2= 4207601 |label2= Coffeyville Community College }}
* {{TFRRS |name= Andre De Grasse |id1= 5095490/USC/Andre_De_Grasse |label1= University of Southern California |id2= 4207601/Coffeyville_CC/Andre_De_Grasse |label2= Coffeyville Community College }}
* {{TFRRS |name= Andre De Grasse |id1= 5095490 |teamslug1= USC |nameslug1= Andre_De_Grasse |label1= University of Southern California |id2= 4207601 |teamslug2= Coffeyville_CC |nameslug2= Andre_De_Grasse |label2= Coffeyville Community College }}
Output

Tracking categories

[edit]

See also

[edit]