Template:SvFF player/doc
| This is a documentation subpage for Template:SvFF player. It contains usage information, categories and other content that is not part of the original template page. |
| Wikidata has a property, P1238, related to P4830 (see uses) |
Template:SvFF player displays an external link to an association football (soccer) player's page at Svenskfotboll.se, the official website of the Swedish Football Association (in Swedish: Svenska Fotbollförbundet; SvFF). It is intended for use in the external links section of an article.
Usage
- Current ID
{{SvFF player | id= ID }}{{SvFF player | id= ID | name= NAME }}
- Former numeric fplid (usually 5 or 6 digits)
{{SvFF player | fid= ID }}{{SvFF player | fid= ID | name= NAME }}
- Former numeric playerid (usually 4 digits)
{{SvFF player | pid= ID }}{{SvFF player | pid= ID | name= NAME }}
Examples
Current ID
The current ID is a universally unique identifier.
- Template
* {{SvFF player | id= 79bb96ef-9243-4af3-ac75-e6f259fb1cb2 | name= Anton Kinnander }}- Anton Kinnander at SvFF (in Swedish)
- Template with archive date
* {{SvFF player | id= 79bb96ef-9243-4af3-ac75-e6f259fb1cb2 | name= Anton Kinnander | id_archive= 20200706132455 }}- Anton Kinnander at SvFF (in Swedish) (archived)
- URLs used in template
- https://www.svenskfotboll.se/spelarfakta/79bb96ef-9243-4af3-ac75-e6f259fb1cb2/
- https://web.archive.org/web/20200706132455/https://www.svenskfotboll.se/spelarfakta/79bb96ef-9243-4af3-ac75-e6f259fb1cb2/
- Other URLs using this ID
- https://www.svenskfotboll.se/spelarfakta/anton-kinnander/79bb96ef-9243-4af3-ac75-e6f259fb1cb2/
- https://www.svenskfotboll.se/spelarfakta/-/79bb96ef-9243-4af3-ac75-e6f259fb1cb2/
Former numeric fplid (usually 5 or 6 digits)
- Template
* {{SvFF player | fid= 169829 | name= Jonathan Ring }}- Jonathan Ring at SvFF (in Swedish) (archived)
- Template with archive date
* {{SvFF player | fid= 169829 | name= Jonathan Ring | fid_archive= 20160310190218 }}- Jonathan Ring at SvFF (in Swedish) (archived)
- URLs used in template
- https://web.archive.org/web/https://www.svenskfotboll.se/spelarfakta/169829/
- https://web.archive.org/web/20190326033544/https://www.svenskfotboll.se/spelarfakta/169829/
- Other former URLs using this ID
- https://www.svenskfotboll.se/spelarfakta/jonathan-ring/169829/ (archive)
- http://svenskfotboll.se/allsvenskan/person/?fplid=169829 (archive)
- http://svenskfotboll.se/allsvenskan/person/?scr=player&fplid=169829
Former numeric playerid (usually 4 digits)
- Template
* {{SvFF player | pid= 3191 | name= Magnus Andersson }}- Magnus Andersson at SvFF (in Swedish) (archived)
- Template with archive date
* {{SvFF player | pid= 3191 | name= Magnus Andersson | pid_archive= 20160310190218 }}- Magnus Andersson at SvFF (in Swedish) (archived)
- URLs used in template
- https://web.archive.org/web/https://www.svenskfotboll.se/allsvenskan/person/?playerid=3191
- https://web.archive.org/web/20160310190218/https://www.svenskfotboll.se/allsvenskan/person/?playerid=3191
- Other former URLs using this ID
- http://www.svenskfotboll.se/t3allpl.aspx?p=152184&playerid=3191 (archive)
No parameters
* {{SvFF player}}
- {{SvFF player}} template missing ID.
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 SvFF player
<templatedata> {
"description": "This template displays an external link to an association football (soccer) player's page at Svenskfotboll.se, the official website of the Swedish Football Association (in Swedish: Svenska Fotbollförbundet; SvFF). It is intended for use in the external links section of an article.",
"params": {
"id": {
"label": "identifier",
"description": "The \"id\" parameter should contain the current identifier, such as 79bb96ef-9243-4af3-ac75-e6f259fb1cb2 from https://www.svenskfotboll.se/spelarfakta/79bb96ef-9243-4af3-ac75-e6f259fb1cb2/ or https://www.svenskfotboll.se/spelarfakta/anton-kinnander/79bb96ef-9243-4af3-ac75-e6f259fb1cb2/. This parameter is required to generate a non-archived link.",
"type": "string",
"required": true
},
"fid": {
"label": "fplid",
"description": "The \"fid\" parameter may contain a former ID number, such as 554372 from http://svenskfotboll.se/allsvenskan/person/?fplid=554372 or https://www.svenskfotboll.se/spelarfakta/554372/. This parameter is optional and only generates an archived link; it is suggested to use the \"id\" parameter where possible.",
"type": "number",
"required": false
},
"pid": {
"label": "playerid",
"description": "The \"pid\" parameter may contain a former ID number, such as 8058 from https://www.svenskfotboll.se/allsvenskan/person/?playerid=8058. This parameter is optional and only generates an archived link; it is suggested to use the \"id\" parameter where possible.",
"type": "number",
"required": false
},
"name": {
"label": "name",
"description": "The \"name\" parameter 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": "SvFF player/doc"
}
},
"paramOrder": [
"id",
"fid",
"pid",
"name"
]
} </templatedata>
Tracking categories
- Category:SvFF player template missing ID (0)
- Category:SvFF player template with deprecated parameter (1)
Related pages
- {{SvFF club player}}
- {{SvFF national player}}