Difference between revisions of "Template:Football box/testcases"
imported>Matt Fitzpatrick (address parameter test) |
imported>Matt Fitzpatrick (updated new score1, score2, address parameters; deleted unnecessary clears) |
||
| Line 9: | Line 9: | ||
|time = 20:00 | |time = 20:00 | ||
|team1 = {{fb-rt|ITA}} | |team1 = {{fb-rt|ITA}} | ||
| − | | | + | |score1 = 1 |
| + | |team2 = {{fb|FRA}} | ||
| + | |score2 = 1 | ||
| + | |aet = yes | ||
|report = [https://www.fifa.com/worldcup/archive/germany2006/results/matches/match=97410064/report.html (Report)] | |report = [https://www.fifa.com/worldcup/archive/germany2006/results/matches/match=97410064/report.html (Report)] | ||
| − | |||
|goals1 = [[Marco Materazzi|Materazzi]] {{goal|19}} | |goals1 = [[Marco Materazzi|Materazzi]] {{goal|19}} | ||
|goals2 = [[Zinedine Zidane|Zidane]] {{goal|7|pen.}}<br />[[Zinedine Zidane|Zidane]] {{sent off|0|110}} | |goals2 = [[Zinedine Zidane|Zidane]] {{goal|7|pen.}}<br />[[Zinedine Zidane|Zidane]] {{sent off|0|110}} | ||
| − | |stadium = [[Olympic Stadium (Berlin)|Olympiastadion]] | + | |stadium = [[Olympic Stadium (Berlin)|Olympiastadion]] |
| + | |address = [[Berlin]] | ||
|attendance = 69,000 | |attendance = 69,000 | ||
|referee = [[Horacio Elizondo]] ([[Argentine Football Association|Argentina]]) | |referee = [[Horacio Elizondo]] ([[Argentine Football Association|Argentina]]) | ||
}} | }} | ||
| − | |||
| − | |||
'''Sandbox''' | '''Sandbox''' | ||
| Line 27: | Line 28: | ||
|time = 20:00 | |time = 20:00 | ||
|team1 = {{fb-rt|ITA}} | |team1 = {{fb-rt|ITA}} | ||
| − | | | + | |score1 = 1 |
| + | |team2 = {{fb|FRA}} | ||
| + | |score2 = 1 | ||
| + | |aet = yes | ||
|report = [https://www.fifa.com/worldcup/archive/germany2006/results/matches/match=97410064/report.html (Report)] | |report = [https://www.fifa.com/worldcup/archive/germany2006/results/matches/match=97410064/report.html (Report)] | ||
| − | |||
|goals1 = [[Marco Materazzi|Materazzi]] {{goal|19}} | |goals1 = [[Marco Materazzi|Materazzi]] {{goal|19}} | ||
|goals2 = [[Zinedine Zidane|Zidane]] {{goal|7|pen.}}<br />[[Zinedine Zidane|Zidane]] {{sent off|0|110}} | |goals2 = [[Zinedine Zidane|Zidane]] {{goal|7|pen.}}<br />[[Zinedine Zidane|Zidane]] {{sent off|0|110}} | ||
| Line 37: | Line 40: | ||
|referee = [[Horacio Elizondo]] ([[Argentine Football Association|Argentina]]) | |referee = [[Horacio Elizondo]] ([[Argentine Football Association|Argentina]]) | ||
}} | }} | ||
| − | |||
| − | |||
| − | |||
== Penalties == | == Penalties == | ||
| Line 52: | Line 52: | ||
| team1 = {{fb-rt|ITA}} | | team1 = {{fb-rt|ITA}} | ||
| + | | score1 = 1 | ||
| team2 = {{fb|FRA}} | | team2 = {{fb|FRA}} | ||
| − | | | + | | score2 = 1 |
| aet = yes | | aet = yes | ||
| goals1 = [[Marco Materazzi|Materazzi]] {{goal|19}} | | goals1 = [[Marco Materazzi|Materazzi]] {{goal|19}} | ||
| goals2 = [[Zinedine Zidane|Zidane]] {{goal|7|pen.}} | | goals2 = [[Zinedine Zidane|Zidane]] {{goal|7|pen.}} | ||
| − | | stadium = [[Olympic Stadium (Berlin)|Olympiastadion]] | + | | stadium = [[Olympic Stadium (Berlin)|Olympiastadion]] |
| + | | address = [[Berlin]] | ||
| attendance = 69,000 | | attendance = 69,000 | ||
| referee = [[Horacio Elizondo]] ([[Argentine Football Association|Argentina]]) | | referee = [[Horacio Elizondo]] ([[Argentine Football Association|Argentina]]) | ||
| Line 65: | Line 67: | ||
| penalties2 = {{pengoal}} [[Sylvain Wiltord|Wiltord]]<br />{{penmiss|hit crossbar}} [[David Trezeguet|Trezeguet]]<br />{{pengoal}} [[Éric Abidal|Abidal]]<br />{{pengoal}} [[Willy Sagnol|Sagnol]] | | penalties2 = {{pengoal}} [[Sylvain Wiltord|Wiltord]]<br />{{penmiss|hit crossbar}} [[David Trezeguet|Trezeguet]]<br />{{pengoal}} [[Éric Abidal|Abidal]]<br />{{pengoal}} [[Willy Sagnol|Sagnol]] | ||
}} | }} | ||
| − | |||
| − | |||
'''Sandbox''' | '''Sandbox''' | ||
| Line 77: | Line 77: | ||
| team1 = {{fb-rt|ITA}} | | team1 = {{fb-rt|ITA}} | ||
| + | | score1 = 1 | ||
| team2 = {{fb|FRA}} | | team2 = {{fb|FRA}} | ||
| − | | | + | | score2 = 1 |
| aet = yes | | aet = yes | ||
| goals1 = [[Marco Materazzi|Materazzi]] {{goal|19}} | | goals1 = [[Marco Materazzi|Materazzi]] {{goal|19}} | ||
| Line 91: | Line 92: | ||
| penalties2 = {{pengoal}} [[Sylvain Wiltord|Wiltord]]<br />{{penmiss|hit crossbar}} [[David Trezeguet|Trezeguet]]<br />{{pengoal}} [[Éric Abidal|Abidal]]<br />{{pengoal}} [[Willy Sagnol|Sagnol]] | | penalties2 = {{pengoal}} [[Sylvain Wiltord|Wiltord]]<br />{{penmiss|hit crossbar}} [[David Trezeguet|Trezeguet]]<br />{{pengoal}} [[Éric Abidal|Abidal]]<br />{{pengoal}} [[Willy Sagnol|Sagnol]] | ||
}} | }} | ||
| − | |||
| − | |||
== List syntax for goals and penalties == | == List syntax for goals and penalties == | ||
| Line 112: | Line 111: | ||
* [[Alan Shearer|Shearer]] {{goal|10|pen.}} | * [[Alan Shearer|Shearer]] {{goal|10|pen.}} | ||
* [[Michael Owen|Owen]] {{goal|16}} | * [[Michael Owen|Owen]] {{goal|16}} | ||
| − | |stadium = [[Stade Geoffroy-Guichard]] | + | |stadium = [[Stade Geoffroy-Guichard]] |
| + | |address = [[Saint-Étienne]] | ||
|attendance = 30,600 | |attendance = 30,600 | ||
|referee = [[Kim Milton Nielsen]] ([[Danish Football Association|Denmark]]) | |referee = [[Kim Milton Nielsen]] ([[Danish Football Association|Denmark]]) | ||
| Line 129: | Line 129: | ||
* {{penmiss}} [[David Batty|Batty]] | * {{penmiss}} [[David Batty|Batty]] | ||
}} | }} | ||
| − | |||
| − | |||
'''Sandbox''' | '''Sandbox''' | ||
| Line 185: | Line 183: | ||
* [[Alan Shearer|Shearer]] {{goal|10|pen.}} | * [[Alan Shearer|Shearer]] {{goal|10|pen.}} | ||
* [[Michael Owen|Owen]] {{goal|16}} | * [[Michael Owen|Owen]] {{goal|16}} | ||
| − | |stadium = [[Stade Geoffroy-Guichard]] | + | |stadium = [[Stade Geoffroy-Guichard]] |
| + | |address = [[Saint-Étienne]] | ||
|attendance = 30,600 | |attendance = 30,600 | ||
|referee = [[Kim Milton Nielsen]] ([[Danish Football Association|Denmark]]) | |referee = [[Kim Milton Nielsen]] ([[Danish Football Association|Denmark]]) | ||
| Line 203: | Line 202: | ||
}} | }} | ||
}} | }} | ||
| − | |||
| − | |||
'''Sandbox''' | '''Sandbox''' | ||
| Line 260: | Line 257: | ||
* [[Alan Shearer|Shearer]] {{goal|10|pen.}} | * [[Alan Shearer|Shearer]] {{goal|10|pen.}} | ||
* [[Michael Owen|Owen]] {{goal|16}} | * [[Michael Owen|Owen]] {{goal|16}} | ||
| − | |stadium = [[Stade Geoffroy-Guichard]] | + | |stadium = [[Stade Geoffroy-Guichard]] |
| + | |address = [[Saint-Étienne]] | ||
|attendance = 30,600 | |attendance = 30,600 | ||
|referee = [[Kim Milton Nielsen]] ([[Danish Football Association|Denmark]]) | |referee = [[Kim Milton Nielsen]] ([[Danish Football Association|Denmark]]) | ||
| Line 278: | Line 276: | ||
}} | }} | ||
}} | }} | ||
| − | |||
| − | |||
'''Sandbox''' | '''Sandbox''' | ||
| Line 326: | Line 322: | ||
|time = 17:15 [[Central European Summer Time|CEST]] | |time = 17:15 [[Central European Summer Time|CEST]] | ||
|team1 = {{fb-rt|ITA}} | |team1 = {{fb-rt|ITA}} | ||
| − | | | + | |score1 = 0 |
| + | |team2 = {{fb|POL}} | ||
| + | |score2 = 0 | ||
|report = [https://www.fifa.com/worldcup/archive/edition=59/results/matches/match=995/report.html Report] | |report = [https://www.fifa.com/worldcup/archive/edition=59/results/matches/match=995/report.html Report] | ||
| − | |||
|goals1 = | |goals1 = | ||
|goals2 = | |goals2 = | ||
| − | |stadium = [[Balaídos]] | + | |stadium = [[Balaídos]] |
| + | |address = [[Vigo]] | ||
|attendance = 33,000 | |attendance = 33,000 | ||
|referee = [[Michel Vautrot]] ([[French Football Federation|France]]) | |referee = [[Michel Vautrot]] ([[French Football Federation|France]]) | ||
}} | }} | ||
| − | |||
| − | |||
'''Sandbox''' | '''Sandbox''' | ||
| Line 344: | Line 340: | ||
|time = 17:15 [[Central European Summer Time|CEST]] | |time = 17:15 [[Central European Summer Time|CEST]] | ||
|team1 = {{fb-rt|ITA}} | |team1 = {{fb-rt|ITA}} | ||
| − | | | + | |score1 = 0 |
| + | |team2 = {{fb|POL}} | ||
| + | |score2 = 0 | ||
|report = [https://www.fifa.com/worldcup/archive/edition=59/results/matches/match=995/report.html Report] | |report = [https://www.fifa.com/worldcup/archive/edition=59/results/matches/match=995/report.html Report] | ||
| − | |||
|goals1 = | |goals1 = | ||
|goals2 = | |goals2 = | ||
| Line 354: | Line 351: | ||
|referee = [[Michel Vautrot]] ([[French Football Federation|France]]) | |referee = [[Michel Vautrot]] ([[French Football Federation|France]]) | ||
}} | }} | ||
| − | |||
| − | |||
== Borac Banja Luka - Red Star Belgrade == | == Borac Banja Luka - Red Star Belgrade == | ||
| Line 365: | Line 360: | ||
| time = | | time = | ||
| team1 = ''Borac Banja Luka'' {{flagicon|YUG}} | | team1 = ''Borac Banja Luka'' {{flagicon|YUG}} | ||
| − | | | + | | score1 = 1 |
| team2 = {{flagicon|YUG}} [[Red Star Belgrade|Red Star]] | | team2 = {{flagicon|YUG}} [[Red Star Belgrade|Red Star]] | ||
| + | | score2 = 0 | ||
| goals1 = [[Senad Lupić|Lupić]] {{goal|60}} | | goals1 = [[Senad Lupić|Lupić]] {{goal|60}} | ||
| goals2 = | | goals2 = | ||
| − | | stadium = [[Partizan Stadium|Stadion JNA]] | + | | stadium = [[Partizan Stadium|Stadion JNA]] |
| + | | address = [[Belgrade]] | ||
| attendance = 25,000 | | attendance = 25,000 | ||
| referee = Blažo Zuber (Bačka Topola) | | referee = Blažo Zuber (Bačka Topola) | ||
| report = [http://www.glassrpske.com/sport/republika_srpska/velicanstveni-uspjeh-borca-za-sva-vremena/lat/21780.html Report] | | report = [http://www.glassrpske.com/sport/republika_srpska/velicanstveni-uspjeh-borca-za-sva-vremena/lat/21780.html Report] | ||
}} | }} | ||
| − | |||
| − | |||
'''Sandbox''' | '''Sandbox''' | ||
| Line 383: | Line 378: | ||
| time = | | time = | ||
| team1 = ''Borac Banja Luka'' {{flagicon|YUG}} | | team1 = ''Borac Banja Luka'' {{flagicon|YUG}} | ||
| − | | | + | | score1 = 1 |
| team2 = {{flagicon|YUG}} [[Red Star Belgrade|Red Star]] | | team2 = {{flagicon|YUG}} [[Red Star Belgrade|Red Star]] | ||
| + | | score2 = 0 | ||
| goals1 = [[Senad Lupić|Lupić]] {{goal|60}} | | goals1 = [[Senad Lupić|Lupić]] {{goal|60}} | ||
| goals2 = | | goals2 = | ||
| Line 393: | Line 389: | ||
| report = [http://www.glassrpske.com/sport/republika_srpska/velicanstveni-uspjeh-borca-za-sva-vremena/lat/21780.html Report] | | report = [http://www.glassrpske.com/sport/republika_srpska/velicanstveni-uspjeh-borca-za-sva-vremena/lat/21780.html Report] | ||
}} | }} | ||
| − | |||
| − | |||
== France - Belarus == | == France - Belarus == | ||
| Line 404: | Line 398: | ||
|time=21:00 [[UTC+02:00|UTC+2]] | |time=21:00 [[UTC+02:00|UTC+2]] | ||
|team1={{fb-rt|FRA}} | |team1={{fb-rt|FRA}} | ||
| − | | | + | |score1=3 |
| + | |team2={{fb|BLR}} | ||
| + | |score2=1 | ||
|report=[https://www.fifa.com/worldcup/preliminaries/europe/matches/round=258374/match=300182366/index.html Report] | |report=[https://www.fifa.com/worldcup/preliminaries/europe/matches/round=258374/match=300182366/index.html Report] | ||
| − | |||
|goals1=[[Étienne Capoue|Capoue]] {{goal|49}}<br />[[Christophe Jallet|Jallet]] {{goal|68}}<br />[[Franck Ribéry|Ribéry]] {{goal|80}} | |goals1=[[Étienne Capoue|Capoue]] {{goal|49}}<br />[[Christophe Jallet|Jallet]] {{goal|68}}<br />[[Franck Ribéry|Ribéry]] {{goal|80}} | ||
|goals2=[[Anton Putsila|Putsila]] {{goal|72}} | |goals2=[[Anton Putsila|Putsila]] {{goal|72}} | ||
| − | |stadium=[[Stade de France]] | + | |stadium=[[Stade de France]] |
| + | |address=[[Saint-Denis, Seine-Saint-Denis|Saint-Denis]] | ||
|attendance=55,000 | |attendance=55,000 | ||
|referee=[[Hüseyin Göçek]] ([[Turkish Football Federation|Turkey]]) | |referee=[[Hüseyin Göçek]] ([[Turkish Football Federation|Turkey]]) | ||
}} | }} | ||
| − | |||
| − | |||
'''Sandbox''' | '''Sandbox''' | ||
| Line 422: | Line 416: | ||
|time=21:00 [[UTC+02:00|UTC+2]] | |time=21:00 [[UTC+02:00|UTC+2]] | ||
|team1={{fb-rt|FRA}} | |team1={{fb-rt|FRA}} | ||
| − | | | + | |score1=3 |
| + | |team2={{fb|BLR}} | ||
| + | |score2=1 | ||
|report=[https://www.fifa.com/worldcup/preliminaries/europe/matches/round=258374/match=300182366/index.html Report] | |report=[https://www.fifa.com/worldcup/preliminaries/europe/matches/round=258374/match=300182366/index.html Report] | ||
| − | |||
|goals1=[[Étienne Capoue|Capoue]] {{goal|49}}<br />[[Christophe Jallet|Jallet]] {{goal|68}}<br />[[Franck Ribéry|Ribéry]] {{goal|80}} | |goals1=[[Étienne Capoue|Capoue]] {{goal|49}}<br />[[Christophe Jallet|Jallet]] {{goal|68}}<br />[[Franck Ribéry|Ribéry]] {{goal|80}} | ||
|goals2=[[Anton Putsila|Putsila]] {{goal|72}} | |goals2=[[Anton Putsila|Putsila]] {{goal|72}} | ||
| Line 432: | Line 427: | ||
|referee=[[Hüseyin Göçek]] ([[Turkish Football Federation|Turkey]]) | |referee=[[Hüseyin Göçek]] ([[Turkish Football Federation|Turkey]]) | ||
}} | }} | ||
| − | |||
| − | |||
Revision as of 01:57, 26 March 2018
| 42px | This is the template test cases page for the sandbox of Template:Football box. 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
Test case 1
Main
Page Template:Football box/styles.css has no content.
| Italy 23x15px | 1–1 (a.e.t.) | 23x15px France |
|---|---|---|
| Materazzi Goal 19Template:` | (Report) | Zidane Goal 7Template:` (pen.) Zidane Template:Sent off |
Sandbox
Page Template:Football box/sandbox/styles.css has no content.
| Italy 23x15px | 1–1 (a.e.t.) | 23x15px France |
|---|---|---|
| Materazzi Goal 19Template:` | (Report) | Zidane Goal 7Template:` (pen.) Zidane Template:Sent off |
Penalties
Main
Page Template:Football box/styles.css has no content.
Sandbox
Page Template:Football box/sandbox/styles.css has no content.
List syntax for goals and penalties
Main
Page Template:Football box/styles.css has no content.
| Argentina 23x15px | 2–2 (a.e.t.) | 23x15px England |
|---|---|---|
|
Report |
|
| Penalties | ||
| 4–3 | ||
Sandbox
Page Template:Football box/sandbox/styles.css has no content.
| Argentina 23x15px | 2–2 (a.e.t.) | 23x15px England |
|---|---|---|
|
Report |
|
| Penalties | ||
| 4–3 | ||
Working cases (mixed)
Main
Page Template:Football box/styles.css has no content.
| Argentina 23x15px | 2–2 (a.e.t.) | 23x15px England |
|---|---|---|
|
Report |
|
| Penalties | ||
| 4–3 | ||
Sandbox
Page Template:Football box/sandbox/styles.css has no content.
| Argentina 23x15px | 2–2 (a.e.t.) | 23x15px England |
|---|---|---|
|
Report |
|
| Penalties | ||
| 4–3 | ||
Main
Page Template:Football box/styles.css has no content.
| Argentina 23x15px | 2–2 (a.e.t.) | 23x15px England |
|---|---|---|
|
Report |
|
| Penalties | ||
| 4–3 | ||
Sandbox
Page Template:Football box/sandbox/styles.css has no content.
| Argentina 23x15px | 2–2 (a.e.t.) | 23x15px England |
|---|---|---|
|
Report |
|
| Penalties | ||
| 4–3 | ||
Italy-Poland
Main
Page Template:Football box/styles.css has no content.
Sandbox
Page Template:Football box/sandbox/styles.css has no content.
Borac Banja Luka - Red Star Belgrade
Main
Page Template:Football box/styles.css has no content.
Sandbox
Page Template:Football box/sandbox/styles.css has no content.
France - Belarus
Main
Page Template:Football box/styles.css has no content.
| France 23x15px | 3–1 | 23x15px Belarus |
|---|---|---|
| Capoue Goal 49Template:` Jallet Goal 68Template:` Ribéry Goal 80Template:` |
Report | Putsila Goal 72Template:` |
Sandbox
Page Template:Football box/sandbox/styles.css has no content.