Template:Football squad player2/testcases

From Wikipedia, the free encyclopedia


Default implementation; demonstration of what happens if no/nat/pos are omitted[edit]

Note: Flags indicate national team as defined under FIFA eligibility rules. Players may hold more than one non-FIFA nationality.

No. Pos. Player Nation
1 GK Scott Loach  England
2 DF Lee Hodson  Northern Ireland
3 DF Carl Dickinson  England
4 MF John Eustace (captain)  England
5 DF Martin Taylor  England
Adrian Mariappa

Date and no ref; sortname testing; proof that template will accept either |first/|last or |name[edit]

Note: Flags indicate national team as defined under FIFA eligibility rules. Players may hold more than one non-FIFA nationality. Squad correct as of 12 January 2012.

No. Pos. Player Nation
2 FW {{{name}}}  United States
3 MF Brad Evans  United States
6 MF {{{name}}} (on loan from MLS)  Cuba
10 MF {{{name}}}  Argentina
11 MF Steve Zakuani  DR Congo
7 MF Ronaldo  Brazil

Ref and no date; nonumber testing[edit]

Note: Flags indicate national team as defined under FIFA eligibility rules. Players may hold more than one non-FIFA nationality.[1]

Pos. Player Nation
GK {{{name}}}  England
DF {{{name}}}  Northern Ireland
DF {{{name}}}  England
MF {{{name}}} (captain)  England
DF {{{name}}}  England
DF {{{name}}} (vice-captain)  England

Nonation testing[edit]

Note: Flags indicate national team as defined under FIFA eligibility rules. Players may hold more than one non-FIFA nationality.

No. Pos. Player Nation
1 GK {{{name}}}
2 DF {{{name}}}
3 DF {{{name}}}
4 MF {{{name}}} (captain)
5 DF {{{name}}}
6 DF {{{name}}} (vice-captain)

Not working properly yet.

Date and ref; testing particularly long lines[edit]

Note: Flags indicate national team as defined under FIFA eligibility rules. Players may hold more than one non-FIFA nationality. Squad correct as of 16 January 2012.[2]

No. Pos. Player Nation
24 GK {{{name}}}[3] (at Hull City until the end of the 2011–12 season)  Italy
26 MF {{{name}}}[4] (at Wolverhampton Wanderers until the end of the 2011–12 season)  Ghana
34 MF {{{name}}}[5] (at Stevenage until 22 January 2012)  England
46 MF {{{name}}}[6] (at West Ham United until the end of the 2011–12 season)  England
52 FW {{{name}}}[7] (at Sunderland until the end of the 2011–12 season)  Denmark
11 MF Steve Zakuani[8]  DR Congo

Refs[edit]

  1. ^ This is what a ref looks like with no date.
  2. ^ This is what a ref looks like with a date.
  3. ^ "Vito Signs In With City". Hull City A.F.C. 4 January 2012. Retrieved 4 January 2012.
  4. ^ "Frimpong to join Wolves on loan". Arsenal F.C. 31 December 2012. Retrieved 31 December 2012.
  5. ^ "Stevenage sign Arsenal youngster Chuks Aneke on loan". Sport. 23 November 2011. Retrieved 23 November 2011.
  6. ^ "Lansbury moves on loan to West Ham United". 31 August 2011. Retrieved 31 August 2011.
  7. ^ "Nicklas Bendtner loaned to Sunderland". 31 August 2011. Retrieved 31 August 2011.
  8. ^ You would add a reference after the name if you wanted to add a citation for a player not using the |other parameter.