模板:FBref player
FBref.com網站上的{{{name}}}
| 此模板使用Lua語言: |
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}}* {{FBref player | name= NAME }}
Examples
[編輯]Unnamed parameters
[編輯]- Usage
* {{FBref player | 8b7ddf10/Megan-Rapinoe | Megan Rapinoe }}* {{FBref player | 8b7ddf10 | Megan Rapinoe }}
- Output
-
- FBref.com網站上的Megan Rapinoe
- FBref.com網站上的Megan Rapinoe
- 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
-
- FBref.com網站上的Benjamin Pavard
- FBref.com網站上的Benjamin Pavard
- 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
[編輯]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.
| 參數 | 描述 | 類型 | 狀態 | |
|---|---|---|---|---|
| ID | id 1 | The ID portion of the URL, such as 8b7ddf10/Megan-Rapinoe or 8b7ddf10 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.
| 字串 | 非必填 |
| 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)".
| 字串 | 非必填 |
Tracking categories
[編輯]- template with ID
- Only the 8-digit hexadecimal number at the start of the ID is compared with Wikidata
- 8b7ddf10/Megan-Rapinoe → 8b7ddf10
- 8b7ddf10 → 8b7ddf10
- Category:FBref player template with ID different from Wikidata(0)
- Category:FBref player template with ID not in Wikidata(0)
- template missing ID
See also
[編輯]- Association football external link templates which convert ID to number before Wikidata comparison
- {{BDFA}}
- {{BeSoccer}}
- {{ESPN FC}}
- {{FootballFacts.ru}}
- {{NFT player}}
- {{Soccerway}}