Template:Fotbal DNES/doc

From Simple English Wikipedia, the free encyclopedia

Template:Fotbal DNES displays an external link to an association football (soccer) player's Czech First League statistics at the Fotbal.iDNES.cz website. It is intended for use in the external links section of an article.

Usage[change source]

Unnamed parameters:

{{Fotbal DNES | ID }}
{{Fotbal DNES | ID | NAME }}

Named parameters:

{{Fotbal DNES | id= ID }}
{{Fotbal DNES | id= ID | name= NAME }}

Using Wikidata property P3663:

{{Fotbal DNES}}
{{Fotbal DNES | name= NAME }}

Examples[change source]

Unnamed parameters[change source]

URLs:

http://fotbal.idnes.cz/db_fotbal.asp?hrac=3000263
http://fotbal.idnes.cz/databanka.aspx?t=hrac&id=3000263

Usage:

{{Fotbal DNES | 3000263 | Milan Baroš }}

Output:

Milan BarošCzech First League statistics at Fotbal DNES (in Czech)

Named parameters[change source]

URLs:

http://fotbal.idnes.cz/db_fotbal.asp?hrac=3003389
http://fotbal.idnes.cz/databanka.aspx?t=hrac&id=3003389

Usage:

{{Fotbal DNES | id= 3003389 | name= Marek Heinz }}

Output:

Marek HeinzCzech First League statistics at Fotbal DNES (in Czech)

No parameters and Wikidata property not defined[change source]

Usage:

{{Fotbal DNES}}

Output:

{{Fotbal DNES}} template missing ID and not present in Wikidata.

TemplateData[change source]

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Fotbal DNES in articles based on its TemplateData.

TemplateData for Fotbal DNES

This template displays an external link to an association football (soccer) player's Czech First League statistics at the Fotbal.iDNES.cz 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: 3000263 is the ID portion of http://fotbal.idnes.cz/db_fotbal.asp?hrac=3000263 or http://fotbal.idnes.cz/databanka.aspx?t=hrac&id=3000263. This parameter is optional if Wikidata property P3663 exists, but required if not.

Default
Wikidata property P3663
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