Template:HOO profile/doc
This is a documentation subpage for Template:HOO profile. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
Template:HOO profile displays an external link to an athlete's archived profile from 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.
Usage
[edit]- Unnamed parameters
{{HOO profile | ID }}
{{HOO profile | ID | NAME }}
- Named parameters
{{HOO profile |id= ID }}
{{HOO profile |id= ID |name= NAME }}
{{HOO profile |id= ID |name= NAME |hr_archive= NUMBER }}
{{HOO profile |id= ID |name= NAME |hr_archive= NUMBER |en_archive= NUMBER }}
- Using Wikidata property
{{HOO profile}}
{{HOO profile |name= NAME }}
{{HOO profile |name= NAME |hr_archive= NUMBER }}
{{HOO profile |name= NAME |hr_archive= NUMBER |en_archive= NUMBER }}
Examples
[edit]Unnamed parameters for id and name
[edit]- Usage
* {{HOO profile | 4140 | Blanka Vlašić }}
* {{HOO profile | 4140 | Blanka Vlašić |hr_archive= 20221226140139 |en_archive= 20211024131102 }}
- Output
-
- Blanka Vlašić at the Croatian Olympic Committee (in Croatian) (archived)
- Blanka Vlašić at the Croatian Olympic Committee (in Croatian) (archived, also available in English)
- URLs
- https://web.archive.org/web/1/https://www.hoo.hr/hr/sportasi/biografije-sportasa?idsportas=4140
- https://web.archive.org/web/20221226140139/https://www.hoo.hr/hr/sportasi/biografije-sportasa?idsportas=4140
- https://web.archive.org/web/20211024131102/https://www.hoo.hr/en/athletes/biographies-of-athletes?idsportas=4140
Named parameters
[edit]- Usage
* {{HOO profile|id=16104|name=Bruno Gudelj}}
* {{HOO profile|id=16104|name=Bruno Gudelj|hr_archive=20220930193737|en_archive=20220408072531}}
- Output
-
- Bruno Gudelj at the Croatian Olympic Committee (in Croatian) (archived)
- Bruno Gudelj at the Croatian Olympic Committee (in Croatian) (archived, also available in English)
- URLs
- https://web.archive.org/web/1/https://www.hoo.hr/hr/sportasi/biografije-sportasa?idsportas=16104
- https://web.archive.org/web/20220930193737/https://www.hoo.hr/hr/sportasi/biografije-sportasa?idsportas=16104
- https://web.archive.org/web/20220408072531/https://www.hoo.hr/en/athletes/biographies-of-athletes?idsportas=16104
No parameters and Wikidata property not defined
[edit]- Usage
* {{HOO profile}}
- Output
-
- {{HOO profile}} template missing ID and not present in Wikidata.
TemplateData
[edit]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 number in the URL, such as 4140 in https://www.hoo.hr/hr/sportasi/biografije-sportasa?idsportas=4140 or https://www.hoo.hr/en/athletes/biographies-of-athletes?idsportas=4140. This parameter is optional if Wikidata property P4541 exists, but required if not.
| Number | optional |
name | name 2 | 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 |
hr_archive | hr_archive | A number representing the date/time in an Internet Archive URL for the Croatian website, such as 20220930193737 in https://web.archive.org/web/20220930193737/https://www.hoo.hr/hr/sportasi/biografije-sportasa?idsportas=16104. The number 1 links to the earliest archived page and the number 2 links to the most recent archived page.
| Number | optional |
en_archive | en_archive | A number representing the date/time in an Internet Archive URL for the English website, such as 20220408072531 in https://web.archive.org/web/20220408072531/https://www.hoo.hr/en/athletes/biographies-of-athletes?idsportas=16104. The number 1 links to the earliest archived page and the number 2 links to the most recent archived page. | Number | optional |
Templates and modules used
[edit]- Template:First word, implemented with Module:String
- Module:EditAtWikidata
See also
[edit]Olympic profile templates
[edit]Country | Template | Wikidata property |
---|---|---|
{{Olympics.com profile}} | P5815: Olympics.com athlete ID | |
Argentina | {{COA profile}} | P4065: Argentine Olympic Committee athlete ID |
Australia | {{AOC profile}} | P3682: Australian Olympic Committee athlete ID |
Azerbaijan | {{Olympic.az profile}} | P10975: National Olympic Committee of the Republic of Azerbaijan athlete ID |
Belarus | {{NOC Belarus}} | |
Belgium | {{Team Belgium}} | P10963: Belgian Olympic and Interfederal Committee athlete ID |
Brazil | {{COB profile}} | P4060: Brazilian Olympic Committee athlete ID |
Canada | {{Team Canada}} | P4054: Team Canada athlete ID |
China | {{Chinese Olympic Committee profile}} | P4068: Chinese Olympic Committee athlete ID (archived) |
Croatia | {{HOO profile}} | P4541: Croatian Olympic Committee athlete ID (archived) |
Czech Republic | {{COV profile}} | P4062: Czech Olympic Committee athlete ID |
Estonia | {{ESBL profile}} | P4042: ESBL athlete ID |
Estonia | {{EOK profile}} | |
Finland | {{Olympiakomitea.fi}} | |
France | {{CNOSF profile}} | P4050: EspritBleu athlete ID (archived) |
France | {{Team France}} | P11934: Team France athlete ID |
Germany | {{DOSB profile}} | P4053: Team Deutschland athlete ID |
Great Britain | {{Team GB}} | P4490: Team GB athlete ID |
Greece | {{HOC profile}} | P4489: Hellenic Olympic Committee athlete ID (archived) |
Hungary | {{MOB profile}} | P4066: Hungarian Olympic Committee athlete ID |
Ireland | {{OFI profile}} | P10914: Olympic Federation of Ireland athlete ID |
Israel | {{OCI profile}} | P9669: Olympic Committee of Israel athlete ID (archived) |
Italy | {{CONI profile}} | P4069: Italian National Olympic Committee athlete ID |
Japan | {{JOC profile}} | |
Kazakhstan | {{Olympic.kz profile}} | P11024: National Olympic Committee of the Republic of Kazakhstan athlete ID |
Latvia | {{LOK profile}} | P2593: Latvian Olympic Committee athlete ID (archived) |
Lithuania | {{LTOK profile}} | P4061: Lithuanian National Olympic Committee athlete ID |
Luxembourg | {{COSL profile}} | P12372: Luxembourg Olympic and Sports Committee profile ID |
Morocco | {{CNOM profile}} | P11019: Moroccan Olympic Committee athlete ID |
Netherlands | {{TeamNL profile}} | P9822: TeamNL athlete ID number (archived) |
Netherlands | {{NOCNSF profile}} | P10957: NOC*NSF athlete ID |
New Zealand | {{NZOC profile}} | P4056: New Zealand Olympic Committee athlete ID |
Norway | {{Team Norway}} | |
Poland | {{PKOl profile}} | P6071: Polish Olympic Committee athlete ID (archived) |
Qatar | {{Team Qatar}} | |
Romania | {{COSR profile}} | P4067: Romanian Olympic and Sports Committee athlete ID |
Serbia | {{OKS profile}} | P10978: Olympic Committee of Serbia athlete ID (new) |
Singapore | {{SNOC profile}} | P10979: Singapore National Olympic Council athlete ID |
Slovakia | {{SOSV profile}} | P10647: Slovak Olympic and Sports Committee athlete ID |
Spain | {{COE profile}} | P8421: Spanish Olympic Committee athlete ID |
Sweden | {{SOK profile}} | P2323: Swedish Olympic Committee athlete ID |
Turkey | {{TMOK profile}} | P9973: Turkish National Olympic Committee athlete ID |
Turkey | {{Olimpedya}} | |
United States | {{USOPC profile}} | P4063: Team USA athlete former ID (archived) |
External links
[edit]- Athlete search at HOO.hr (archived 2022-10-05) (in Croatian)
- Athlete search at HOO.hr (archived 2022-10-18) (in English)