Template:FBref player
{{{name}}} at FBref.com
This template uses Lua: |
- FBref player ID (P5750) (see uses)
Template:FBref player displays an external link to an association football (soccer) player's profile at FBref.com. It is intended for use in the external links section of an article.
Usage
- Unnamed parameters
* {{FBref player | ID }}
* {{FBref player | ID | NAME }}
- Named parameters
* {{FBref player | id= ID }}
* {{FBref player | id= ID | name= NAME }}
- Using Wikidata property FBref player ID (P5750)
* {{FBref player}}
* {{FBref player | name= NAME }}
Examples
Unnamed parameters
- Usage
* {{FBref player | 8b7ddf10/Megan-Rapinoe | Megan Rapinoe }}
* {{FBref player | 8b7ddf10 | Megan Rapinoe }}
- Output
-
- Megan Rapinoe at FBref.com
- Megan Rapinoe at FBref.com
- URLs (in English)
- https://fbref.com/en/players/8b7ddf10/Megan-Rapinoe
- https://fbref.com/en/players/8b7ddf10/ (redirect to URL above)
- URLs (in other languages)
- https://fbref.com/de/joueurs/8b7ddf10/Megan-Rapinoe
- https://fbref.com/fr/joueurs/8b7ddf10/Megan-Rapinoe
- https://fbref.com/it/joueurs/8b7ddf10/Megan-Rapinoe
- https://fbref.com/es/jugadores/8b7ddf10/Megan-Rapinoe
- https://fbref.com/pt/jugadores/8b7ddf10/Megan-Rapinoe
Named parameters
- Usage
* {{FBref player | id= 45a03961/Benjamin-Pavard | name= Benjamin Pavard }}
* {{FBref player | id= 45a03961 | name= Benjamin Pavard }}
- Output
-
- Benjamin Pavard at FBref.com
- Benjamin Pavard at FBref.com
- URLs (in English)
- https://fbref.com/en/players/45a03961/Benjamin-Pavard
- https://fbref.com/en/players/45a03961/ (redirect to URL above)
- URLs (in other languages)
- https://fbref.com/de/joueurs/45a03961/Benjamin-Pavard
- https://fbref.com/fr/joueurs/45a03961/Benjamin-Pavard
- https://fbref.com/it/joueurs/45a03961/Benjamin-Pavard
- https://fbref.com/es/jugadores/45a03961/Benjamin-Pavard
- https://fbref.com/pt/jugadores/45a03961/Benjamin-Pavard
No parameters and Wikidata property not defined
- Usage
{{FBref player}}
- Output
- {{FBref player}} template missing ID and not present in Wikidata.
TemplateData
TemplateData for FBref player
This template displays an external link to an association football (soccer) player's profile at FBref.com. 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 8b7ddf10/Megan-Rapinoe in https://fbref.com/en/players/8b7ddf10/Megan-Rapinoe or 8b7ddf10 in https://fbref.com/en/players/8b7ddf10/. This parameter is optional if Wikidata property P5750 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 |