Difference between revisions of "Template:Hrnogomet/doc"
imported>Zyxw (update) |
imported>Zyxw (update URLs) |
||
| Line 23: | Line 23: | ||
=== Unnamed parameters === | === Unnamed parameters === | ||
''URL:'' | ''URL:'' | ||
| − | : <kbd>[https://hrnogomet.com/hnl/igrac.php?id=2143 https://hrnogomet.com/hnl/igrac.php?id={{Hilite|2143}}]</kbd> | + | : <kbd>[https://hrnogomet.com/hnl/igrac.php?id=2143&lang=en https://hrnogomet.com/hnl/igrac.php?id={{Hilite|2143}}&lang=en]</kbd> |
''Usage:'' | ''Usage:'' | ||
: {{tlcw|{{BASEPAGENAME}} | 2143 | Mario Maloča }} | : {{tlcw|{{BASEPAGENAME}} | 2143 | Mario Maloča }} | ||
| Line 31: | Line 31: | ||
=== Named parameters === | === Named parameters === | ||
''URL:'' | ''URL:'' | ||
| − | : <kbd>[https://hrnogomet.com/hnl/igrac.php?id=512 https://hrnogomet.com/hnl/igrac.php?id={{Hilite|512}}]</kbd> | + | : <kbd>[https://hrnogomet.com/hnl/igrac.php?id=512&lang=en https://hrnogomet.com/hnl/igrac.php?id={{Hilite|512}}&lang=en]</kbd> |
''Usage:'' | ''Usage:'' | ||
: {{tlcw|{{BASEPAGENAME}} | id{{=}} 512 | name{{=}} Mladen Mladenović }} | : {{tlcw|{{BASEPAGENAME}} | id{{=}} 512 | name{{=}} Mladen Mladenović }} | ||
Revision as of 04:25, 21 June 2018
| 40px | This is a documentation subpage for Template:Hrnogomet. It contains usage information, categories and other content that is not part of the original template page. |
| 30px | This template uses Lua: |
Template:Hrnogomet displays an external link to an association football (soccer) player's profile at hrnogomet.com, the Croatian Football Statistics (Croatian: Statistike hrvatskog nogometa) website. It is intended for use in the external links section of an article.
Contents
Usage
Unnamed parameters:
Named parameters:
Using Wikidata property P3657:
Examples
Unnamed parameters
URL:
Usage:
Output:
- Mario Maloča at Croatian Football StatisticsScript error: No such module "EditAtWikidata".
Named parameters
URL:
Usage:
Output:
- Mladen Mladenović at Croatian Football StatisticsScript error: No such module "EditAtWikidata".
No parameters and Wikidata property not defined
Usage:
Output:
- Template:PAGENAMEBASE at Croatian Football StatisticsScript error: No such module "EditAtWikidata".
TemplateData
TemplateData for Hrnogomet
This template displays an external link to an association football (soccer) player's profile at hrnogomet.com, the Croatian Football Statistics (Croatian: Statistike hrvatskog nogometa) website. It is intended for use in the external links section of an article.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| id | id 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.
| Number | optional |
| name | name 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)".
| String | optional |
Tracking category
See also
- Template:CFF player for player links at the Croatian Football Federation website
External links
- League player search at Croatian Football Statistics website
- National team player search at Croatian Football Statistics website