Template:Football squad/doc
< Template:Football squad
Jump to navigation
Jump to search
Revision as of 19:18, 17 March 2009 by 94.43.133.96 (talk)
Usage
{{Football squad/doc}} 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. Don't use this if ending list with manager name using {{football squad manager}}.
- {{football squad manager}} - takes the parameter "name" (manager name) and the optional parameter "title" (defaults to Manager, other commonly assigned values are Coach and Head Coach). 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 squad2 player|no=10|name=[[Robert Earnshaw|Earnshaw]]}}
{{football squad manager|name=[[Glenn Roeder|Roeder]]}}
</div>
}}
produces:
Microformat