Template:Soccerway/doc

From Wikipedia, the free encyclopedia

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

Usage[edit]

Unnamed parameters
{{Soccerway | ID }}
{{Soccerway | ID | NAME }}
Named parameters
{{Soccerway | id= ID }}
{{Soccerway | id= ID | name= NAME }}
{{Soccerway | id= ID | name= NAME | access-date= ACCESS DATE }}
Using Wikidata property
{{Soccerway}}
{{Soccerway | name= NAME }}
{{Soccerway | name= NAME | access-date= ACCESS DATE }}

Examples[edit]

Unnamed parameters[edit]

URLs
https://int.soccerway.com/players/javier-saviola/121/
https://int.soccerway.com/players/-/121/
Usage
{{Soccerway | javier-saviola/121 | Javier Saviola }}
{{Soccerway | 121 | Javier Saviola }}
Output
Javier Saviola at Soccerway
Javier Saviola at Soccerway

Named parameters[edit]

URLs
https://int.soccerway.com/players/matthew-cooper/253988/
https://int.soccerway.com/players/-/253988/
Usage
{{Soccerway | id= matthew-cooper/253988 | name= Matthew Cooper | access-date= 11 May 2024 }}
{{Soccerway | id= 253988 | name= Matthew Cooper | access-date= 11 May 2024 }}
Output
Matthew Cooper at Soccerway. Retrieved 11 May 2024.
Matthew Cooper at Soccerway. Retrieved 11 May 2024.

No parameters and Wikidata property not defined[edit]

Usage
{{Soccerway}}
Output
{{Soccerway}} template missing ID and not present in Wikidata.

TemplateData[edit]

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
IDid 1

The ID portion of the URL, such as matthew-cooper/253988 or 253988 in https://int.soccerway.com/players/matthew-cooper/253988/. This parameter is optional if Wikidata property P2369 exists, but required if not.

Default
Wikidata property P2369
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}}
Stringoptional
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]

See also[edit]