Template:GSA player/doc

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

Template:GSA player displays an external link or citation for an association football (soccer) player's statistics at GlobalSportsArchive.com.

[edit source]
ID without name (uses Wikipedia article name as link text)
{{GSA player | ID }}
{{GSA player | id= ID }}
ID with name
{{GSA player | ID | NAME }}
{{GSA player | id= ID | name= NAME }}
Using Wikidata property
{{GSA player}}
{{GSA player | name= NAME }}

Citation with access-date

[edit source]
ID without name (uses Wikipedia article name as link text)
{{GSA player | ID | access-date = DATE }}
{{GSA player | id = ID | access-date = DATE }}
ID with name
{{GSA player | ID | NAME | access-date = DATE }}
{{GSA player | id = ID | name = NAME | access-date = DATE }}
Using Wikidata property
{{GSA player | access-date= DATE }}
{{GSA player | name = NAME | access-date= DATE }}

Examples

[edit source]
[edit source]
URLs
https://globalsportsarchive.com/en/soccer/athlete/cristiano-ronaldo/117
ID without name (uses Wikipedia article name as link text)
* {{GSA player | cristiano-ronaldo/117 }}
* {{GSA player | id = cristiano-ronaldo/117 }}
ID with name
* {{GSA player | cristiano-ronaldo/117 | Cristiano Ronaldo }}
* {{GSA player | id = cristiano-ronaldo/117 | name = Cristiano Ronaldo }}

As citation with access-date

[edit source]
URLs
https://globalsportsarchive.com/en/soccer/athlete/cristiano-ronaldo/117
ID without name (uses Wikipedia article name as link text)
{{GSA player | cristiano-ronaldo/117 | access-date = 17 August 2014 }}
Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
{{GSA player | id = cristiano-ronaldo/117 | access-date = 17 August 2014 }}
Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
ID with name
{{GSA player | cristiano-ronaldo/117 | Cristiano Ronaldo | access-date = 2014-08-17 }}
Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
{{GSA player | id = cristiano-ronaldo/117 | name = Cristiano Ronaldo | access-date = 2014-08-17 }}
Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
Citation without date
{{GSA player | cristiano-ronaldo/117 | Cristiano Ronaldo | citation = yes }}
Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
{{GSA player | id = cristiano-ronaldo/117 | name = Cristiano Ronaldo | citation = yes }}
Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).

No ID in template

[edit source]
Usage
* {{GSA player}}
Output
  • GSA player/doc at Global Sports ArchiveLua 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:GSA player in articles based on its TemplateData.

TemplateData for GSA player

This template displays an external link or citation for an association football (soccer) player's statistics at GlobalSportsArchive.com.

Template parameters

ParameterDescriptionTypeStatus
Player ID1 id

ID portion of the URL, such as cristiano-ronaldo/117 in https://globalsportsarchive.com/en/soccer/athlete/cristiano-ronaldo/117. This parameter is optional if Wikidata property P11963 exists, but required if not.

Default
Wikidata property P11963
Numberoptional
Player Name2 name

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

Date that the URL was accessed. If specified, the output is formatted as a web citation.

Dateoptional
Citationcitation

If a value is given, the output is formatted as a web citation. Useful when a citation is needed without an access date.

Stringoptional

Tracking categories

[edit source]