Difference between revisions of "Template:Goalzz/doc"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(update text)
imported>Zyxw
m (→‎Examples: formatting)
 
(5 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 -->
{{Ombox|text='''The ''Goalzz.com'' player profile pages display the player's name with no other content. Please use the {{para|archive-url}} parameter to generate a link to an archived copy of the page, as shown in the examples.'''}}
+
{{Wikidata property|P8021}}
  
'''{{NAMESPACE}}:{{BASEPAGENAME}}''' displays an external link to an [[association football]] ([[soccer]]) player's profile at [http://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.
  
 
== Usage ==
 
== Usage ==
 
; ID only (uses Wikipedia article name as link text)
 
; ID only (uses Wikipedia article name as link text)
 +
: {{tlcw|{{BASEPAGENAME}} | <var>ID</var> }}
 +
: {{tlcw|{{BASEPAGENAME}} | id{{=}} <var>ID</var> }}
 
: {{tlcw|{{BASEPAGENAME}} | <var>ID</var> | archive-url{{=}} <var>URL</var> }}
 
: {{tlcw|{{BASEPAGENAME}} | <var>ID</var> | archive-url{{=}} <var>URL</var> }}
 
: {{tlcw|{{BASEPAGENAME}} | id{{=}} <var>ID</var> | archive-url{{=}} <var>URL</var> }}
 
: {{tlcw|{{BASEPAGENAME}} | id{{=}} <var>ID</var> | archive-url{{=}} <var>URL</var> }}
  
 
; ID and name
 
; ID and name
 +
: {{tlcw|{{BASEPAGENAME}} | <var>ID</var> | <var>NAME</var> }}
 +
: {{tlcw|{{BASEPAGENAME}} | id{{=}} <var>ID</var> | name{{=}} <var>NAME</var> }}
 
: {{tlcw|{{BASEPAGENAME}} | <var>ID</var> | <var>NAME</var> | archive-url{{=}} <var>URL</var> }}
 
: {{tlcw|{{BASEPAGENAME}} | <var>ID</var> | <var>NAME</var> | archive-url{{=}} <var>URL</var> }}
 
: {{tlcw|{{BASEPAGENAME}} | id{{=}} <var>ID</var> | name{{=}} <var>NAME</var> | archive-url{{=}} <var>URL</var> }}
 
: {{tlcw|{{BASEPAGENAME}} | id{{=}} <var>ID</var> | name{{=}} <var>NAME</var> | archive-url{{=}} <var>URL</var> }}
Line 17: Line 21:
  
 
=== Unnamed parameters (for ID and name) ===
 
=== Unnamed parameters (for ID and name) ===
; URLs
+
; Usage
: <kbd>[http://www.goalzz.com/?player=21069 http://www.goalzz.com/?player={{Hilite|21069}}]</kbd>
+
: <kbd><nowiki>* {{</nowiki>{{BASEPAGENAME}}<nowiki> | 21069 | Ahmed Khalil }}</nowiki></kbd>
: <kbd>[http://www.goalzz.com/main.aspx?player=21069 http://www.goalzz.com/main.aspx?player={{Hilite|21069}}]</kbd>
+
: <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
 +
:* {{{{BASEPAGENAME}} | 21069 | Ahmed Khalil }}
 +
:* {{{{BASEPAGENAME}} | 21069 | Ahmed Khalil | archive-url= https://archive.is/20130426102048/http://www.goalzz.com/main.aspx?player=21069 }}
 +
 
 +
; URLs (desktop)
 +
: <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>
 +
 
 +
; 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 ===
 
; Usage
 
; Usage
: {{tlg|kbd=on|nolink=on|{{BASEPAGENAME}}&nbsp;| 21069 | Ahmed Khalil | archive-url{{=}} https://archive.is/20130426102048/http://www.goalzz.com/main.aspx?player{{=}}21069 }}
+
: <kbd><nowiki>* {{</nowiki>{{BASEPAGENAME}}<nowiki> | id= 3889 | name= Ismail Matar }}</nowiki></kbd>
 +
: <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
: {{{{BASEPAGENAME}} | 21069 | Ahmed Khalil | archive-url= https://archive.is/20130426102048/http://www.goalzz.com/main.aspx?player=21069 }}
+
:* {{{{BASEPAGENAME}} | id= 3889 | name= Ismail Matar }}
 +
:* {{{{BASEPAGENAME}} | id= 3889 | name= Ismail Matar | archive-url= https://web.archive.org/web/20131015192415/http://www.goalzz.com/main.aspx?player=3889 }}
 +
 
 +
; URLs (desktop)
 +
: <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>
  
=== Named parameters ===
+
; URLs (mobile)
; URLs
+
: <kbd>[https://m.goalzz.com/main.aspx?player=3889 https://m.goalzz.com/main.aspx?player={{Hilite|3889}}]</kbd>
: <kbd>[http://www.goalzz.com/?player=3889 http://www.goalzz.com/?player={{Hilite|3889}}]</kbd>
+
: <kbd>[https://m.goalzz.com/?player=3889 https://m.goalzz.com/?player={{Hilite|3889}}]</kbd>
: <kbd>[http://www.goalzz.com/main.aspx?player=3889 http://www.goalzz.com/main.aspx?player={{Hilite|3889}}]</kbd>
 
  
 +
=== No ID in template ===
 
; Usage
 
; Usage
: {{tlg|kbd=on|nolink=on|{{BASEPAGENAME}}&nbsp;| id{{=}} 3889 | name{{=}} Ismail Matar | archive-url{{=}} https://web.archive.org/web/20131015192415/http://www.goalzz.com/main.aspx?player{{=}}3889 }}
+
: {{tlg|a=on|kbd=on|nolink=on|{{BASEPAGENAME}} }}
  
 
; Output
 
; Output
: {{{{BASEPAGENAME}} | id= 3889 | name= Ismail Matar | archive-url= https://web.archive.org/web/20131015192415/http://www.goalzz.com/main.aspx?player=3889 }}
+
:* {{{{BASEPAGENAME}} }}
  
 
== See also ==
 
== See also ==

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