Jump to content

Template:FSHF player/doc

From Wikipedia, the free encyclopedia

Template:FSHF player displays an external link to an association football (soccer) player's profile at FSHF.org, the official website of the Albanian Football Association (Federata Shqiptare e Futbollit, FSHF).

Usage[edit]

Unnamed parameters
{{FSHF player | ID }}
{{FSHF player | ID | NAME }}
Named parameters
{{FSHF player | id= ID }}
{{FSHF player | id= ID | name= NAME }}
Using Wikidata property
{{FSHF player}}
{{FSHF player | name= NAME }}

Examples[edit]

Unnamed parameters[edit]

Usage
* {{FSHF player | 215145 | Alban Hoxha }}
Output
Current URL
https://fshf.org/garat/?query=info&player_id=215145
Former URL
http://www.fshf.org/garat/components/lojtar.php?player_id=215145 (archive 2017-12-15)

Named parameters[edit]

Usage
* {{FSHF player | id= 226647 | name= Mergim Brahimi }}
Output
Current URL
https://fshf.org/garat/?query=info&player_id=226647
Former URL
http://www.fshf.org/content/mergim-brahimi (archive 2012-04-12)

No parameters and Wikidata property not defined[edit]

Usage
* {{FSHF player}}
Output
  • {{FSHF player}} template missing ID and not present in Wikidata.

TemplateData[edit]

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:FSHF player in articles based on its TemplateData.

TemplateData for FSHF player

This template displays an external link to an association football (soccer) player's profile at FSHF.org, the official website of the Albanian Football Association (Federata Shqiptare e Futbollit, FSHF).

Template parameters

ParameterDescriptionTypeStatus
IDid 1

The ID number in the URL, such as 215145 in https://fshf.org/garat/?query=info&player_id=215145 or http://www.fshf.org/garat/components/lojtar.php?player_id=215145. This parameter is optional if Wikidata property P11937 exists, but required if not.

Default
Wikidata property P11937
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 "(footballer)" or "(soccer)".

Default
{{PAGENAMEBASE}}
Stringoptional

External link[edit]