Difference between revisions of "Template:Football box/testcases"

From blackwiki
Jump to navigation Jump to search
imported>Andy M. Wang
(→‎1-line case: newline)
imported>Andy M. Wang
(rm invalid cases)
Line 162: Line 162:
 
* {{penmiss}} [[David Batty|Batty]]
 
* {{penmiss}} [[David Batty|Batty]]
 
}}
 
}}
 
=== Invalid case 1 ===
 
{{Football box
 
|date = 30 June 1998
 
|time = 21:00
 
|team1 = {{fb-rt|ARG}}
 
|score = [[1998 FIFA World Cup knockout stage#Argentina vs England|2–2]]
 
|aet=yes
 
|report = [http://www.fifa.com/worldcup/france1998/matches/round=1024/match=8779/index.html Report]
 
|team2 = {{fb|ENG}}
 
|goals1 =
 
* [[Gabriel Batistuta|Batistuta]] {{goal|6|pen.}}
 
<br/> [[Gabriel Batistuta|Batistuta]] {{goal|6|pen.}}
 
<br/> [[Gabriel Batistuta|Batistuta]] {{goal|6|pen.}}
 
|goals2 =
 
|stadium = [[Stade Geoffroy-Guichard]], [[Saint-Étienne]]
 
|attendance = 30,600
 
|referee = [[Kim Milton Nielsen]] ([[Danish Football Association|Denmark]])
 
|penalties1 =
 
|penaltyscore = 4–3
 
|penalties2 =
 
}}
 
 
{{clear}}
 
 
;Sandbox
 
{{Football box/sandbox
 
|date = 30 June 1998
 
|time = 21:00
 
|team1 = {{fb-rt|ARG}}
 
|score = [[1998 FIFA World Cup knockout stage#Argentina vs England|2–2]]
 
|aet=yes
 
|report = [http://www.fifa.com/worldcup/france1998/matches/round=1024/match=8779/index.html Report]
 
|team2 = {{fb|ENG}}
 
|goals1 =
 
* [[Gabriel Batistuta|Batistuta]] {{goal|6|pen.}}
 
<br/> [[Gabriel Batistuta|Batistuta]] {{goal|6|pen.}}
 
<br/> [[Gabriel Batistuta|Batistuta]] {{goal|6|pen.}}
 
|goals2 =
 
|stadium = [[Stade Geoffroy-Guichard]], [[Saint-Étienne]]
 
|attendance = 30,600
 
|referee = [[Kim Milton Nielsen]] ([[Danish Football Association|Denmark]])
 
|penalties1 =
 
|penaltyscore = 4–3
 
|penalties2 =
 
}}
 
 
 
{{clear}}
 
  
 
=== Working case ===
 
=== Working case ===
Line 285: Line 236:
 
* {{penmiss}} [[David Batty|Batty]]
 
* {{penmiss}} [[David Batty|Batty]]
 
}}
 
}}
}}
 
 
=== 1-line case, newline case ===
 
;Main
 
 
{{Football box
 
|date = 30 June 1998
 
|time = 21:00
 
|team1 = {{fb-rt|ARG}}
 
|score = [[1998 FIFA World Cup knockout stage#Argentina vs England|2–2]]
 
|aet=yes
 
|report = [http://www.fifa.com/worldcup/france1998/matches/round=1024/match=8779/index.html Report]
 
|team2 = {{fb|ENG}}
 
|goals1 =
 
* [[Gabriel Batistuta|Batistuta]] {{goal|6|pen.}} * [[Javier Zanetti|Zanetti]] {{goal|45+1}}
 
|goals2 =  * [[Alan Shearer|Shearer]] {{goal|10|pen.}} * [[Michael Owen|Owen]] {{goal|16}}
 
|stadium = [[Stade Geoffroy-Guichard]], [[Saint-Étienne]]
 
|attendance = 30,600
 
|referee = [[Kim Milton Nielsen]] ([[Danish Football Association|Denmark]])
 
|penalties1 =
 
* [[Sergio Berti|Berti]] {{pengoal}} * [[Hernán Crespo|Crespo]] {{penmiss}} * [[Juan Sebastián Verón|Verón]] {{pengoal}} * [[Marcelo Gallardo|Gallardo]] {{pengoal}} * [[Roberto Ayala|Ayala]] {{pengoal}}
 
|penaltyscore = 4–3
 
|penalties2 =
 
* {{pengoal}} [[Alan Shearer|Shearer]] * {{penmiss}} [[Paul Ince|Ince]] * {{pengoal}} [[Paul Merson|Merson]] * {{pengoal}} [[Michael Owen|Owen]] * {{penmiss}} [[David Batty|Batty]]
 
}}
 
 
{{clear}}
 
 
;Sandbox
 
 
{{Football box/sandbox
 
|date = 30 June 1998
 
|time = 21:00
 
|team1 = {{fb-rt|ARG}}
 
|score = [[1998 FIFA World Cup knockout stage#Argentina vs England|2–2]]
 
|aet=yes
 
|report = [http://www.fifa.com/worldcup/france1998/matches/round=1024/match=8779/index.html Report]
 
|team2 = {{fb|ENG}}
 
|goals1 =
 
* [[Gabriel Batistuta|Batistuta]] {{goal|6|pen.}} * [[Javier Zanetti|Zanetti]] {{goal|45+1}}
 
|goals2 =  * [[Alan Shearer|Shearer]] {{goal|10|pen.}} * [[Michael Owen|Owen]] {{goal|16}}
 
|stadium = [[Stade Geoffroy-Guichard]], [[Saint-Étienne]]
 
|attendance = 30,600
 
|referee = [[Kim Milton Nielsen]] ([[Danish Football Association|Denmark]])
 
|penalties1 =
 
* [[Sergio Berti|Berti]] {{pengoal}} * [[Hernán Crespo|Crespo]] {{penmiss}} * [[Juan Sebastián Verón|Verón]] {{pengoal}} * [[Marcelo Gallardo|Gallardo]] {{pengoal}} * [[Roberto Ayala|Ayala]] {{pengoal}}
 
|penaltyscore = 4–3
 
|penalties2 =
 
* {{pengoal}} [[Alan Shearer|Shearer]] * {{penmiss}} [[Paul Ince|Ince]] * {{pengoal}} [[Paul Merson|Merson]] * {{pengoal}} [[Michael Owen|Owen]] * {{penmiss}} [[David Batty|Batty]]
 
}}
 
----
 
;Main
 
{{Football box
 
|date = 30 June 1998
 
|time = 21:00
 
|team1 = {{fb-rt|ARG}}
 
|score = [[1998 FIFA World Cup knockout stage#Argentina vs England|2–2]]
 
|aet=yes
 
|report = [http://www.fifa.com/worldcup/france1998/matches/round=1024/match=8779/index.html Report]
 
|team2 = {{fb|ENG}}
 
|goals1 =
 
[[Gabriel Batistuta|Batistuta]] {{goal|6|pen.}}
 
[[Javier Zanetti|Zanetti]] {{goal|45+1}}
 
|goals2 =
 
[[Alan Shearer|Shearer]] {{goal|10|pen.}}
 
[[Michael Owen|Owen]] {{goal|16}}
 
|stadium = [[Stade Geoffroy-Guichard]], [[Saint-Étienne]]
 
|attendance = 30,600
 
|referee = [[Kim Milton Nielsen]] ([[Danish Football Association|Denmark]])
 
|penalties1 =
 
[[Sergio Berti|Berti]] {{pengoal}}
 
[[Hernán Crespo|Crespo]] {{penmiss}}
 
[[Juan Sebastián Verón|Verón]] {{pengoal}}
 
[[Marcelo Gallardo|Gallardo]] {{pengoal}}
 
[[Roberto Ayala|Ayala]] {{pengoal}}
 
|penaltyscore = 4–3
 
|penalties2 =
 
{{pengoal}} [[Alan Shearer|Shearer]]
 
{{penmiss}} [[Paul Ince|Ince]]
 
{{pengoal}} [[Paul Merson|Merson]]
 
{{pengoal}} [[Michael Owen|Owen]]
 
{{penmiss}} [[David Batty|Batty]]
 
}}
 
{{clear}}
 
 
;Sandbox
 
{{Football box/sandbox
 
|date = 30 June 1998
 
|time = 21:00
 
|team1 = {{fb-rt|ARG}}
 
|score = [[1998 FIFA World Cup knockout stage#Argentina vs England|2–2]]
 
|aet=yes
 
|report = [http://www.fifa.com/worldcup/france1998/matches/round=1024/match=8779/index.html Report]
 
|team2 = {{fb|ENG}}
 
|goals1 =
 
[[Gabriel Batistuta|Batistuta]] {{goal|6|pen.}}
 
[[Javier Zanetti|Zanetti]] {{goal|45+1}}
 
|goals2 =
 
[[Alan Shearer|Shearer]] {{goal|10|pen.}}
 
[[Michael Owen|Owen]] {{goal|16}}
 
|stadium = [[Stade Geoffroy-Guichard]], [[Saint-Étienne]]
 
|attendance = 30,600
 
|referee = [[Kim Milton Nielsen]] ([[Danish Football Association|Denmark]])
 
|penalties1 =
 
[[Sergio Berti|Berti]] {{pengoal}}
 
[[Hernán Crespo|Crespo]] {{penmiss}}
 
[[Juan Sebastián Verón|Verón]] {{pengoal}}
 
[[Marcelo Gallardo|Gallardo]] {{pengoal}}
 
[[Roberto Ayala|Ayala]] {{pengoal}}
 
|penaltyscore = 4–3
 
|penalties2 =
 
{{pengoal}} [[Alan Shearer|Shearer]]
 
{{penmiss}} [[Paul Ince|Ince]]
 
{{pengoal}} [[Paul Merson|Merson]]
 
{{pengoal}} [[Michael Owen|Owen]]
 
{{penmiss}} [[David Batty|Batty]]
 
 
}}
 
}}
  

Revision as of 06:08, 20 May 2016

Test case 1

Main

Page Template:Football box/styles.css has no content.

Sandbox

Page Template:Football box/sandbox/styles.css has no content.

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.

Sandbox

Page Template:Football box/sandbox/styles.css has no content.

Working case

Main

Page Template:Football box/styles.css has no content.

Sandbox

Page Template:Football box/sandbox/styles.css has no content.

Italy-Poland

Main

Page Template:Football box/styles.css has no content.

Italy 23x15px0–023x15px Poland
Report
Attendance: 33,000
Sandbox

Page Template:Football box/sandbox/styles.css has no content.

Italy 23x15px0–023x15px Poland
Report
Attendance: 33,000

Borac Banja Luka - Red Star Belgrade

Main

Page Template:Football box/styles.css has no content.

Borac Banja Luka 23x15px1 – 023x15px Red Star
Lupić Goal 60Template:` Report
Attendance: 25,000
Referee: Blažo Zuber (Bačka Topola)
Sandbox

Page Template:Football box/sandbox/styles.css has no content.

Borac Banja Luka 23x15px1 – 023x15px Red Star
Lupić Goal 60Template:` Report
Attendance: 25,000
Referee: Blažo Zuber (Bačka Topola)

France - Belarus

Main

Page Template:Football box/styles.css has no content.

Sandbox

Page Template:Football box/sandbox/styles.css has no content.