Template:European Handball Federation/doc

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Template:European Handball Federation displays an external link to a handball player's page at EuroHandball.com, the official website of the European Handball Federation (EHF). It is intended for use in the external links section of an article.

ID in template and article name as link text
{{European Handball Federation | new_id= NEW ID }}
{{European Handball Federation | new_id= NEW ID | id= OLD ID }}
{{European Handball Federation | OLD ID }}
{{European Handball Federation | id= OLD ID }}
ID in template and parameter as link text
{{European Handball Federation | new_id= NEW ID | name= NAME }}
{{European Handball Federation | new_id= NEW ID | name= NAME | id= OLD ID }}
{{European Handball Federation | OLD ID | NAME }}
{{European Handball Federation | id= OLD ID | name= NAME }}
ID in Wikidata property
{{European Handball Federation}}
{{European Handball Federation | name= NAME }}

Examples

[edit source]

ID in template

[edit source]
Usage in the article Katrine Lunde, with article name as link text
* {{European Handball Federation | new_id= xqv_Ooguiw-WofqVfejhRg }}
* {{European Handball Federation | new_id= xqv_Ooguiw-WofqVfejhRg | id= 519155 }}
* {{European Handball Federation | 519155 }}
* {{European Handball Federation | id= 519155 }}
Output
URLs with new ID at www.eurohandball.com
https://www.eurohandball.com/en/player/xqv_Ooguiw-WofqVfejhRg/-/
https://www.eurohandball.com/en/player/xqv_Ooguiw-WofqVfejhRg/katrine-lunde/
URLs for numeric ID at history.eurohandball.com
https://history.eurohandball.com/player/519155
https://history.eurohandball.com/ec/cl/women/2024-25/player/519155/Katrine+Lunde
https://history.eurohandball.com/ec/cl/women/2023-24/player/519155/Katrine+Lunde
URLs for numeric ID at old.eurohandball.com
https://old.eurohandball.com/player/519155
https://old.eurohandball.com/ec/cl/women/2024-25/player/519155/Katrine+Lunde
https://old.eurohandball.com/ec/cl/women/2023-24/player/519155/Katrine+Lunde
Former URLs for numeric ID at www.eurohandball.com
http://www.eurohandball.com/player/519155
http://www.eurohandball.com/ec/ehfc/women/2003-04/player/519155/Katrine+Lunde+Haraldsen (archive)

ID in Wikidata

[edit source]
Usage in the article Magnus Landin Jacobsen, with article name as link text
* {{European Handball Federation}}
Output
URLs for numeric ID at history.eurohandball.com
https://history.eurohandball.com/player/549443
https://history.eurohandball.com/ec/el/men/2024-25/player/549443/Magnus+Landin+Jacobsen
https://history.eurohandball.com/ec/cl/men/2023-24/player/549443/Magnus+Landin+Jacobsen
URLs for numeric ID at old.eurohandball.com
https://old.eurohandball.com/player/549443 (does not work)
https://old.eurohandball.com/ec/el/men/2024-25/player/549443/Magnus+Landin+Jacobsen (does not work)
https://old.eurohandball.com/ec/cl/men/2023-24/player/549443/Magnus+Landin+Jacobsen
Former URLs for numeric ID at www.eurohandball.com
http://www.eurohandball.com/player/549443
http://www.eurohandball.com/ec/ehfc/men/2018-19/player/549443/Magnus+Landin+Jacobsen (archive)

No ID in template or Wikidata

[edit source]
Usage
* {{European Handball Federation}}
Output

TemplateData

[edit source]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:European Handball Federation in articles based on its TemplateData.

TemplateData for European Handball Federation

This template displays an external link to a handball player's page at EuroHandball.com, the official website of the European Handball Federation (EHF). It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
New IDnew_id

The ID portion of the URL at www.EuroHandball.com, such as xqv_Ooguiw-WofqVfejhRg in https://www.eurohandball.com/en/player/xqv_Ooguiw-WofqVfejhRg/-/ or https://www.eurohandball.com/en/player/xqv_Ooguiw-WofqVfejhRg/katrine-lunde/. This parameter is optional if the "id" parameter (or unnamed parameter "1") is used or if Wikidata property P3573 exists.

Stringoptional
Old IDid 1

The ID number in the URL at history.EuroHandball.com, such as 519155 in http://history.eurohandball.com/player/519155 or http://history.eurohandball.com/ec/cl/women/2020-21/player/519155/Katrine+Lunde. This parameter is optional if the "new_id" parameter is used or if Wikidata property P3573 exists.

Default
Wikidata property P3573
Numberoptional
Namename 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 "(handballer)".

Default
{{PAGENAMEBASE}}
Stringoptional

Tracking categories

[edit source]
template not using |new_id=
template with |id= or first unnamed parameter
ID is converted to numeric value before comparison with Wikidata
519155/Katrine+Lunde → 519155
519155 → 519155
template missing ID

See also

[edit source]