Template:Flashscore.com player/doc
This is a documentation subpage for Template:Flashscore.com player. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
Template:Flashscore.com player displays an external link to a sportperson's profile at Flashscore.com. It is intended for use in the external links section of an article.
Usage
[edit]- Unnamed parameters
* {{Flashscore.com player | ID }}
* {{Flashscore.com player | ID | NAME }}
- Named parameters
* {{Flashscore.com player | id= ID }}
* {{Flashscore.com player | id= ID | name= NAME }}
- Using Wikidata property
* {{Flashscore.com player}}
* {{Flashscore.com player | name= NAME }}
Examples
[edit]Association football (soccer) player
[edit]- Usage
* {{Flashscore.com player | bortel-milan/86kz7mOi | Milan Bortel }}
- Output
-
- Milan Bortel at Flashscore.com
- URL in template
- https://www.flashscore.com/player/bortel-milan/86kz7mOi/
- Other URLs using same ID
- https://www.livesport.com/player/bortel-milan/86kz7mOi/
- https://www.soccer24.com/player/bortel-milan/86kz7mOi/
- https://www.soccerstand.com/player/bortel-milan/86kz7mOi/
Tennis player
[edit]- Usage
* {{Flashscore.com player | id= bouzkova-marie/WMS3AdAb | name= Marie Bouzkova }}
- Output
-
- Marie Bouzkova at Flashscore.com
- URL in template
- https://www.flashscore.com/player/bouzkova-marie/WMS3AdAb/
- Other URLs using same ID
- https://www.livesport.com/player/bouzkova-marie/WMS3AdAb/
- https://www.tennis24.com/player/bouzkova-marie/WMS3AdAb/
No parameters and Wikidata property not defined
[edit]- Usage
{{Flashscore.com player}}
- Output
- {{Flashscore.com player}} template missing ID and not present in Wikidata.
TemplateData
[edit]TemplateData for Flashscore.com player
This template displays an external link to a sportperson's profile at Flashscore.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 bortel-milan/86kz7mOi in https://www.flashscore.com/player/bortel-milan/86kz7mOi/. This parameter is optional if Wikidata property P8259 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 |