Difference between revisions of "Template:90minut/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Zyxw
m (Since <tt> is obsolete in HTML5, replace with <kbd> – see HTML element#tt and Wikipedia:HTML5, and mw:Help:Extension:Linter/obsolete-tag. using AWB)
blackwiki>Zyxw
Line 75: Line 75:
  
 
== Tracking categories ==
 
== Tracking categories ==
; "id" parameter exists
+
; ID parameter exists
* {{clc|90minut template with ID same as Wikidata}}
+
* {{clc|90minut template with ID different from Wikidata}}
 
* {{clc|90minut template with ID not in Wikidata}}
 
* {{clc|90minut template with ID not in Wikidata}}
* {{clc|90minut template with ID different from Wikidata}}
+
; ID parameter does not exist
; "id" parameter does not exist
 
* {{clc|90minut template using Wikidata}}
 
 
* {{clc|90minut template missing ID and not in Wikidata}}
 
* {{clc|90minut template missing ID and not in Wikidata}}
  

Revision as of 00:05, 28 April 2019

Template:Uses Wikidata Template:Tracks Wikidata

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

Usage

Unnamed parameters:

Template:Tlcw
Template:Tlcw

Named parameters:

Template:Tlcw
Template:Tlcw

Using Wikidata property P3605:

Template:Tlcw
Template:Tlcw

Examples

Unnamed parameters

URL:

http://www.90minut.pl/kariera.php?id=392

Usage:

Template:Tlcw

Output:

Jerzy Dudek at 90minut.pl (in Polish)Script error: No such module "EditAtWikidata".Template:WikidataCheck

Named parameters

URL:

http://www.90minut.pl/kariera.php?id=9717

Usage:

Template:Tlcw

Output:

Miloš Krasić at 90minut.pl (in Polish)Script error: No such module "EditAtWikidata".Template:WikidataCheck

No parameters and Wikidata property not defined

Usage:

Template:Tlcw

Output:

Template:PAGENAMEBASE at 90minut.pl (in Polish)Script error: No such module "EditAtWikidata".Template:WikidataCheck

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for 90minut

This template displays an external link to an association football (soccer) player's profile at the 90minut.pl website. It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
idid 1

The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: 392 is the ID portion of http://www.90minut.pl/kariera.php?id=392. This parameter is optional if Wikidata property P3605 exists, but required if not.

Default
Wikidata property P3605
Numberoptional
namename 2

The "name" parameter (or unnamed parameter "2") may be used to specify 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)".

Default
{{PAGENAMEBASE}}
Stringoptional

Tracking categories

ID parameter exists
ID parameter does not exist