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

From blackwiki
Jump to navigation Jump to search
imported>Andy M. Wang
(→‎1-line case: -sandbox)
imported>Andy M. Wang
(→‎1-line case: newline)
Line 287: Line 287:
 
}}
 
}}
  
=== 1-line case ===
+
=== 1-line case, newline case ===
 
;Main
 
;Main
  
Line 334: Line 334:
 
|penalties2 =
 
|penalties2 =
 
* {{pengoal}} [[Alan Shearer|Shearer]] * {{penmiss}} [[Paul Ince|Ince]] * {{pengoal}} [[Paul Merson|Merson]] * {{pengoal}} [[Michael Owen|Owen]] * {{penmiss}} [[David Batty|Batty]]
 
* {{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:07, 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.

Invalid case 1

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.

1-line case, newline case

Main

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

Sandbox

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


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.