Template:Hrnogomet/doc

From Simple English Wikipedia, the free encyclopedia

Template:Hrnogomet displays an external link to the profile of an association football (soccer) player in the Croatian First Football League (Croatian: Prva hrvatska nogometna liga, also known as Prva HNL or 1. HNL) at hrnogomet.com, the Croatian Football Statistics (Statistike hrvatskog nogometa) website. It is intended for use in the external links section of an article.

Usage[change source]

Unnamed parameters:

{{Hrnogomet | ID }}
{{Hrnogomet | ID | NAME }}

Named parameters:

{{Hrnogomet | id= ID }}
{{Hrnogomet | id= ID | name= NAME }}

Using Wikidata property P3657:

{{Hrnogomet}}
{{Hrnogomet | name= NAME }}

Examples[change source]

Unnamed parameters[change source]

URL:

https://hrnogomet.com/hnl/igrac.php?id=2143&lang=en

Usage:

{{Hrnogomet | 2143 | Mario Maloča }}

Output:

Mario Maloča at Croatian Football Statistics

Named parameters[change source]

URL:

https://hrnogomet.com/hnl/igrac.php?id=512&lang=en

Usage:

{{Hrnogomet | id= 512 | name= Mladen Mladenović }}

Output:

Mladen Mladenović at Croatian Football Statistics

No parameters and Wikidata property not defined[change source]

Usage:

{{Hrnogomet}}

Output:

{{Hrnogomet}} 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:Hrnogomet in articles based on its TemplateData.

TemplateData for Hrnogomet

This template displays an external link to the profile of an association football (soccer) player in the Croatian First Football League (Croatian: Prva hrvatska nogometna liga, also known as Prva HNL or 1. HNL) at hrnogomet.com, the Croatian Football Statistics (Statistike hrvatskog nogometa) website. It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
idid 1

The "id" parameter should contain the ID portion of player's URL. Examples: "2143" is the ID portion of https://hrnogomet.com/hnl/igrac.php?id=2143. This parameter is optional if Wikidata property P3657 exists, but required if not.

Default
Wikidata property P3657
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 category[change source]

Related pages[change source]

Other websites[change source]