Jump to content

Template:USATF/doc

From Wikipedia, the free encyclopedia

Template:USATF displays an external link to an athlete's profile at the official USA Track & Field website. It is intended for use in the external links section of an article.

Usage

[edit]
Using article name as link text
{{USATF|new_id=first-last}}
{{USATF|id=First-Last}} or {{USATF|First-Last}}
{{USATF|old_id=Last_First}}
{{USATF}} – using Wikidata property P10634 or P3926
Using name parameter as link text
{{USATF|new_id=first-last|name=Displayed Name}}
{{USATF|id=First-Last|name=Displayed Name}} or {{USATF|First-Last|Displayed Name}}
{{USATF|old_id=Last_First|name=Displayed Name}}
{{USATF|name=Displayed Name}} – using Wikidata property P10634 or P3926

Examples

[edit]

Using |new_id=

[edit]
Usage
* {{USATF | new_id= shannon-rowbury | name= Shannon Rowbury }}
Output
Current URL
https://www.usatf.org/athlete-bios/shannon-rowbury

Using |id= or unnamed parameter (archived link)

[edit]
Usage
* {{USATF | Shannon-Rowbury | Shannon Rowbury }}
* {{USATF | id= Shannon-Rowbury | name= Shannon Rowbury | archive= 20221225085701 }}
Output
Archived URLs
https://web.archive.org/web/20230921000000/http://legacy.usatf.org/Athlete-Bios/Shannon-Rowbury.aspx
https://web.archive.org/web/20221225085701/http://legacy.usatf.org/Athlete-Bios/Shannon-Rowbury.aspx
Former URL
http://www.usatf.org/Athlete-Bios/Shannon-Rowbury.aspx (archive October 9, 2019)

Using |old_id= (archived link)

[edit]
Usage
* {{USATF | old_id= Marks_Shani | name= Shani Marks }}
* {{USATF | old_id= Marks_Shani | name= Shani Marks | archive= 20230918012859 }}
Outputf
Archived URLs
https://web.archive.org/web/20230921000000/http://legacy.usatf.org/athletes/bios/Marks_Shani.asp
https://web.archive.org/web/20230918012859/http://legacy.usatf.org/athletes/bios/Marks_Shani.asp
Former URL
http://www.usatf.org/athletes/bios/Marks_Shani.asp (archive October 7, 2018)

Using Wikidata property P10634

[edit]
Usage in the article Christina Clemons
* {{USATF}}
* {{USATF | name= Christina Clemons }}
Output
Current URL
https://www.usatf.org/athlete-bios/christina-clemons

Using Wikidata property P3926 (archived link)

[edit]
Usage in the article Mookie Salaam
* {{USATF}}
* {{USATF | name= Mookie Salaam | archive= 20220925085352 }}
Output
Archived URLs
https://web.archive.org/web/20230921000000/http://legacy.usatf.org/Athlete-Bios/Mookie-Salaam.aspx
https://web.archive.org/web/20220925085352/http://legacy.usatf.org/Athlete-Bios/Mookie-Salaam.aspx
Former URL
http://www.usatf.org/Athlete-Bios/Mookie-Salaam.aspx (archive January 20, 2019)

No ID in template or Wikidata

[edit]
Usage
* {{USATF}}
Output
  • {{USATF}} template missing ID and not present in Wikidata.

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:USATF in articles based on its TemplateData.

TemplateData for USATF

This template displays an external link to an athlete's profile at the official USA Track & Field website. It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
New IDnew_id

The ID portion of a current www.usatf.org URL using the format first-last, such as shannon-rowbury in https://www.usatf.org/athlete-bios/shannon-rowbury. This parameter is optional if any other ID parameter is used or if Wikidata properties P10634 or P3926 exist.

Default
Wikidata property P10634
Stringoptional
Old ID 2id 1

The ID portion of a former legacy.usatf.org URL using the format First-Last, such as Shannon-Rowbury in http://legacy.usatf.org/Athlete-Bios/Shannon-Rowbury.aspx. This parameter is optional if any other ID parameter is used or if Wikidata properties P10634 or P3926 exist.

Default
Wikidata property P3926
Stringoptional
Old ID 1old_id

The ID portion of a former legacy.usatf.org URL using the format Last_First, such as Marks_Shani in http://legacy.usatf.org/athletes/bios/Marks_Shani. This parameter is optional if any other ID parameter is used or if Wikidata properties P10634 or P3926 exist.

Stringoptional
Namename 2

The link text, which should be the name of the athlete. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(athlete)".

Default
{{PAGENAMEBASE}}
Stringoptional
Archivearchive

Number representing the date/time in an Internet Archive URL, such as 20221225085701 in https://web.archive.org/web/20221225085701/http://legacy.usatf.org/Athlete-Bios/Shannon-Rowbury.aspx (with "id" or unnamed parameter) or 20230918012859 in https://web.archive.org/web/20230918012859/http://legacy.usatf.org/athletes/bios/Marks_Shani.asp (with "old_id" parameter).

Default
20230921000000
Numberoptional

Tracking categories

[edit]
template using |new_id=
template using |id= or first unnamed parameter
template using |old_id=
template missing ID

See also

[edit]
[edit]

Find athlete IDs to use with |new_id= parameter:

Find athlete IDs to use with |id= or unnamed parameter:

Find athlete IDs for |old_id= parameter: