Template:HOO profile/doc
| This is a documentation subpage for Template:HOO profile. It contains usage information, categories and other content that is not part of the original template page. |
Template:Template redirect Template:Uses Wikidata
| This template uses Lua: |
Template:HOO profile displays an external link to an athlete's profile at the official website of the Croatian Olympic Committee, known in Croatian as Hrvatski olimpijski odbor (HOO). It is intended for use in the external links section of an article.
Contents
Usage
- Unnamed parameters
{{HOO profile | ID }}{{HOO profile | ID | NAME }}
- Named parameters
{{HOO profile | id= ID }}{{HOO profile | id= ID | name= NAME }}
- Using Wikidata property Template:Property
{{HOO profile}}{{HOO profile | name= NAME }}
Examples
Unnamed parameters
- Usage
* {{HOO profile | 4140 | Blanka Vlašić }}
- Output
-
- Blanka Vlašić at the Croatian Olympic Committee (also available in Croatian)Script error: No such module "EditAtWikidata".
- URLs
- https://www.hoo.hr/en/athletes/biographies-of-athletes?idsportas=4140
- https://www.hoo.hr/hr/sportasi/biografije-sportasa?idsportas=4140
Named parameters
- Usage
* {{HOO profile | id= 16104 | name= Bruno Gudelj }}
- Output
-
- Bruno Gudelj at the Croatian Olympic Committee (also available in Croatian)Script error: No such module "EditAtWikidata".
- URLs
- https://www.hoo.hr/en/athletes/biographies-of-athletes?idsportas=16104
- https://www.hoo.hr/hr/sportasi/biografije-sportasa?idsportas=16104
No parameters and Wikidata property not defined
- Usage
* {{HOO profile}}
- Output
-
- Template:PAGENAMEBASE at the Croatian Olympic Committee (also available in Croatian)Script error: No such module "EditAtWikidata".
TemplateData
TemplateData for HOO profile
This template displays an external link to an athlete's profile at the official website of the Croatian Olympic Committee, known in Croatian as Hrvatski olimpijski odbor (HOO). It is intended for use in the external links section of an article.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| id | id 1 | The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: 4140 is the ID portion of https://www.hoo.hr/en/athletes/biographies-of-athletes?idsportas=4140 or https://www.hoo.hr/hr/sportasi/biografije-sportasa?idsportas=4140. This parameter is optional if Wikidata property P4541 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 athlete. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(athlete)".
| String | optional |
Templates and modules used
- Template:First word, implemented with Module:String
- Module:EditAtWikidata
See also
- {{IOC profile}} for links to profiles from the International Olympic Committee
- {{AOC profile}} for links to profiles from the Australian Olympic Committee
- {{BOC profile}} for links to profiles from the Brazilian Olympic Committee
- {{Chinese Olympic Committee profile}} for links to profiles from the Chinese Olympic Committee
- {{CNOSF profile}} for links to profiles from the Comité National Olympique et Sportif Français
- {{COA profile}} for links to profiles from the Comité Olímpico Argentino
- {{COC profile}} for links to profiles from the Canadian Olympic Committee
- {{COE profile}} for links to profiles from the Comité Olímpico Español
- {{CONI profile}} for links to profiles from the Comitato Olimpico Nazionale Italiano
- {{COSR profile}} for links to profiles from the Comitetul Olimpic și Sportiv Român
- {{COV profile}} for links to profiles from the Český olympijský výbor
- {{DOSB profile}} for links to profiles from the Deutscher Olympischer Sportbund
- {{LOK profile}} for links to profiles from the Latvijas Olimpiskā Komiteja
- {{MOB profile}} for links to profiles from the Magyar Olimpiai Bizottság
- {{NZOC profile}} for links to profiles from the New Zealand Olympic Committee
- {{SNOC profile}} for links to profiles from the Singapore National Olympic Council
- {{SOK profile}} for links to profiles from the Sveriges Olympiska Kommitté
- {{Team GB}} for links to profiles from Team GB (the British Olympic Association)
- {{USOPC profile}} for links to profiles from the United States Olympic & Paralympic Committee
External links
- Athlete search at HOO.hr (in English)
- Athlete search at HOO.hr (in Croatian)