Difference between revisions of "Template:Football box/testcases"
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
| 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 | ||
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.
| 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 | ||
1-line case, newline case
- 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.
- Sandbox
Page Template:Football box/sandbox/styles.css has no content.
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.