Template:DBU player/doc
This is a documentation subpage for Template:DBU player. 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:DBU player displays an external link to an association football (soccer) player's profile at DBU.dk, the official website of the Danish Football Association (DBU). It is intended for use in the external links section of an article.
Usage
Unnamed parameters:
{{DBU player | ID }}
{{DBU player | ID | NAME }}
Named parameters:
{{DBU player | id= ID }}
{{DBU player | id= ID | name= NAME }}
Using Wikidata property (P6109):
{{DBU player}}
{{DBU player | name= NAME }}
Examples
Unnamed parameters
Usage:
* {{DBU player | 1238 | Michael Laudrup }}
Output:
- Michael Laudrup at the Danish Football Association (in Danish)
URL:
Named parameters
Usage:
* {{DBU player | id= 1554 | name= Peter Schmeichel }}
Output:
- Peter Schmeichel at the Danish Football Association (in Danish)
URL:
No parameters and Wikidata property not defined
Usage:
* {{DBU player}}
Output:
- DBU player/doc at the Danish Football Association (in Danish)
TemplateData
TemplateData for DBU player
<templatedata> { "description": "This template displays an external link to an association football (soccer) player's profile at DBU.dk, the official website of the Danish Football Association (DBU). It is intended for use in the external links section of an article.", "params": { "id": { "label": "DBU.dk player ID", "aliases": ["1"], "description": "The \"id\" parameter (or unnamed parameter \"1\") should contain the ID portion of the URL. Example: 1238 is the ID portion of https://www.dbu.dk/landshold/landsholdsdatabasen/PlayerInfo/1238/. This parameter is optional if Wikidata property P6109 exists, but required if not.", "type": "number", "required": false, "default": "Wikidata property P6109" }, "name": { "label": "Player's 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": "DBU player/doc" } }, "paramOrder": [ "id", "name" ] } </templatedata>
Tracking categories
- template with ID
- template missing ID
Related pages
- {{UEFA player}}
- {{FIFA player}}
- {{NFT player}}
- {{Soccerbase}}
- {{Soccerway}}