Template:Fs mid: Difference between revisions
From MicrasWiki
Jump to navigationJump to search
(Test) |
No edit summary |
||
Line 8: | Line 8: | ||
!width=1%|Position | !width=1%|Position | ||
!width=75%|Player | !width=75%|Player | ||
!{{#ifeq:{{{age|}}}|y|width=1%{{!}}Age| }}<noinclude>|} |} | !{{#ifeq:{{{age|}}}|y|width=1%{{!}}Age| }}<noinclude> | ||
|} | |||
|} | |||
{{documentation}} | |||
[[Category:Football templates]]</noinclude> | [[Category:Football templates]]</noinclude> |
Revision as of 22:35, 16 December 2020
|} | width="1%" | |bgcolor="#FFFFFF" valign="top" width="48%"|
No. | Position | Player |
---|
|}
[edit] [ ]
Template documentation
![](/wiki/images/thumb/6/6b/Template-info.svg.png/50px-Template-info.svg.png)
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 start
andfs 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:
GK
for goalkeepers,DF
for defenders,MF
for midfielders andFW
for 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. |