跳至內容

模板:Wfb

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

worldfootball.net:Wfb之統計數據 (英文)

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

Template:Wfb displays an external link to an association football (soccer) player's profile at the WorldFootball.net website. It is intended for use in the external links section of an article.

Usage[編輯]

Unnamed parameters:

{{Wfb | ID }}
{{Wfb | ID | NAME }}

Named parameters:

{{Wfb | id= ID }}
{{Wfb | id= ID | name= NAME }}

Using Wikidata property P2020:

{{Wfb}}
{{Wfb | name= NAME }}

Examples[編輯]

Unnamed parameters[編輯]

Usage:

{{Wfb | gregory-van-der-wiel | Gregory van der Wiel }}

Output:

worldfootball.net:gregory-van-der-wiel / Gregory van der Wiel 之統計數據 (英文)

URL:

http://www.worldfootball.net/player_summary/gregory-van-der-wiel/

Named parameters[編輯]

Usage:

{{Wfb | id= kaka_2 | name= Kaká }}

Output:

worldfootball.net:Kaká之統計數據 (英文)

URL:

http://www.worldfootball.net/player_summary/kaka_2/

No parameters and Wikidata property not defined[編輯]

Usage:

{{Wfb}}

Output:

worldfootball.net:Wfb之統計數據 (英文)

TemplateData[編輯]

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

Wfb模板資料

This template displays an external link to an association football (soccer) player's profile at the WorldFootball.net website. 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 portion of the URL. Example: gregory-van-der-wiel is the ID portion of http://www.worldfootball.net/player_summary/gregory-van-der-wiel/. This parameter is optional if Wikidata property P2020 exists, but required if not.

預設
Wikidata property P2020
字串非必填
namename 2

The "name" parameter (or unnamed parameter "2") may be used to specify the link text, which should be the player's name. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(footballer)" or "(soccer)".

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

Tracking categories[編輯]

template with ID
template missing ID

See also[編輯]

External links[編輯]