Template:ESPN FC/doc
This is a documentation subpage for Template:ESPN FC. It contains usage information, categories and other content that is not part of the original template page. |
This template tracks the Wikidata property: Lua error in Module:Uses_Wikidata at line 13: attempt to index field 'wikibase' (a nil value). |
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 }}
Examples
Unnamed parameters
Usage:
* {{ESPN FC | 75534 | Rogério Ceni }}
Output:
Current URLs:
Former URLs:
- http://soccernet.espn.go.com/players/stats?id=75534
- http://soccernet.espn.go.com/player/_/id/75534/rogerio-ceni
Named parameters
Usage:
* {{ESPN FC | id= 31806 | name= Jos Hooiveld }}
Output:
Current URLs:
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
Usage:
* {{ESPN FC}}
Output:
TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.
TemplateData for ESPN FC
<templatedata> {
"description": "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.", "params": { "id": { "label": "id", "aliases": ["1"], "description": "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.", "type": "number", "required": false, "default": "Wikidata property P3681" }, "name": { "label": "name", "aliases": ["2"], "description": "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)\".", "type": "string", "required": false, "default": "ESPN FC/doc" } }, "paramOrder": [ "id", "name" ]
} </templatedata>
Tracking categories
- template with ID
- Category:ESPN FC template with ID different from Wikidata (0)
- Category:ESPN FC template with ID not in Wikidata (11)
- template missing ID
Related pages
Other ESPN external link templates:
- {{ESPN MMA}}
- {{ESPN NFL}}
- {{ESPN NHL}}
- {{ESPNcricinfo}}
- {{ESPNscrum}}