Jump to content

Template:CFF player/doc

From Wikipedia, the free encyclopedia

Template:CFF player displays an external link to an association football (soccer) player's page at HNS.team (formerly HNS-CFF.hr), an official website of the Croatian Football Federation (Croatian: Hrvatski nogometni savez, HNS). It is intended for use in the external links section of an article.

Usage

[edit]
Unnamed parameters
{{CFF player | ID }}
{{CFF player | ID | NAME }}
Named parameters
{{CFF player | id= ID }}
{{CFF player | id= ID | name= NAME }}
Using Wikidata property
{{CFF player}}
{{CFF player | name= NAME }}

Examples

[edit]

Unnamed parameters

[edit]
Usage
* {{CFF player | 14831/vedran-corluka | Vedran Ćorluka }}
* {{CFF player | 14831 | Vedran Ćorluka }}
Output
URLs with full ID
https://hns.team/en/players/14831/vedran-corluka/
https://hns.team/igraci/14831/vedran-corluka/ (in Croatian)
https://hns-cff.hr/en/players/14831/vedran-corluka/
https://hns-cff.hr/players/14831/vedran-corluka/ (in Croatian)
URLs with numeric ID
https://hns.team/en/players/14831/-/
https://hns.team/igraci/14831/-/ (in Croatian)
https://hns-cff.hr/en/players/14831/-/
https://hns-cff.hr/players/14831/-/ (in Croatian)

Named parameters

[edit]
Usage
* {{CFF player | id= 136326/jorge-sammir-cruz-campos | name= Jorge Sammir Cruz Campos }}
* {{CFF player | id= 136326 | name= Jorge Sammir Cruz Campos }}
Output
URLs with full ID
https://hns.team/en/players/136326/jorge-sammir-cruz-campos/
https://hns.team/igraci/136326/jorge-sammir-cruz-campos/ (in Croatian)
https://hns-cff.hr/en/players/136326/jorge-sammir-cruz-campos/
https://hns-cff.hr/players/136326/jorge-sammir-cruz-campos/ (in Croatian)
URLs with numeric ID
https://hns.team/en/players/136326/-/
https://hns.team/igraci/136326/-/ (in Croatian)
https://hns-cff.hr/en/players/136326/-/
https://hns-cff.hr/players/136326/-/ (in Croatian)

No parameters and Wikidata property not defined

[edit]
Usage
* {{CFF player}}
Output
  • {{CFF 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:CFF player in articles based on its TemplateData.

TemplateData for CFF player

This template displays an external link to an association football (soccer) player's page at HNS.team (formerly HNS-CFF.hr), an official website of the Croatian Football Federation (Croatian: Hrvatski nogometni savez, HNS). It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
idid 1

The ID portion of the URL, such as 14831 or 14831/vedran-corluka in https://hns.team/en/players/14831/vedran-corluka/ or https://hns.team/igraci/14831/vedran-corluka/. This parameter is optional if Wikidata property P3577 exists, but required if not.

Default
Wikidata property P3577
Stringoptional
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

Tracking categories

[edit]
template with ID
ID is converted to numeric value before comparison with Wikidata
14831/vedran-corluka → 14831
14831 → 14831
template missing ID

See also

[edit]