Difference between revisions of "Template:Goalzz/doc"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
m (update examples)
imported>Zyxw
m (→‎Examples: formatting)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata -->
 
<!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata -->
 +
{{Wikidata property|P8021}}
  
 
'''{{NAMESPACE}}:{{BASEPAGENAME}}''' displays an external link to an [[association football]] ([[soccer]]) player's profile at [https://www.goalzz.com/ Goalzz.com]. It is intended for use in the [[Wikipedia:External links|external links]] section of an article.
 
'''{{NAMESPACE}}:{{BASEPAGENAME}}''' displays an external link to an [[association football]] ([[soccer]]) player's profile at [https://www.goalzz.com/ Goalzz.com]. It is intended for use in the [[Wikipedia:External links|external links]] section of an article.
Line 21: Line 22:
 
=== Unnamed parameters (for ID and name) ===
 
=== Unnamed parameters (for ID and name) ===
 
; Usage
 
; Usage
: {{tlg|a=on|kbd=on|nolink=on|{{BASEPAGENAME}} | 21069 | Ahmed Khalil }}
+
: <kbd><nowiki>* {{</nowiki>{{BASEPAGENAME}}<nowiki> | 21069 | Ahmed Khalil }}</nowiki></kbd>
: {{tlg|a=on|kbd=on|nolink=on|{{BASEPAGENAME}} | 21069 | Ahmed Khalil | archive-url{{=}} https://archive.is/20130426102048/http://www.goalzz.com/main.aspx?player{{=}}21069 }}
+
: <kbd><nowiki>* {{</nowiki>{{BASEPAGENAME}}<nowiki> | 21069 | Ahmed Khalil | archive-url= https://archive.is/20130426102048/http://www.goalzz.com/main.aspx?player=21069 }}</nowiki></kbd>
  
 
; Output
 
; Output
Line 28: Line 29:
 
:* {{{{BASEPAGENAME}} | 21069 | Ahmed Khalil | archive-url= https://archive.is/20130426102048/http://www.goalzz.com/main.aspx?player=21069 }}
 
:* {{{{BASEPAGENAME}} | 21069 | Ahmed Khalil | archive-url= https://archive.is/20130426102048/http://www.goalzz.com/main.aspx?player=21069 }}
  
; URLs
+
; URLs (desktop)
: <kbd>[https://www.goalzz.com/main.aspx?player=21069 https://www.goalzz.com/main.aspx?player={{Hilite|21069}}]</kbd>
+
: <kbd>[https://www.goalzz.com/main.aspx?player=21069 https://www.goalzz.com/main.aspx?player={{Hilite|21069}}]</kbd> ([https://archive.is/20130426102048/http://www.goalzz.com/main.aspx?player=21069 archive])
 
: <kbd>[https://www.goalzz.com/?player=21069 https://www.goalzz.com/?player={{Hilite|21069}}]</kbd>
 
: <kbd>[https://www.goalzz.com/?player=21069 https://www.goalzz.com/?player={{Hilite|21069}}]</kbd>
 +
 +
; URLs (mobile)
 +
: <kbd>[https://m.goalzz.com/main.aspx?player=21069 https://m.goalzz.com/main.aspx?player={{Hilite|21069}}]</kbd>
 +
: <kbd>[https://m.goalzz.com/?player=21069 https://m.goalzz.com/?player={{Hilite|21069}}]</kbd>
  
 
=== Named parameters ===
 
=== Named parameters ===
 
; Usage
 
; Usage
: {{tlg|a=on|kbd=on|nolink=on|{{BASEPAGENAME}} | id{{=}} 3889 | name{{=}} Ismail Matar }}
+
: <kbd><nowiki>* {{</nowiki>{{BASEPAGENAME}}<nowiki> | id= 3889 | name= Ismail Matar }}</nowiki></kbd>
: {{tlg|a=on|kbd=on|nolink=on|{{BASEPAGENAME}} | id{{=}} 3889 | name{{=}} Ismail Matar | archive-url{{=}} https://web.archive.org/web/20131015192415/http://www.goalzz.com/main.aspx?player{{=}}3889 }}
+
: <kbd><nowiki>* {{</nowiki>{{BASEPAGENAME}}<nowiki> | id= 3889 | name= Ismail Matar | archive-url= https://web.archive.org/web/20131015192415/http://www.goalzz.com/main.aspx?player=3889 }}</nowiki></kbd>
  
 
; Output
 
; Output
Line 41: Line 46:
 
:* {{{{BASEPAGENAME}} | id= 3889 | name= Ismail Matar | archive-url= https://web.archive.org/web/20131015192415/http://www.goalzz.com/main.aspx?player=3889 }}
 
:* {{{{BASEPAGENAME}} | id= 3889 | name= Ismail Matar | archive-url= https://web.archive.org/web/20131015192415/http://www.goalzz.com/main.aspx?player=3889 }}
  
; URLs
+
; URLs (desktop)
: <kbd>[https://www.goalzz.com/main.aspx?player=3889 https://www.goalzz.com/main.aspx?player={{Hilite|3889}}]</kbd>
+
: <kbd>[https://www.goalzz.com/main.aspx?player=3889 https://www.goalzz.com/main.aspx?player={{Hilite|3889}}]</kbd> ([https://web.archive.org/web/20131015192415/http://www.goalzz.com/main.aspx?player=3889 archive])
 
: <kbd>[https://www.goalzz.com/?player=3889 https://www.goalzz.com/?player={{Hilite|3889}}]</kbd>
 
: <kbd>[https://www.goalzz.com/?player=3889 https://www.goalzz.com/?player={{Hilite|3889}}]</kbd>
 +
 +
; URLs (mobile)
 +
: <kbd>[https://m.goalzz.com/main.aspx?player=3889 https://m.goalzz.com/main.aspx?player={{Hilite|3889}}]</kbd>
 +
: <kbd>[https://m.goalzz.com/?player=3889 https://m.goalzz.com/?player={{Hilite|3889}}]</kbd>
  
 
=== No ID in template ===
 
=== No ID in template ===

Latest revision as of 04:46, 9 May 2020

Template:Wikidata property

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)
Template:Tlcw
Template:Tlcw
Template:Tlcw
Template:Tlcw
ID and name
Template:Tlcw
Template:Tlcw
Template:Tlcw
Template:Tlcw

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 }}
Output
URLs (desktop)
https://www.goalzz.com/main.aspx?player=21069 (archive)
https://www.goalzz.com/?player=21069
URLs (mobile)
https://m.goalzz.com/main.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 }}
Output
URLs (desktop)
https://www.goalzz.com/main.aspx?player=3889 (archive)
https://www.goalzz.com/?player=3889
URLs (mobile)
https://m.goalzz.com/main.aspx?player=3889
https://m.goalzz.com/?player=3889

No ID in template

Usage
* {{Goalzz}}
Output
  • {{Goalzz}} template missing ID.

See also