Template:National football squad player: Difference between revisions
en>Frietjes No edit summary |
mNo edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
| {{{no|}}} | | {{{no|}}} | ||
|{{#switch:{{{pos|}}} | |{{#switch:{{{pos|}}} | ||
|MF=<span style="display:none">3</span> | |MF=<span style="display:none">3</span>{{wp|Midfielder|MF}} | ||
|DF=<span style="display:none">2</span> | |DF=<span style="display:none">2</span>{{wp|Defender (association football)|DF}} | ||
|FW=<span style="display:none">4</span> | |FW=<span style="display:none">4</span>{{wp|Forward (association football)|FW}} | ||
|GK=<span style="display:none">1</span> | |GK=<span style="display:none">1</span>{{wp|Goalkeeper (association football)|GK}} | ||
|FP= | |FP={{wp|Field Player|FP}} | ||
}} | }} | ||
!{{#if:{{{sortname| }}}|data-sort-value="{{{sortname}}}"}} scope="row"|{{{name}}} {{#if:{{{other| }}}|<small>''({{{other}}})''</small>}} | !{{#if:{{{sortname| }}}|data-sort-value="{{{sortname}}}"}} scope="row"|{{{name}}} {{#if:{{{other| }}}|<small>''({{{other}}})''</small>}} |
Latest revision as of 21:21, 8 April 2019
null
Usage
Example 1
{{nat fs player|no=24|pos=GK|name=[[Tim Howard]]|sortname=Howard, Tim|age={{Birth date and age2|2013|1|1|1979|3|6|df=y}}|caps=88|club=[[Everton F.C.|Everton]]|clubnat=ENG}}
No. | Pos. | Player | Date of birth (age) | Caps | Club |
---|---|---|---|---|---|
24 | GK | Tim Howard | 6 March 1979 (aged 33) | 88 | Everton |
Example 2
{{national football squad player |no= |pos=FW |name=[[Loro Boriçi]] |sortname=Boriçi, Loro |other=[[Captain (association football)|captain]] |age={{Birth date and age2|df=yes|1946|10|13|1922|8|4}} |caps=0 |club=[[Vllaznia Shkodër]] |clubnat=Albania |natvar=1946}}
No. | Pos. | Player | Date of birth (age) | Caps | Club |
---|---|---|---|---|---|
FW | Loro Boriçi (captain) | 4 August 1922 (aged 24) | 0 | Vllaznia Shkodër |
Blank template
{{nat fs player|no= |pos= |name= |sortname= |other= |age=<!--{{Birth date and age2|competition-start-yyyy|competition-start--mm|competition-start-dd|yyyy|mm|dd|df=y}}-->|caps= |club= |clubnat= |natvar= }}
- Note: The Birth date and age template will show the current age of the player, the Birth date and age2 template will display the player's age on a specified date.
Parameters
TemplateData for National football squad player
Parameter | Description | Type | Status | |
---|---|---|---|---|
Shirt number | no | The current shirt number of the player
| Number | required |
Position | pos | The position of the player which can be either GK (Goal keeper), DF (defender), MF (Mid fielder) or FW (Forward)
| Line | required |
Player name | name | Official name of the player
| Line | required |
Name sort key | sortname | Sorting value of this player in the table
| String | suggested |
Other notes | other |
| Line | suggested |
Age | age | Age of the player, it include date of birth and till which year is the age counted
| Line | required |
Caps | caps | The number of appearances a player has made for their national team in international matches
| Number | required |
Club | club | The club the player plays for
| String | required |
Club nationality | clubnat | The country of the player's club
| String | required |
Flag variant | natvar | The variant of historical flag of the country
| String | optional |
Format: inline
The template displays a football (soccer) player's full name, shirt no., position, age, international caps and their respective clubs. Also mentions if a player is a captain or vice-captain. It requires other national football squad templates to make the table; see this template's page for details.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Shirt number | no | The current shirt number of the player
| Number | required |
Position | pos | The position of the player which can be either GK (Goal keeper), DF (defender), MF (Mid fielder) or FW (Forward)
| Line | required |
Player name | name | Official name of the player
| Line | required |
Name sort key | sortname | Sorting value of this player in the table
| String | suggested |
Other notes | other | no description
| Line | suggested |
Age | age | Age of the player, it include date of birth and till which year is the age counted
| Line | required |
Caps | caps | The number of appearances a player has made for their national team in international matches
| Number | required |
Club | club | The club the player plays for
| String | required |
Club nationality | clubnat | The country of the player's club
| String | required |
Flag variant | natvar | The variant of historical flag of the country
| String | optional |