Templat:Football squad
Penampilan
Usage
[sunting sumber]{{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.
Templates useful for formatting the list are:
- {{football squad2 player}} - takes parameters "no" (number) and "name" (player name).
- {{football squad lastplayer}} - same as above, but without a trailing bullet mark. Use this only as the last entry on a list.
- {{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=Norwich City F.C. |bgcolor=yellow |textcolor=green |bordercolor=green |list =<div> {{football squad2 player|no=1|name=[[Robert Green|Green]]}} {{football squad2 player|no=2|name=[[Mattieu Louis-Jean|Louis-Jean]]}} {{football squad2 player|no=3|name=[[Adam Drury|Drury]]}} {{football squad2 player|no=4|name=[[Jason Shackell|Shackell]]}} {{football squad2 player|no=5|name=[[Craig Fleming|Fleming]]}} {{football squad2 player|no=6|name=[[Darren Huckerby|Huckerby]]}} {{football squad2 player|no=8|name=[[Peter Thorne|Thorne]]}} {{football squad lastplayer|no=10|name=[[Robert Earnshaw|Earnshaw]]}} </div> }}
produces: