Template:Hrnogomet/doc
This is a documentation subpage for Template:Hrnogomet. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
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
-
- Petar Brlek at Croatian Football Statistics (in Croatian)
- Ivan Miličević at Croatian Football Statistics (in Croatian)
- 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]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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Old ID | id 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.
| Number | optional |
New ID | new_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. | String | optional |
Name | name 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)".
| String | optional |
Tracking category
[edit]See also
[edit]- Template:CFF player for player links at the Croatian Football Federation website
External links
[edit]- Player page at HR nogomet (in Croatian)
- League player search at Croatian Football Statistics website (archived)
- National team player search at Croatian Football Statistics website (archived)