Template:Fs mid: Difference between revisions
From MicrasWiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| (2 intermediate revisions by one other user not shown) | |||
| Line 3: | Line 3: | ||
|bgcolor="#FFFFFF" valign="top" width="48%"| | |bgcolor="#FFFFFF" valign="top" width="48%"| | ||
{| border="0" cellspacing="0" cellpadding="2" | {| border="0" cellspacing="0" cellpadding="2" | ||
|- bgcolor="# | |- bgcolor="#EAECF0" | ||
!width=1%|No. | !width=1%|No. | ||
!width=1%| | !width=1%| | ||
!width=1%|Position | !width=1%|Position | ||
!width=75%|Player<noinclude>|} |} | !width=75%|Player | ||
!{{#ifeq:{{{age|}}}|y|width=1%{{!}}Age| }}<noinclude> | |||
|} | |||
|} | |||
{{documentation}} | |||
[[Category:Football templates]]</noinclude> | [[Category:Football templates]]</noinclude> | ||
Latest revision as of 13:17, 4 June 2023
|} | width="1%" | |bgcolor="#FFFFFF" valign="top" width="48%"|
| No. | Position | Player |
|---|
|}
[edit] []
Template documentation
Usage
Template:Fs start, Template:Fs player, Template:Fs mid and Template:Fs end are designed to be used together to format a detailed squad list for association football club teams.
{{fs start|age=}}
{{fs player|no= |nation= |pos= |name= |other= |age= }}
{{fs mid|age=}}
{{fs end}}
Parameter notes
- age
- When used with
fs startandfs mid, specifically entered as|age=y, allows for an extra column to be added to the table headers for players' ages. - When used with
fs player, gives an option to manually input the age of a player.
- nation
- Relies on Template:Team flag to display the flag of the player's nationality, therefore only requires the nation's name to be entered. Alternatively, use
|nat=instead for an option to enter a flag image manually.
- pos
- Playing position, requires specific English-language abbreviations to be entered to produce wikilinks:
GKfor goalkeepers,DFfor defenders,MFfor midfielders andFWfor forwards.
- other
- Optional parameter. Inserts a parenthesised detail after a player's name; primarily used for details such as specifying the team captain or noting that a player is on loan.
Example
{{fs start}}
{{fs player |no=1 |nation=Floria |pos=GK |name=Eddie Examplé |other=captain}}
{{fs mid|age=y}}
{{fs player |no=2 |nat=[[File:Etourney flag.png|23px|border|Etourney]] |pos=DF |name=Examplinho |age=22}}
{{fs end}}
produces the following:
Note: Flags indicate national team as has been defined under FMF eligibility rules. Players may hold more than one non-FMF nationality.
|
|
| The above documentation is transcluded from Template:Fs mid/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |