Difference between revisions of "Template:Football squad player2/sandbox"
imported>WaitingForConnection m (-sp) |
imported>WOSlinker (sync) |
||
| Line 9: | Line 9: | ||
| FW = [[Forward (association football)|Forward]] | | FW = [[Forward (association football)|Forward]] | ||
| GK = [[Goalkeeper (association football)|Goalkeeper]] | | GK = [[Goalkeeper (association football)|Goalkeeper]] | ||
| − | | #default = | + | | #default = {{{pos}}} |
}} | }} | ||
| − | | <span class="fn"> | + | | style="padding-right:15px;" | <span class="fn">{{{name}}}</span>{{{ref|}}} {{#if:{{{other| }}}|''({{{other}}})''}}{{#if:{{{nat|}}}|<nowiki></nowiki> |
| − | {{# | + | {{!}} style="text-align: {{#ifeq:{{{icononly|}}}|yes|center|left}}" {{!}} {{#ifeq:{{{icononly|}}}|yes|{{flagicon|{{{nat}}}|variant={{{natvar|}}} }}|{{flagcountry|{{{nat}}}|variant={{{natvar|}}} }} }} }}<noinclude> |
| − | + | {{Football squad end2/sandbox}} | |
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 13:01, 20 February 2020
Where a player has not declared an international allegiance, nation is determined by place of birth.
| No. | Position | Player | Nation | ||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| — | {{{pos}}} | {{{name}}}
Template:Football squad end2/sandbox
UsageThis template is used to display a footballer squad in a standard format. It is derived from Template:Football squad player, with additional features and changes which aim to resolve WP:ACCESS with that template. Syntax{{Football squad start2}}
{{Football squad player2|no=#SHIRT_NUMBER|nat=#NATIONALITY|pos=#POS_OR_ROLE|name=#PLAYER_NAME}}
{{Football squad player2|no=#SHIRT_NUMBER|nat=#NATIONALITY|pos=#POS_OR_ROLE|name=#PLAYER_NAME|other=#OTHER_RELATED_INFO}}
...
{{Football squad player2|no=#SHIRT_NUMBER|nat=#NATIONALITY|pos=#POS_OR_ROLE|name=#PLAYER_NAME}}
{{Football squad end2}}
Alternative template namesIn order to make easier the work of writing new squads, some alternative, shorter, names has been designed. So, you may now use {{Fs start}}, {{Fs player}}, {{Fs end}} and {{Fs blank column}} as alternative templates, using the same equivalent syntax of the other ones. ExampleFor example, the following code: {{Football squad start2}}
{{Football squad player2|no=1|nat=Germany|pos=GK|name=[[Jens Lehmann]]}}
{{Football squad player2|no=3|nat=England|pos=DF|name=[[Ashley Cole]]}}
{{Football squad player2|no=14|nat=France|pos=FW|name=[[Thierry Henry]]|other=captain }}
{{Football squad player2|no=23|nat=England|pos=DF|name=[[Sol Campbell]]}}
{{Football squad player2|no=24|nat=Spain|pos=GK|name=[[Manuel Almunia]]}}
{{Football squad player2|no=26|nat=Ghana|pos=FW|name=[[Quincy Owusu-Abeyie]]|other=on loan}}
{{Football squad end2}}
Produces this table: Where a player has not declared an international allegiance, nation is determined by place of birth.
ParametersIn {{Football squad start2}}:
In {{Football squad player2}}:
In both {{Football squad start2}} and {{football squad player2}}:
Microformat
|