Template:difhistoria
| This template uses Lua: |
Template using Wikidata Property DIF historia player ID (P13307) for linking the players database at difhistoria.se
Usage
[edit]- Using Wikidata property DIF historia player ID (P13307)
* {{difhistoria}}* {{difhistoria|name=NAME}}* {{difhistoria|name=NAME|access-date=DATE}}
- Using unnamed parameter for ID
* {{difhistoria|ID}}* {{difhistoria|ID|name=NAME}}* {{difhistoria|ID|name=NAME|access-date=DATE}}
Examples
[edit]External link
[edit]- Usage in Markus Karlsson (footballer, born 1972) with Wikidata
* {{difhistoria}}
- Usage with parameters in template
* {{difhistoria|markus-karlsson|name=Markus Karlsson}}
- Output
-
- Markus Karlsson at difhistoria.se
Reference
[edit]- Usage in Irma Helin with Wikidata
{{difhistoria|access-date=1 September 2023}}
- Usage with parameters in template
{{difhistoria|irma-helin|name=Irma Helin|access-date=1 September 2023}}
- Output
- Irma Helin at difhistoria.se. Retrieved 1 September 2023.
TemplateData
[edit]TemplateData for Difhistoria
This template displays an external link to an sportsperson's profile at difhistoria.se.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| ID | 1 | The ID portion of the URL, such as markus-karlsson in https://difhistoria.se/markus-karlsson. This parameter is optional if Wikidata property P13307 exists, but required if not.
| String | optional |
| Name | name | The link text, which should be the name of the sportsperson. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(footballer)" or "(ice hockey)".
| String | optional |
| Access Date | access-date | May be used to specify the date when the difhistoria.se profile was last accessed. It allows the template to be used as a reference, rather than as an external link. This parameter is optional. | Date | optional |