Difference between revisions of "Template:Football squad player2/testcases"
Jump to navigation
Jump to search
imported>WaitingForConnection (→Date and ref; testing particularly long lines: close template) |
imported>GoingBatty (→Date and ref; testing particularly long lines: fixed reference) |
||
| Line 54: | Line 54: | ||
{{football squad player2/sandbox|no=26|nat=Ghana|pos=MF|first=Emmanuel|last=Frimpong|other=at [[Wolverhampton Wanderers F.C.|Wolverhampton Wanderers]] until the end of the 2011–12 season|ref=<ref>{{cite news |url=http://www.arsenal.com/news/news-archive/frimpong-poised-to-join-wolves-on-loan |title=Frimpong to join Wolves on loan |publisher=Arsenal F.C. |date=31 December 2012 |accessdate=31 December 2012}}</ref>}} | {{football squad player2/sandbox|no=26|nat=Ghana|pos=MF|first=Emmanuel|last=Frimpong|other=at [[Wolverhampton Wanderers F.C.|Wolverhampton Wanderers]] until the end of the 2011–12 season|ref=<ref>{{cite news |url=http://www.arsenal.com/news/news-archive/frimpong-poised-to-join-wolves-on-loan |title=Frimpong to join Wolves on loan |publisher=Arsenal F.C. |date=31 December 2012 |accessdate=31 December 2012}}</ref>}} | ||
{{football squad player2/sandbox|no=34|nat=England|pos=MF|first=Chuks|last=Aneke|other=at [[Stevenage F.C.|Stevenage]] until 22 January 2012|ref=<ref>{{cite news |url=http://news..co.uk/sport1/hi/football/15854615.stm |title=Stevenage sign Arsenal youngster Chuks Aneke on loan |publisher= Sport |date=23 November 2011 |accessdate=23 November 2011}}</ref>}} | {{football squad player2/sandbox|no=34|nat=England|pos=MF|first=Chuks|last=Aneke|other=at [[Stevenage F.C.|Stevenage]] until 22 January 2012|ref=<ref>{{cite news |url=http://news..co.uk/sport1/hi/football/15854615.stm |title=Stevenage sign Arsenal youngster Chuks Aneke on loan |publisher= Sport |date=23 November 2011 |accessdate=23 November 2011}}</ref>}} | ||
| − | {{football squad player2/sandbox|no=46|nat=England|pos=MF|first=Henri|last=Lansbury|other=at [[West Ham United F.C.|West Ham United]] until the end of the 2011–12 season|ref=<ref>{{cite news|title=Lansbury moves on loan to West Ham United |url | + | {{football squad player2/sandbox|no=46|nat=England|pos=MF|first=Henri|last=Lansbury|other=at [[West Ham United F.C.|West Ham United]] until the end of the 2011–12 season|ref=<ref>{{cite news|title=Lansbury moves on loan to West Ham United |url= http://www.arsenal.com/news/news-archive/lansbury-moves-on-loan-to-west-ham-united |date=31 August 2011 |accessdate=31 August 2011 }}</ref>}} |
{{football squad player2/sandbox|no=52|nat=Denmark|pos=FW|first=Nicklas|last=Bendtner|other=at [[Sunderland A.F.C.|Sunderland]] until the end of the 2011–12 season|ref=<ref>{{cite news|title=Nicklas Bendtner loaned to Sunderland |url= http://www.arsenal.com/news/news-archive/nicklas-bendtner-loaned-to-sunderland |date=31 August 2011 |accessdate=31 August 2011 }}</ref>}} | {{football squad player2/sandbox|no=52|nat=Denmark|pos=FW|first=Nicklas|last=Bendtner|other=at [[Sunderland A.F.C.|Sunderland]] until the end of the 2011–12 season|ref=<ref>{{cite news|title=Nicklas Bendtner loaned to Sunderland |url= http://www.arsenal.com/news/news-archive/nicklas-bendtner-loaned-to-sunderland |date=31 August 2011 |accessdate=31 August 2011 }}</ref>}} | ||
{{football squad player2/sandbox|no=11 |nat=COD |pos=MF |name={{sortname|Steve|Zakuani|nolink=1}}<ref>You would add a reference after the name if you wanted to add a citation for a player not using the |other parameter.</ref>}} | {{football squad player2/sandbox|no=11 |nat=COD |pos=MF |name={{sortname|Steve|Zakuani|nolink=1}}<ref>You would add a reference after the name if you wanted to add a citation for a player not using the |other parameter.</ref>}} | ||
Revision as of 20:14, 18 February 2015
| 42px | This is the template test cases page for the sandbox of Template:Football squad player2. Script error: No such module "Purge". to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki, see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |
Contents
Default implementation; demonstration of what happens if no/nat/pos are omitted
Where a player has not declared an international allegiance, nation is determined by place of birth.
| No. | Position | Player | Nation |
|---|---|---|---|
| 1 | Goalkeeper | Scott Loach | 23x15px England |
| 2 | Defender | Lee Hodson | 23x15px Northern Ireland |
| 3 | Defender | Carl Dickinson | 23x15px England |
| 4 | Midfielder | John Eustace (captain) | 23x15px England |
| 5 | Defender | Martin Taylor | 23x15px England |
| — | Adrian Mariappa |
Date and no ref; sortname testing; proof that template will accept either |first/|last or |name
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 | {{{name}}} | 23x15px United States |
| 3 | Midfielder | Brad Evans | 23x15px United States |
| 6 | Midfielder | {{{name}}} (on loan from MLS) | 23x15px Cuba |
| 10 | Midfielder | {{{name}}} | 23x15px Argentina |
| 11 | Midfielder | Steve Zakuani | 23x15px DR Congo |
| 7 | Midfielder | Ronaldo | 23x15px Brazil |
Ref and no date; nonumber testing
Where a player has not declared an international allegiance, nation is determined by place of birth.[1]
| Position | Player | Nation |
|---|---|---|
| Goalkeeper | {{{name}}} | 23x15px England |
| Defender | {{{name}}} | 23x15px Northern Ireland |
| Defender | {{{name}}} | 23x15px England |
| Midfielder | {{{name}}} (captain) | 23x15px England |
| Defender | {{{name}}} | 23x15px England |
| Defender | {{{name}}} (vice-captain) | 23x15px England |
Nonation testing
Where a player has not declared an international allegiance, nation is determined by place of birth.
| No. | Position | Player | Nation |
|---|---|---|---|
| 1 | Goalkeeper | {{{name}}} | |
| 2 | Defender | {{{name}}} | |
| 3 | Defender | {{{name}}} | |
| 4 | Midfielder | {{{name}}} (captain) | |
| 5 | Defender | {{{name}}} | |
| 6 | Defender | {{{name}}} (vice-captain) |
Not working properly yet.
Date and ref; testing particularly long lines
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 | {{{name}}}[3] (at Hull City until the end of the 2011–12 season) | 23x15px Italy |
| 26 | Midfielder | {{{name}}}[4] (at Wolverhampton Wanderers until the end of the 2011–12 season) | 23x15px Ghana |
| 34 | Midfielder | {{{name}}}[5] (at Stevenage until 22 January 2012) | 23x15px England |
| 46 | Midfielder | {{{name}}}[6] (at West Ham United until the end of the 2011–12 season) | 23x15px England |
| 52 | Forward | {{{name}}}[7] (at Sunderland until the end of the 2011–12 season) | 23x15px Denmark |
| 11 | Midfielder | Steve Zakuani[8] | 23x15px DR Congo |
Refs
- ↑ This is what a ref looks like with no date.
- ↑ This is what a ref looks like with a date.
- ↑ "Vito Signs In With City". Hull City A.F.C. 4 January 2012. Retrieved 4 January 2012.
- ↑ "Frimpong to join Wolves on loan". Arsenal F.C. 31 December 2012. Retrieved 31 December 2012.
- ↑ "Stevenage sign Arsenal youngster Chuks Aneke on loan". Sport. 23 November 2011. Retrieved 23 November 2011.
- ↑ "Lansbury moves on loan to West Ham United". 31 August 2011. Retrieved 31 August 2011.
- ↑ "Nicklas Bendtner loaned to Sunderland". 31 August 2011. Retrieved 31 August 2011.
- ↑ You would add a reference after the name if you wanted to add a citation for a player not using the |other parameter.