Jump to content

Template:FPF national player/doc

From Wikipedia, the free encyclopedia

Template:FPF national player displays an external link to an association football (soccer) player's national team profile at FPF.pt, the official website of the Portuguese Football Federation (in Portuguese: Federação Portuguesa de Futebol, FPF). It is intended for use in the external links section of an article.

Usage

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

Examples

[edit]

Unnamed parameters

[edit]

For Ana Borges

Usage
* {{FPF national player | 643062 | Ana Borges }}
Output
URLs
https://www.fpf.pt/Jogadores/Jogador/playerId/643062
https://www.fpf.pt/pt/Jogadores/Jogador/playerId/643062

Named parameters

[edit]

For Rui Costa

Usage
* {{FPF national player | id= 250690 | name= Rui Costa }}
Output
URLs
https://www.fpf.pt/Jogadores/Jogador/playerId/250690
https://www.fpf.pt/pt/Jogadores/Jogador/playerId/250690

No parameters and Wikidata property not defined

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

TemplateData for FPF national player

This template displays an external link to an association football (soccer) player's national team profile at FPF.pt, the official website of the Portuguese Football Federation (in Portuguese: Federação Portuguesa de Futebol, FPF). It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
idid 1

The ID number in the player's URL, such as 643062 in https://www.fpf.pt/Jogadores/Jogador/playerId/643062 or https://www.fpf.pt/pt/Jogadores/Jogador/playerId/643062. This parameter is optional if Wikidata property P8780 exists, but required if not.

Default
Wikidata property P8780
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

See also

[edit]