Difference between revisions of "Template:Football squad player2/testcases"
Jump to navigation
Jump to search
imported>GoingBatty (→Date and ref; testing particularly long lines: fixed reference) |
imported>BD2412 m (→Date and no ref; sortname testing; proof that template will accept either |first/|last or |name: Fixing links to disambiguation pages, replaced: Ronaldo →... using AWB) |
||
| Line 20: | Line 20: | ||
{{football squad player2/sandbox |no=10 |nat=ARG |pos=MF |first=Mauro |last=Rosales}} | {{football squad player2/sandbox |no=10 |nat=ARG |pos=MF |first=Mauro |last=Rosales}} | ||
{{football squad player2/sandbox |no=11 |nat=COD |pos=MF |name={{sortname|Steve|Zakuani|nolink=1}}}} | {{football squad player2/sandbox |no=11 |nat=COD |pos=MF |name={{sortname|Steve|Zakuani|nolink=1}}}} | ||
| − | {{football squad player2/sandbox |no=7 |nat=BRA |pos=MF |name=[[Ronaldo]]}} | + | {{football squad player2/sandbox |no=7 |nat=BRA |pos=MF |name=[[Ronaldo (Brazilian footballer)|Ronaldo]]}} |
|} | |} | ||
Latest revision as of 03:43, 4 December 2016
| 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 | |
| 2 | Defender | Lee Hodson | |
| 3 | Defender | Carl Dickinson | |
| 4 | Midfielder | John Eustace (captain) | |
| 5 | Defender | Martin Taylor | |
| — | 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}}} | |
| 3 | Midfielder | Brad Evans | |
| 6 | Midfielder | {{{name}}} (on loan from MLS) | |
| 10 | Midfielder | {{{name}}} | |
| 11 | Midfielder | Steve Zakuani | |
| 7 | Midfielder | Ronaldo |
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}}} | |
| Defender | {{{name}}} | |
| Defender | {{{name}}} | |
| Midfielder | {{{name}}} (captain) | |
| Defender | {{{name}}} | |
| Defender | {{{name}}} (vice-captain) |
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) | |
| 26 | Midfielder | {{{name}}}[4] (at Wolverhampton Wanderers until the end of the 2011–12 season) | |
| 34 | Midfielder | {{{name}}}[5] (at Stevenage until 22 January 2012) | |
| 46 | Midfielder | {{{name}}}[6] (at West Ham United until the end of the 2011–12 season) | |
| 52 | Forward | {{{name}}}[7] (at Sunderland until the end of the 2011–12 season) | |
| 11 | Midfielder | Steve Zakuani[8] |
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.