跳至內容

模板:FFF male player

維基百科,自由的百科全書

{{{name}}} (法文)

文件圖示 模板文件[檢視] [編輯] [歷史] [清除快取]

Template:FFF male player displays an external link to a male association football (soccer) player's profile at the official website of the French Football Federation (Fédération Française de Football or FFF), the national sport governing body英語sport governing body for association football in France. It is intended for use in the external links section of an article.

Usage[編輯]

Unnamed parameters:

{{FFF male player | ID }}
{{FFF male player | ID | NAME }}

Named parameters:

{{FFF male player | id= ID }}
{{FFF male player | id= ID | name= NAME }}

Using Wikidata property 本頁不存在此屬性: 4883:

{{FFF male player}}
{{FFF male player | name= NAME }}

Examples[編輯]

Unnamed parameters[編輯]

Usage:

* {{FFF male player | 8784-tresor-marius | Marius Trésor }}

Output:

URL:

https://www.fff.fr/equipe-nationale/joueur/8784-tresor-marius/fiche.html

Named parameters[編輯]

Usage:

* {{FFF male player | id= 8451-payet-dimitri | name= Dimitri Payet }}

Output:

URL:

https://www.fff.fr/equipe-nationale/joueur/8451-payet-dimitri/fiche.html

No parameters and Wikidata property not defined[編輯]

Usage:

* {{FFF male player}}

Output:

TemplateData[編輯]

以下是該模板的模板資料,適用於視覺化編輯器等工具。

FFF male player模板資料

This template displays an external link to a male association football (soccer) player's profile at the official website of the French Football Federation (Fédération Française de Football or FFF), the national sport governing body for association football in France. It is intended for use in the external links section of an article.

模板參數[編輯模板資料]

參數描述類型狀態
idid 1

The "id" parameter (or unnamed parameter "1") should contain the ID number and name from the URL. Example: 8784-tresor-marius is the ID portion of https://www.fff.fr/equipe-nationale/joueur/8784-tresor-marius/fiche.html. This parameter is optional if Wikidata property P4883 exists, but required if not.

預設
Wikidata property P4883
數值非必填
namename 2

The "name" parameter (or unnamed parameter "2") may be used to specify 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)".

預設
{{PAGENAMEBASE}}
字串非必填

See also[編輯]