Template:Goalzz/doc

From WikiProjectMed
Jump to navigation Jump to search

Template:Goalzz displays an external link to an association football (soccer) player's profile at Goalzz.com. It is intended for use in the external links section of an article.

Usage

ID only (uses Wikipedia article name as link text)
{{Goalzz | ID }}
{{Goalzz | id= ID }}
{{Goalzz | ID | archive-url= URL }}
{{Goalzz | id= ID | archive-url= URL }}
ID and name
{{Goalzz | ID | NAME }}
{{Goalzz | id= ID | name= NAME }}
{{Goalzz | ID | NAME | archive-url= URL }}
{{Goalzz | id= ID | name= NAME | archive-url= URL }}
Using Wikidata property
{{Goalzz}}
{{Goalzz | name= NAME }}
{{Goalzz | name= NAME | archive-url= URL }}

Examples

Unnamed parameters (for ID and name)

Usage
* {{Goalzz | 21069 | Ahmed Khalil }}
* {{Goalzz | 21069 | Ahmed Khalil | archive-url= https://archive.is/20130426102048/http://www.goalzz.com/main.aspx?player=21069 }}
* {{Goalzz | 21069 | Ahmed Khalil | archive-url= https://archive.is/20130426102048/http://www.goalzz.com/main.aspx?player=21069 |archive-date=2013-04-26 }}
Output
URLs (desktop)
https://www.goalzz.com/main.aspx?player=21069
https://www.goalzz.com/default.aspx?player=21069
https://www.goalzz.com/?player=21069
URLs (mobile)
https://m.goalzz.com/main.aspx?player=21069
https://m.goalzz.com/default.aspx?player=21069
https://m.goalzz.com/?player=21069

Named parameters

Usage
* {{Goalzz | id= 3889 | name= Ismail Matar }}
* {{Goalzz | id= 3889 | name= Ismail Matar | archive-url= https://web.archive.org/web/20131015192415/http://www.goalzz.com/main.aspx?player=3889 }}
* {{Goalzz | id= 3889 | name= Ismail Matar | archive-url= https://web.archive.org/web/20131015192415/http://www.goalzz.com/main.aspx?player=3889 |archive-date=2013-10-15 }}
Output
URLs (desktop)
https://www.goalzz.com/main.aspx?player=3889
https://www.goalzz.com/default.aspx?player=3889
https://www.goalzz.com/?player=3889
URLs (mobile)
https://m.goalzz.com/main.aspx?player=3889
https://m.goalzz.com/default.aspx?player=3889
https://m.goalzz.com/?player=3889

No ID in template

Usage
* {{Goalzz}}
Output
  • {{Goalzz}} template missing ID and not present in Wikidata.