Template:ESPN FC/doc

From Simple English Wikipedia, the free encyclopedia

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[change source]

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 player ID (P3681)
{{ESPN FC}}
{{ESPN FC | name= NAME }}

Examples[change source]

Unnamed parameters[change source]

Usage:

* {{ESPN FC | 75534 | Rogério Ceni }}

Output:

Current URLs:

http://www.espnfc.com/players/stats?id=75534
http://www.espnfc.com/player/75534/rogerio-ceni

Former URLs:

http://soccernet.espn.go.com/players/stats?id=75534
http://soccernet.espn.go.com/player/_/id/75534/rogerio-ceni

Named parameters[change source]

Usage:

* {{ESPN FC | id= 31806 | name= Jos Hooiveld }}

Output:

Current URLs:

http://www.espnfc.com/players/stats?id=31806
http://www.espnfc.com/player/31806/jos-hooiveld

Former URLs:

http://soccernet.espn.go.com/players/stats?id=31806
http://soccernet.espn.go.com/player/_/id/31806/jos-hooiveld

No parameters and Wikidata property not defined[change source]

Usage:

* {{ESPN FC}}

Output:

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

TemplateData[change source]

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:ESPN FC in articles based on its 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.

Template parameters

ParameterDescriptionTypeStatus
idid 1

The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL for the player's profile. Examples: 75534 is the ID portion of http://www.espnfc.com/players/stats?id=75534 or http://www.espnfc.com/player/75534/rogerio-ceni. This parameter is optional if Wikidata property P3681 exists, but required if not.

Default
Wikidata property P3681
Numberoptional
namename 2

The "name" parameter (or unnamed parameter "2") may be used to specify 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)".

Default
{{PAGENAMEBASE}}
Stringoptional

Tracking categories[change source]

template with ID
template missing ID

Related pages[change source]

Other ESPN external link templates: