Template:Soccerway

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

{{{name}}} at Soccerway

Template documentation[view] [edit] [history] [purge]

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

Usage[change source]

Unnamed parameters
{{Soccerway | ID }}
{{Soccerway | ID | NAME }}
Named parameters
{{Soccerway | id= ID }}
{{Soccerway | id= ID | name= NAME }}
{{Soccerway | id= ID | name= NAME | accessdate= ACCESS DATE }}
Using Wikidata property P2369
{{Soccerway}}
{{Soccerway | name= NAME }}
{{Soccerway | name= NAME | accessdate= ACCESS DATE }}

Examples[change source]

Unnamed parameters[change source]

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

Named parameters[change source]

URL
https://int.soccerway.com/players/matthew-cooper/253988/
Usage
{{Soccerway | id= matthew-cooper/253988 | name= Matthew Cooper | accessdate= 13 July 2020 }}
Output
Matthew Cooper at Soccerway. Retrieved 13 July 2020.

No parameters and Wikidata property not defined[change source]

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

TemplateData[change source]

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 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" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: matthew-cooper/253988 is the ID portion of 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 "name" parameter (or unnamed parameter "2") 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
access dateaccessdate

The "accessdate" parameter may be used to specify 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[change source]

"id" parameter exists
"id" parameter does not exist

See also[change source]