Template:ESPN FC/doc: Difference between revisions
add link |
→See also: update |
||
Line 112: | Line 112: | ||
== See also == |
== See also == |
||
Other [[ESPN]] external link templates |
; Other [[ESPN]] external link templates |
||
* {{tl|ESPN MMA}} |
* {{tl|ESPN MMA}} |
||
* {{tl|ESPN NFL}} |
* {{tl|ESPN NFL}} |
||
Line 118: | Line 118: | ||
* {{tl|ESPNcricinfo}} |
* {{tl|ESPNcricinfo}} |
||
* {{tl|ESPNscrum}} |
* {{tl|ESPNscrum}} |
||
; Association football external link templates which convert ID to number before Wikidata comparison |
|||
* {{braces|[[Template:BDFA#Tracking categories|BDFA]]}} |
|||
* {{braces|[[Template:BeSoccer#Tracking categories|BeSoccer]]}} |
|||
* {{braces|[[Template:FootballDatabase.eu#Tracking categories|FootballDatabase.eu]]}} |
|||
* {{braces|[[Template:FootballFacts.ru#Tracking categories|FootballFacts.ru]]}} |
|||
* {{braces|[[Template:NFT player#Tracking categories|NFT player]]}} |
|||
== External links == |
== External links == |
Revision as of 01:58, 11 April 2024
This is a documentation subpage for Template:ESPN FC. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
Template:ESPN FC displays an external link to an association football (soccer) player's profile at the ESPN FC website (formerly ESPN SoccerNet). It is intended for use in the external links section of an article.
Usage
- Unnamed parameters
{{ESPN FC | ID }}
{{ESPN FC | ID | NAME }}
- Named parameters
{{ESPN FC | id= ID }}
{{ESPN FC | id= ID | name= NAME }}
- Using Wikidata property
{{ESPN FC}}
{{ESPN FC | name= NAME }}
Examples
Unnamed parameters
- Usage
* {{ESPN FC | 75534/rogerio-ceni | Rogério Ceni }}
* {{ESPN FC | 75534 | Rogério Ceni }}
- Output
- Current URLs (www.espn.com/soccer/)
- https://www.espn.com/soccer/player/_/id/75534/rogerio-ceni
- https://www.espn.com/soccer/player/_/id/75534
- Former URLs (espnfc.com)
- http://www.espnfc.com/player/75534/rogerio-ceni (redirects to current URL)
- http://www.espnfc.com/players/stats?id=75534 (does not redirect)
- Former URLs (soccernet.espn.go.com)
- http://soccernet.espn.go.com/player/_/id/75534/rogerio-ceni
- http://soccernet.espn.go.com/players/stats?id=75534
Named parameters
- Usage
* {{ESPN FC | id= 31806/jos-hooiveld | name= Jos Hooiveld }}
* {{ESPN FC | id= 31806 | name= Jos Hooiveld }}
- Output
- Current URLs (www.espn.com/soccer/)
- https://www.espn.com/soccer/player/_/id/31806/jos-hooiveld
- https://www.espn.com/soccer/player/_/id/31806
- Former URLs (espnfc.com)
- http://www.espnfc.com/player/31806/jos-hooiveld (redirects to current URL)
- http://www.espnfc.com/players/stats?id=31806 (does not redirect)
- Former URLs (soccernet.espn.go.com)
- http://soccernet.espn.go.com/player/_/id/31806/jos-hooiveld
- http://soccernet.espn.go.com/players/stats?id=31806
No parameters and Wikidata property not defined
- Usage
* {{ESPN FC}}
- Output
-
- {{ESPN FC}} template missing ID and not present in Wikidata.
TemplateData
TemplateData for ESPN FC
This template displays an external link to an association football (soccer) player's profile at the ESPN FC website (formerly ESPN SoccerNet). It is intended for use in the external links section of an article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | id 1 | The ID portion of the URL, such as 75534/rogerio-ceni in https://www.espn.com/soccer/player/_/id/75534/rogerio-ceni or 75534 in https://www.espn.com/soccer/player/_/id/75534. This parameter is optional if Wikidata property P3681 exists, but required if not.
| String | optional |
Name | name 2 | The link text, which should be the name of the player. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(footballer)" or "(soccer)".
| String | optional |
Tracking categories
- template with ID
- ID is converted to numeric value before comparison with Wikidata
- 75534/rogerio-ceni → 75534
- 75534 → 75534
- Category:ESPN FC template with ID different from Wikidata (0)
- Category:ESPN FC template with ID not in Wikidata (88)
- template missing ID
See also
- Other ESPN external link templates
- {{ESPN MMA}}
- {{ESPN NFL}}
- {{ESPN Tennis}}
- {{ESPNcricinfo}}
- {{ESPNscrum}}
- Association football external link templates which convert ID to number before Wikidata comparison
- {{BDFA}}
- {{BeSoccer}}
- {{FootballDatabase.eu}}
- {{FootballFacts.ru}}
- {{NFT player}}
External links
- www
.espn .com /soccer / (redirect from espnfc .com)