Jump to content

Template:SvFF player/doc

From Wikipedia, the free encyclopedia

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 }}
Template with archive date
* {{SvFF player | id= 79bb96ef-9243-4af3-ac75-e6f259fb1cb2 | name= Anton Kinnander | id_archive= 20200706132455 }}
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 }}
Template with archive date
* {{SvFF player | fid= 169829 | name= Jonathan Ring | fid_archive= 20160310190218 }}
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 }}
Template with archive date
* {{SvFF player | pid= 3191 | name= Magnus Andersson | pid_archive= 20160310190218 }}
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}}

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:SvFF player in articles based on its TemplateData.

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.

Template parameters

ParameterDescriptionTypeStatus
IDid

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.

Stringrequired
ID Archiveid_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).

Numberoptional
FIDfid

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.

Numberoptional
FID Archivefid_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/.

Numberoptional
PIDpid

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.

Numberoptional
PID Archivepid_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.

Numberoptional
Namename

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)".

Default
{{PAGENAMEBASE}}
Stringoptional

Tracking categories

[edit]

See also

[edit]
[edit]