Template:SvFF player/doc
This is a documentation subpage for Template:SvFF player. It may contain usage information, categories and other content that is not part of the original template page. |
- SvFF player ID (P1238) (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
[edit]- Current ID
{{SvFF player | id= ID }}
{{SvFF player | id= ID | name= NAME }}
{{SvFF player | id= ID | name= NAME | id_archive= NUMBER }}
- Former numeric fplid (usually 5 or 6 digits)
{{SvFF player | fid= ID }}
{{SvFF player | fid= ID | name= NAME }}
{{SvFF player | fid= ID | name= NAME | fid_archive= NUMBER }}
- Former numeric playerid (usually 4 digits)
{{SvFF player | pid= ID }}
{{SvFF player | pid= ID | name= NAME }}
{{SvFF player | pid= ID | name= NAME | pid_archive= NUMBER }}
SvFF player identifiers and URLs
[edit]Allsvenskan
[edit]The following examples show the current and former player IDs and URLs for Allsvenskan player Ludwig Augustinsson:
- Identifier used with
|id=
in this template - svenskfotboll.se/spelarfakta/1b88becb-4c4e-4245-8319-d025e3437228/
- Identifier used with
|fid=
in this template - svenskfotboll.se/spelarfakta/406026/ (archive)
- Identifier used with
|fid=
in SvFF club player template - svenskfotboll.se/allsvenskan/person/?fplid=406026 (archive)
- Identifier used with
|pid=
in SvFF club player template - svenskfotboll.se/allsvenskan/person/?playerid=7350 (archive)
Damallsvenskan
[edit]The following examples show the current and former player IDs and URLs for Damallsvenskan player Lisa Hurtig (née Lantz):
- Identifier used with
|id=
in this template - svenskfotboll.se/spelarfakta/f7472a7f-15fb-47a1-b203-cc76d86b31da/
- Identifier used with
|fid=
in this template - svenskfotboll.se/spelarfakta/280510/ (archive)
- Identifier used with
|fid=
in SvFF club player template - svenskfotboll.se/damallsvenskan/person/?fplid=280510 (archive)
- Identifier used with
|pid=
in SvFF club player template - svenskfotboll.se/damallsvenskan/person/?playerid=5562 (archive)
Examples
[edit]Current ID
[edit]The current ID is a universally unique identifier.
- Template
* {{SvFF player | id= 79bb96ef-9243-4af3-ac75-e6f259fb1cb2 | name= Anton Kinnander }}
- Anton Kinnander at the Swedish Football Association (in Swedish)
- Template with archive date
* {{SvFF player | id= 79bb96ef-9243-4af3-ac75-e6f259fb1cb2 | name= Anton Kinnander | id_archive= 20200706132455 }}
- Anton Kinnander at the Swedish Football Association (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)
[edit]This ID is a number which originally used a URL with fplid=.
- Template
* {{SvFF player | fid= 169829 | name= Jonathan Ring }}
- Jonathan Ring at the Swedish Football Association (in Swedish) (archived)
- Template with archive date
* {{SvFF player | fid= 169829 | name= Jonathan Ring | fid_archive= 20160310190218 }}
- Jonathan Ring at the Swedish Football Association (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)
[edit]This ID is a number which used a URL with playerid=.
- Template
* {{SvFF player | pid= 3191 | name= Magnus Andersson }}
- Magnus Andersson at the Swedish Football Association (in Swedish) (archived)
- Template with archive date
* {{SvFF player | pid= 3191 | name= Magnus Andersson | pid_archive= 20160310190218 }}
- Magnus Andersson at the Swedish Football Association (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
[edit]* {{SvFF player}}
- {{SvFF player}} template missing ID.
TemplateData
[edit]TemplateData for SvFF player
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | id | 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. | String | required |
ID Archive | id_archive | A number representing the date/time in an Internet Archive URL, such as 20200706132455 in https://web.archive.org/web/20200706132455/https://www.svenskfotboll.se/spelarfakta/79bb96ef-9243-4af3-ac75-e6f259fb1cb2/. This parameter should only be used if the URL associated with the "id" parameter generates a dead link (due to player's profile removed from website). | Number | optional |
FID | fid | A former ID number, such as 554372 in https://www.svenskfotboll.se/spelarfakta/554372/ or http://svenskfotboll.se/allsvenskan/person/?fplid=554372. This parameter is optional and only generates an archived link; it is suggested to use the "id" parameter where possible. | Number | optional |
FID Archive | fid_archive | A number representing the date/time in an Internet Archive URL, such as 20190326033544 in https://web.archive.org/web/20190326033544/https://www.svenskfotboll.se/spelarfakta/169829/. | Number | optional |
PID | pid | A former ID number, such as 3191 in https://www.svenskfotboll.se/allsvenskan/person/?playerid=3191. This parameter is optional and only generates an archived link; it is suggested to use the "id" parameter where possible. | Number | optional |
PID Archive | pid_archive | A number representing the date/time in an Internet Archive URL, such as 20160310190218 in https://web.archive.org/web/20160310190218/https://www.svenskfotboll.se/allsvenskan/person/?playerid=3191. | Number | optional |
Name | name | 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)".
| String | optional |
Tracking categories
[edit]- Category:SvFF player template with unknown parameters (0)
- Category:SvFF player template missing ID (0)
- Category:SvFF player template using id parameter not in Wikidata (3)
- Category:SvFF player template using id parameter different from Wikidata (1)
- Category:SvFF player template using id parameter same as Wikidata (1,088)
- Category:SvFF player template using fid parameter (323)
- Category:SvFF player template using pid parameter (64)
See also
[edit]- {{SvFF club player}}
- {{SvFF national player}}
External links
[edit]- svenskfotboll.se (in Swedish)
- svenskfotboll.se/spelarfakta/ archived pages
- svenskfotboll.se/allsvenskan/person/ archived pages