Template:FPF national player/doc
This is a documentation subpage for Template:FPF national player. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
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
-
- Ana Borges national team profile at the Portuguese Football Federation (in Portuguese)
- 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
-
- Rui Costa national team profile at the Portuguese Football Federation (in Portuguese)
- 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
-
- {{FPF national player}} template missing ID and not present in Wikidata.
TemplateData
[edit]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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
id | id 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.
| Number | optional |
name | name 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)".
| String | optional |
See also
[edit]- {{FPF club player}}