模板:Football squad

被永久保護的模板
維基百科,自由的百科全書
文件圖示 模板文件[檢視] [編輯] [歷史] [清除快取]

使用方法

{{Football squad}} is designed to be used within squad list templates (typically placed at the bottom of a player page) in order to make editing and standardisation easier. If you want to use this template first set up a new template for your squad, typically called something like Template:(team name) squad.

  • name:需使用模板的名稱,不含Template:。此欄用作顯示左上角的模板維護連結。
  • teamname:球隊名稱一欄請使用該球會在維基百科條目所使用的名稱,以英格蘭足球會「西漢姆聯足球俱樂部」(West Ham)為例,應使用「西漢姆聯足球俱樂部」避免連結出現錯誤。
  • title:球隊顯示名稱,name一欄已為title一欄提供連結,title一欄需使用球隊的常用名稱。球隊名稱可加入手工轉換標籤-{zh-hans:簡體字譯名;zh-hant:繁體字譯名;zh-hk:香港譯名;zh-tw:台灣譯名;zh-sg:新馬譯名;zh-mo:香港譯名;}-以作用詞處理。

球員條目連結應使用[[球員條目名稱|-{zh-hans:簡體字譯名;zh-hant:繁體字譯名;zh-hk:香港譯名;zh-tw:台灣譯名;zh-sg:新馬譯名;zh-mo:香港譯名;}-的方法處理。

Templates useful for formatting the list are:

  • {{football squad2 player}} - takes parameters "no" (number) and "name" (player name).
  • {{football squad manager}} - takes the parameter "name" (manager name) and the optional parameter "title" (defaults to "Manager"). Has no bullet mark afterward, use only as the last entry on a list.
{{football squad
 |name={{subst:PAGENAME}}
 |teamname=利物浦足球俱樂部
 |title=利物浦
 |bgcolor=red
 |textcolor=white
 |bordercolor=gold
 |list=<div>
{{football squad2 player|no=2|name=[[安德雷亞·多塞納|杜辛拿]]}}
{{football squad2 player|no=3|name=[[史蒂夫·芬南|芬倫]]}}
{{football squad2 player|no=4|name=[[薩米·海皮亞|希比亞]]}}
{{football squad2 player|no=5|name=[[丹尼爾·阿格|艾加]]}}
{{football squad2 player|no=8|name=[[史蒂文·傑拉德|謝拉特]]}}
{{football squad2 player|no=9|name=[[費爾南多·托雷斯|費蘭度·托利斯]]}}
{{football squad manager|name=[[拉法埃爾·貝尼特斯|賓尼迪斯]]}}
</div>}}

效果: