Template:European Handball Federation/doc

From Wikipedia, the free encyclopedia

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.

Usage[edit]

Unnamed parameters
{{European Handball Federation | ID }}
{{European Handball Federation | ID | NAME }}
Named parameters
{{European Handball Federation | id= ID }}
{{European Handball Federation | id= ID | name= NAME }}
{{European Handball Federation | new_id= ID }}
{{European Handball Federation | new_id= ID | name= NAME }}
{{European Handball Federation | id= ID | new_id= ID }}
{{European Handball Federation | id= ID | new_id= ID | name= NAME }}
Using Wikidata property European Handball Federation player ID (P3573)
{{European Handball Federation}}
{{European Handball Federation | name= NAME }}

Examples[edit]

ID in template[edit]

Usage in the article Katrine Lunde, with article name as link text
* {{European Handball Federation | 519155 }}
* {{European Handball Federation | id= 519155 }}
* {{European Handball Federation | new_id= xqv_Ooguiw-WofqVfejhRg }}
* {{European Handball Federation | id= 519155 | new_id= xqv_Ooguiw-WofqVfejhRg }}
Usage with name parameter as link text
* {{European Handball Federation | 519155 | Katrine Lunde }}
* {{European Handball Federation | id= 519155 | name= Katrine Lunde }}
* {{European Handball Federation | new_id= xqv_Ooguiw-WofqVfejhRg | name= Katrine Lunde }}
* {{European Handball Federation | id= 519155 | new_id= xqv_Ooguiw-WofqVfejhRg | name= Katrine Lunde }}
Output
URLs
http://history.eurohandball.com/player/519155
http://history.eurohandball.com/ec/cl/women/2020-21/player/519155/Katrine+Lunde
New URLs
https://www.eurohandball.com/en/player/xqv_Ooguiw-WofqVfejhRg/-/
https://www.eurohandball.com/en/player/xqv_Ooguiw-WofqVfejhRg/katrine-lunde/

ID in Wikidata[edit]

Usage in the article Magnus Landin Jacobsen
* {{European Handball Federation}}
* {{European Handball Federation | name= Magnus Landin Jacobsen }}
Output
URLs
http://history.eurohandball.com/player/549443
http://history.eurohandball.com/ec/cl/men/2020-21/player/549443/Magnus+Landin+Jacobsen

No ID in template or Wikidata[edit]

Usage
* {{European Handball Federation}}
Output

TemplateData[edit]

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
Player IDid 1

The ID number from 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 Wikidata property P3573 exists, but required if not.

Default
Wikidata property P3573
Numberoptional
New Player 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
Player 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

See also[edit]