Template:Fs2/doc
Appearance
This is a documentation subpage for Template:Fs2. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
[edit]This is a combined version of Template:Football squad player and the standard football squad navbox which can be made to display either. It is used in conjunction with Template:Fs2 player. For instructions on usage see below.
Example #1: Basic Link
[edit]- Code:
{{fs2 player | format=table | no=14 | nat=France | pos=FW | first=Thierry | last=Henry | link= | other=}}
- Table output (format=table):
- Navigation box output (format=navbox):
- 14 Henry
Example #2: Disambiguated link
[edit]- Code:
{{fs2 player | format=table | no=27 | nat=England | pos=DF | first=Steven | last=Taylor | link=Steven Taylor (footballer) | other= }}
- Table output (format=table):
- Navigation box output (format=navbox):
- 27 Taylor
Example #3 Shortname link (in navbox)
[edit]- Code:
{{Fs2 player|format={{{format|navbox}}}|no=6 |nat=Brazil |pos=DF|first=Jadson|last=Viera Castro|shortname=Jadson}}
- Table output (format=table):
- Navigation box output (format=navbox):
- 6 Jadson
Example #4 Shortname link (in navbox and table)
[edit]- Code:
{{Fs2 player|format={{{format|navbox}}}|no=6 |nat=Brazil |pos=DF|first=Jadson|last=Viera Castro|shortname=Jadson|name=Jadson}}
- Table output (format=table):
- Navigation box output (format=navbox):
- 6 Jadson
Example #5 Name without link
[edit]- Code:
{{Fs player2 sort | format=table | no=14 | nat=France | pos=FW | first=Thierry | last=Henry |nolink=1}}
- Table output (format=table):
Example #6 Other comment
[edit]- Code:
{{fs2 player | format=table | no=8 | nat=England | pos=MF | first=Steven | last=Gerrard | link= | other=captain }}
- Table output (format=table):
8 England MF Steven Gerrard (captain)
- Navigation box output (format=navbox):
- 8 Gerrard
Parameters
[edit]- format: should be either table (for inclusion on team page) or navbox (for inclusion at bottom of player page).
- no: The shirt number for the player, if they have one. If the player's number is not known, or unassigned, then you can use the
–
character instead.
- nat: The player's nationality. Use the name of the country, or its 3-letter IOC country code, rather than an adjective (e.g. "Spain" instead of "Spanish"). This is usually the country of the player's birth; however, if a player has dual nationality then use the country that he represents in international football. The nationality is displayed using the country's flag via Template:Flag icon.
- pos: The position in which the player plays. You can use any of the four options below:
- GK for Goalkeeper;
- DF for Defender;
- MF for Midfielder;
- FW for Striker or Forward;
- first: The player's first name (can also include a middle name if desired). When format=table, the first and last name are shown.
- last: The player's last name. When format=navbox, only the last name is shown.
- link: This is an optional parameter. It is used when the player's Wikipedia article is not in the format [[firstname lastname]]. (Examples: Steven Taylor (footballer), Mike Munoz (soccer), Paul Green (footballer born 1983), etc.)
- shortname: This is an optional parameter. It can be used to display disambiguated names or Brazilian player nicknames in the navbox display. (Examples: A. Cole, Lucas, etc.)
- name: This is an optional parameter. It can be used to display Brazilian player nicknames in the squad table display.
- nolink: This is an optional parameter. It removes the link from a players name and is meant for rosters with un-capped players (who fail WP:NFOOTBALL). To activate it, use |nolink=1
- other: This is an optional parameter. You can add any related info to this parameter, like specifying captain, vice-captain, whether the player is on loan, etc. It will show additional info in the parentheses after the player name.
See also
[edit]