This is a documentation subpage for Template:USATF. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
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
editUsing |new_id=
edit
- Usage
* {{USATF | new_id= shannon-rowbury | name= Shannon Rowbury }}
- Output
Using |id=
or unnamed parameter (archived link)
edit
- Usage
* {{USATF | Shannon-Rowbury | Shannon Rowbury }}
* {{USATF | id= Shannon-Rowbury | name= Shannon Rowbury | archive= 20221225085701 }}
- Output
-
- Shannon Rowbury at legacy.USATF.org (archived)
- Shannon Rowbury at legacy.USATF.org (archived December 25, 2022)
- 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
-
- Shani Marks at legacy.USATF.org (archived)
- Shani Marks at legacy.USATF.org (archived September 18, 2023)
- 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
Using Wikidata property P3926 (archived link)
edit- Usage in the article Mookie Salaam
* {{USATF}}
* {{USATF | name= Mookie Salaam | archive= 20220925085352 }}
- Output
-
- Mookie Salaam at legacy.USATF.org (archived)
- Mookie Salaam at legacy.USATF.org (archived September 25, 2022)
- 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
editTemplateData 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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
New ID | new_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.
| String | optional |
Old ID 2 | id 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.
| String | optional |
Old ID 1 | old_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. | String | optional |
Name | name 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)".
| String | optional |
Archive | archive | 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).
| Number | optional |
Tracking categories
edit- template using
|new_id=
- Category:USATF template using new_id parameter different from Wikidata (0)
- Category:USATF template using new_id parameter not in Wikidata (24)
- template using
|id=
or first unnamed parameter
- Category:USATF template using id parameter different from Wikidata (0)
- Category:USATF template using id parameter not in Wikidata (1)
- template using
|old_id=
- template missing ID
- Category:USATF template using Wikidata property P10634 (156)
- Category:USATF template using Wikidata property P3926 (17)
- Category:USATF template missing ID and not in Wikidata (0)
See also
edit- {{USATF Hall of Fame}} for links to profiles at the USA Track & Field (legacy.usatf.org) Hall of Fame website
- {{World Athletics}} for links to profiles at the website of World Athletics (formerly known as IAAF)
External links
editFind 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: