Template:Soccerway/doc
This is a documentation subpage for Template:Soccerway. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
Template:Soccerway displays an external link to an association football (soccer) player's profile at Soccerway.com.
Usage
[kulemba source]- 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 (P2369)
{{Soccerway}}
{{Soccerway | name= NAME }}
{{Soccerway | name= NAME | access-date= ACCESS DATE }}
Examples
[kulemba source]Unnamed parameters
[kulemba source]- Usage
{{Soccerway | javier-saviola/121 | Javier Saviola }}
{{Soccerway | 121 | Javier Saviola }}
- Output
- Javier Saviola at Soccerway
- Javier Saviola at Soccerway
Named parameters
[kulemba source]- 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= 1 Disembala 2024 }}
{{Soccerway | id= 253988 | name= Matthew Cooper | access-date= 1 Disembala 2024 }}
- Output
- Matthew Cooper at Soccerway. Retrieved 1 Disembala 2024.
- Matthew Cooper at Soccerway. Retrieved 1 Disembala 2024.
No parameters and Wikidata property not defined
[kulemba source]- Usage
{{Soccerway}}
- Output
- {{Soccerway}} template missing ID and not present in Wikidata.
TemplateData
[kulemba source]TemplateData for Soccerway
This template displays an external link to an association football (soccer) player's profile at Soccerway.com.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | id 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.
| String | optional |
Name | name 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)".
| String | optional |
Access Date | access-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. | Date | optional |
Tracking categories
[kulemba source]- template with ID
- Category:Soccerway template with ID not matching pattern (0)
- Category:Soccerway template using numeric ID (0)
- template missing ID
See also
[kulemba source]