Template:Hrnogomet
{{{name}}} at Croatian Football Statistics
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, the Croatian Football Statistics (Statistike hrvatskog nogometa) website. It is intended for use in the external links section of an article.
Usage
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
Unnamed parameters
URL:
Usage:
{{Hrnogomet | 2143 | Mario Maloča }}
Output:
- Mario Maloča at Croatian Football Statistics
Named parameters
URL:
Usage:
{{Hrnogomet | id= 512 | name= Mladen Mladenović }}
Output:
- Mladen Mladenović at Croatian Football Statistics
No parameters and Wikidata property not defined
Usage:
{{Hrnogomet}}
Output:
- Hrnogomet at Croatian Football Statistics
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 Hrnogomet
<templatedata> {
"description": "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.", "params": { "id": { "label": "id", "aliases": ["1"], "description": "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.", "type": "number", "required": false, "default": "Wikidata property P3657" }, "name": { "label": "name", "aliases": ["2"], "description": "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)\".", "type": "string", "required": false, "default": "Hrnogomet" } }, "paramOrder": [ "id", "name" ]
} </templatedata>
Tracking category
Related pages
- Template:CFF player for player links at the Croatian Football Federation website
Other websites
- League player search at Croatian Football Statistics website
- National team player search at Croatian Football Statistics website
The above documentation is transcluded from Template:Hrnogomet/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |