Jump to content

Template:Hrnogomet/doc

From 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 (HR nogomet), the Croatian Football Statistics (Statistike hrvatskog nogometa) website. It is intended for use in the external links section of an article.

Usage

[edit]
New ID in template
{{Hrnogomet | new_id= NEW ID }}
{{Hrnogomet | new_id= NEW ID | name= NAME }}
Old ID in template
{{Hrnogomet | id= ID }}
{{Hrnogomet | id= ID | name= NAME }}
{{Hrnogomet | ID }}
{{Hrnogomet | ID | NAME }}
Old ID in Wikidata property Croatian Football Statistics player ID (archived) (P3657)
{{Hrnogomet}}
{{Hrnogomet | name= NAME }}

Examples

[edit]

New ID

[edit]
Usage
* {{Hrnogomet | new_id= 1hTw1P78sh | name= Petar Brlek }}
* {{Hrnogomet | new_id= IAkf66M2ps | name= Ivan Miličević }}
Output
URLs
https://hrnogomet.com/player.php?id=1hTw1P78sh&category=dTS02kvlOm&type=0&order=3&dir=desc&page=1&pageSize=10
https://hrnogomet.com/player.php?id=IAkf66M2ps&category=dTS02kvlOm&type=0&order=3&dir=desc&page=1&pageSize=10

Old ID (archived link)

[edit]
Usage
* {{Hrnogomet | 2624 | Petar Brlek }}
* {{Hrnogomet | id= 2190 | name= Ivan Miličević }}
Output
  • Petar Brlek at Croatian Football Statistics (archived) (in Croatian)
  • Ivan Miličević at Croatian Football Statistics (archived) (in Croatian)
URLs
https://hrnogomet.com/hnl/igrac.php?id=2624 (archive)
https://hrnogomet.com/hnl/igrac.php?id=2624&lang=en (archive)
https://hrnogomet.com/hnl/igrac.php?id=2190 (archive)
https://hrnogomet.com/hnl/igrac.php?id=2190&lang=en

No parameters and Wikidata property not defined

[edit]
Usage
* {{Hrnogomet}}
Output
  • {{Hrnogomet}} template missing ID and not present in Wikidata.

TemplateData

[edit]
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 (HR nogomet), the Croatian Football Statistics (Statistike hrvatskog nogometa) website. It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
Old IDid 1

The ID number in the player's former URL, such as "2624" in https://hrnogomet.com/hnl/igrac.php?id=2624. This parameter is optional if Wikidata property P3657 exists, but required if not.

Default
Wikidata property P3657
Numberoptional
New IDnew_id

The ID portion of the player's current URL, such as 1hTw1P78sh in https://hrnogomet.com/player.php?id=1hTw1P78sh. This parameter is optional if the "id" parameter (or unnamed parameter "1") is used or if Wikidata property P3657 exists.

Stringoptional
Namename 2

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

[edit]

See also

[edit]
[edit]