Template:Football squad player2/testcases

From Wikipedia, the free encyclopedia
Jump to: navigation, search

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

Where a player has not declared an international allegiance, nation is determined by place of birth.

No. Position Player Nation
1 Goalkeeper Loach, ScottScott Loach      England
2 Defender Hodson, LeeLee Hodson      Northern Ireland
3 Defender Dickinson, CarlCarl Dickinson      England
4 Midfielder Eustace, JohnJohn Eustace (captain)     England
5 Defender Taylor, MartinMartin Taylor      England
Mariappa, AdrianAdrian Mariappa    

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

Where a player has not declared an international allegiance, nation is determined by place of birth.
Squad correct as of 12 January 2012.

No. Position Player Nation
2 Forward Fucito, MikeMike Fucito      United States
3 Midfielder Evans, BradBrad Evans      United States
6 Midfielder Alonso, OsvaldoOsvaldo Alonso (on loan from MLS)     Cuba
10 Midfielder Rosales, MauroMauro Rosales      Argentina
11 Midfielder Zakuani, SteveSteve Zakuani      Democratic Republic of the Congo
7 Midfielder Ronaldo      Brazil

Ref and no date; nonumber testing[edit]

Where a player has not declared an international allegiance, nation is determined by place of birth.[1]

Position Player Nation
Goalkeeper Loach, ScottScott Loach      England
Defender Hodson, LeeLee Hodson      Northern Ireland
Defender Dickinson, CarlCarl Dickinson      England
Midfielder Eustace, JohnJohn Eustace (captain)     England
Defender Taylor, MartinMartin Taylor      England
Defender Mariappa, AdrianAdrian Mariappa (vice-captain)     England

Nonation testing[edit]

Where a player has not declared an international allegiance, nation is determined by place of birth.

No. Position Player Nation
1 Goalkeeper Loach, ScottScott Loach    


2 Defender Hodson, LeeLee Hodson    


3 Defender Dickinson, CarlCarl Dickinson    


4 Midfielder Eustace, JohnJohn Eustace (captain)   


5 Defender Taylor, MartinMartin Taylor    


6 Defender Mariappa, AdrianAdrian Mariappa (vice-captain)   

Not working properly yet.

Date and ref; testing particularly long lines[edit]

Where a player has not declared an international allegiance, nation is determined by place of birth.
Squad correct as of 16 January 2012.[2]

No. Position Player Nation
24 Goalkeeper Mannone, VitoVito Mannone (at Hull City until the end of the 2011–12 season)[3]     Italy
26 Midfielder Frimpong, EmmanuelEmmanuel Frimpong (at Wolverhampton Wanderers until the end of the 2011–12 season)[4]     Ghana
34 Midfielder Aneke, ChuksChuks Aneke (at Stevenage until 22 January 2012)[5]     England
46 Midfielder Lansbury, HenriHenri Lansbury (at West Ham United until the end of the 2011–12 season)[6]     England
52 Forward Bendtner, NicklasNicklas Bendtner (at Sunderland until the end of the 2011–12 season)[7]     Denmark
11 Midfielder Zakuani, SteveSteve Zakuani[8]      Democratic Republic of the 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". http://www.arsenal.com/news/news-archive/lansbury-moves-on-loan-to-west-ham-united 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.