Template:Soccerway/doc

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Template:Soccerway displays an external link to an association football (soccer) player's profile at Soccerway.com.

Omit ID to use the Wikidata property. Omit NAME to use Wikipedia article name as link text.

External link
* {{Soccerway|new_id=NEWID|name=NAME}}
* {{Soccerway|id=ID|name=NAME}}
* {{Soccerway|ID|NAME}}
Citation with access date
{{Soccerway|new_id=NEWID|name=NAME|access-date=DATE}}
{{Soccerway|id=ID|name=NAME|access-date=DATE}}
{{Soccerway|ID|NAME|access-date=DATE}}
Archived external link
{{Soccerway|id=ID|name=NAME|archive=NUMBER}}
{{Soccerway|ID|NAME|archive=NUMBER}}
Archived citation with access date
{{Soccerway|id=ID|name=NAME|archive=NUMBER|access-date=DATE}}
{{Soccerway|ID|NAME|archive=NUMBER|access-date=DATE}}

Examples

[edit source]
[edit source]
Usage in Mateja Zver with article name as link text
* {{Soccerway|new_id=zver-mateja/p0DFdwlo}}
* {{Soccerway|new_id=zver-mateja/p0DFdwlo|id=mateja-zver/45569|archive=20240605050544}}
* {{Soccerway|id=mateja-zver/45569|archive=20240605050544}}
* {{Soccerway|45569}}
Output
New ID at Soccerway.com
https://www.soccerway.com/player/zver-mateja/p0DFdwlo/
Old ID at Soccerway.com (redirect to new ID)
https://int.soccerway.com/players/mateja-zver/45569/ (archive 2024-06-05)
https://int.soccerway.com/players/-/45569/ (archive 2025-02-22)

Citation with access date

[edit source]
Usage with parameter as link text
{{Soccerway | new_id= wong-emily/l8HTsA0Q | name= Emily Wong | access-date= 4 May 2026 }}
{{Soccerway | id= emily-lauren-wong/875204 | name= Emily Wong | access-date= 4 May 2026 }}
{{Soccerway | 875204 | Emily Wong | access-date= May 4, 2026 }}
Output
Emily Wong at Soccerway. Retrieved 4 May 2026.
Emily Wong at Soccerway. Retrieved 4 May 2026.
Emily Wong at Soccerway. Retrieved May 4, 2026.
New ID at Soccerway.com
https://www.soccerway.com/player/wong-emily/l8HTsA0Q/
Old ID at Soccerway.com (redirect to new ID)
https://int.soccerway.com/players/emily-lauren-wong/875204/ (archive 2024-09-16)
https://int.soccerway.com/players/-/875204/

Archived pages

[edit source]
Usage in Javier Saviola with article name as link text
{{Soccerway | id= javier-saviola/121 | archive= 20250220025537 | access-date= 4 May 2026 }}
{{Soccerway | 121 | archive= 20250220002921 }}
Output
Javier Saviola at Soccerway (archived). Retrieved 4 May 2026.
Javier Saviola at Soccerway (archived)
Archived URLs using old ID
https://web.archive.org/web/20250220025537/https://int.soccerway.com/players/javier-saviola/121/
https://web.archive.org/web/20250220002921/https://int.soccerway.com/players/-/121/

No parameters and Wikidata property not defined

[edit source]
Usage
{{Soccerway}}
Output
Soccerway/doc at SoccerwayLua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).

TemplateData

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

TemplateData for Soccerway

This template displays an external link to an association football (soccer) player's profile at Soccerway.com.

Template parameters

ParameterDescriptionTypeStatus
New IDnew_id

The ID portion of a new Soccerway player URL, such as https://www.soccerway.com/player/zver-mateja/p0DFdwlo/. This parameter is optional if the Old ID is used or if Wikidata property P2369 exists, but required if not.

Example
zver-mateja/p0DFdwlo
Stringoptional
Old IDid 1

The ID portion of an old Soccerway player URL, such as https://int.soccerway.com/players/mateja-zver/45569/ (which as of 2025 redirects to a new URL such as https://www.soccerway.com/player/zver-mateja/p0DFdwlo/). This parameter is optional if the New ID is used or if Wikidata property P2369 exists, but required if not.

Default
Wikidata property P2369
Example
mateja-zver/45569
Stringoptional
Namename 2

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}}
Example
Mateja Zver
Stringoptional
Internet Archive date/timearchive

Number representing the date/time in an Internet Archive URL for the soccerway.com link. It causes the template to use an archived URL link starting with https://web.archive.org/web/{{{archive}}}/ and display "(archived)".

Example
20250220025537
Numberoptional
Access Dateaccess-date accessdate

The date when the Soccerway profile was last accessed. It allows the template to be used as a reference, rather than as an external link. This parameter is optional.

Dateoptional

Tracking categories

[edit source]
new ID using |new_id= parameter
ID not matching pattern or new ID without |new_id= parameter
old ID (using |id= or unnamed first parameter) different from or not in Wikidata property P2369
Only the number at the end of the template ID is compared with Wikidata
mateja-zver/45569 → 45569
45569 → 45569
template missing ID

See also

[edit source]
Other Soccerway templates
Related templates
  • Template:Flashscore for link to Flashscore.com player page (same ID as new Soccerway.com player page)
  • Template:Scorebar for link to Scorebar.com player page (same ID number as old Soccerway.com player page)
Association football external link templates which convert ID to number before Wikidata comparison