Template:FootballDatabase.eu
{{{name}}} at FootballDatabase.eu
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:FootballDatabase.eu displays an external link to an association football (soccer) player's statistics at the FootballDatabase.eu website. It is intended for use in the external links section of an article.
Usage
Unnamed parameters:
{{FootballDatabase.eu | ID }}
{{FootballDatabase.eu | ID | NAME }}
Named parameters:
{{FootballDatabase.eu | id= ID }}
{{FootballDatabase.eu | id= ID | name= NAME }}
Using Wikidata property (P3537):
{{FootballDatabase.eu}}
{{FootballDatabase.eu | name= NAME }}
Examples
Unnamed parameters
Usage:
* {{FootballDatabase.eu | 2306 | Roberto Baggio }}
Output:
- Roberto Baggio at FootballDatabase.eu
Current URL:
Former URL:
Named parameters
Usage:
* {{FootballDatabase.eu | id= 415 | name= Cafu }}
Output:
- Cafu at FootballDatabase.eu
Current URL:
Former URL:
No parameters and Wikidata property not defined
Usage:
* {{FootballDatabase.eu}}
Output:
- FootballDatabase.eu at FootballDatabase.eu
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 FootballDatabase.eu
<templatedata> {
"description": "This template displays an external link to an association football (soccer) player's statistics at the FootballDatabase.eu website. 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. Example of ID in current URL: 2306 is the ID portion of https://www.footballdatabase.eu/en/player/details/2306-roberto-baggio or https://www.footballdatabase.eu/football.joueurs.roberto.baggio.2306.en.html. This parameter is optional if Wikidata property P3537 exists, but required if not.", "type": "number", "required": false, "default": "Wikidata property P3537" }, "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": "FootballDatabase.eu" } }, "paramOrder": [ "id", "name" ]
} </templatedata>
Tracking categories
- template with ID
- Category:FootballDatabase.eu template with ID different from Wikidata (0)
- Category:FootballDatabase.eu template with ID not in Wikidata (13)
- Category:FootballDatabase.eu template using non-numeric ID (1)
- template missing ID
The above documentation is transcluded from Template:FootballDatabase.eu/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |