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: a23cbbe3fe2af8ab

Jump to content

Template:MileSplit/doc

From Wikipedia, the free encyclopedia

The MileSplit template is designed to give standardised external links to athlete biographies on the MileSplit statistics website. It is intended for use in the external links section of an article.

Usage

[edit]

The template has two input fields:

{{MileSplit|id=ID|name=NAME}}
{{MileSplit|ID|NAME}}
  • The id parameter (or unnamed parameter 1) should contain the number found in the target athlete biography URL. It is optional if Wikidata property P9508 exists, but required if not. Omit the ID to use the Wikidata property.
  • The name parameter (or unnamed parameter 2) is optional and changes the output text for the athlete's name. This defaults to the article name (minus any disambiguation handles in parentheses).

Examples

[edit]

Named parameters

[edit]

The profile for Grant Fisher is:

https://www.milesplit.com/athletes/2336650 (redirect to URL below)
https://ca.milesplit.com/athletes/2336650-grant-fisher

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:

* {{MileSplit|id=2336650}}

This will appear in the article as below:

Unnamed parameters

[edit]

The profile for Trevante Rhodes is:

https://www.milesplit.com/athletes/60653 (redirect to URL below)
https://tx.milesplit.com/athletes/60653-trevante-rhodes

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:

* {{MileSplit|60653}}

This will appear in the article as below:

No parameters and Wikidata property not defined

[edit]

Usage

* {{MileSplit}}

Output

  • {{MileSplit}} template missing ID and not present in Wikidata.

See also

[edit]