[go: nahoru, domu]

Jump to content

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
Current 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
Current 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)
New 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/

ID in Wikidata

[edit]
Usage in the article Magnus Landin Jacobsen
* {{European Handball Federation}}
* {{European Handball Federation | name= Magnus Landin Jacobsen }}
Output
Current 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
Current 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]
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]