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

From blackwiki
Jump to navigation Jump to search
imported>S.A. Julio (old)
(added all parameters)
imported>S.A. Julio (old)
(→‎Example: fixes)
Line 31: Line 31:
  
 
== Example ==
 
== Example ==
 
 
<pre style="overflow:auto">
 
<pre style="overflow:auto">
 
{{Football box
 
{{Football box
| date       = {{Start date|2006|07|09|df=y}}
+
|date         = {{Start date|2006|07|09|df=y}}
| event     = [[2006 FIFA World Cup]]
+
|time        = 20:00 [[Central European Summer Time|CEST]] ([[UTC+02:00]])
| round     = Final
+
|event       = [[2006 FIFA World Cup]]
| time      = 20:00 {{subst:tz|CEST}}
+
|round       = [[2006 FIFA World Cup Final|Final]]
| team1     = {{fb-rt|ITA}}
+
|team1       = {{fb-rt|ITA}}
| team2     = {{fb|FRA}}
+
|team2       = {{fb|FRA}}
| score     = 1–1
+
|score       = 1–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]], [[Berlin]]
+
|stadium     = [[Olympiastadion (Berlin)|Olympiastadion]], [[Berlin]], [[Germany]]
| attendance = 69,000
+
|attendance   = 69,000
| referee   = [[Horacio Elizondo]] ([[Argentine Football Association|Argentina]])
+
|referee     = [[Horacio Elizondo]] ({{nfa|ARG}})
| report     = [http://www.fifa.com/worldcup/archive/germany2006/results/matches/match=97410064/report.html Report]
+
|report       = [http://www.fifa.com/worldcup/matches/round=97410600/match=97410064/index.html Report]
| penalties1 = [[Andrea Pirlo|Pirlo]] {{pengoal}}<br />[[Marco Materazzi|Materazzi]] {{pengoal}}<br />[[Daniele De Rossi|De Rossi]] {{pengoal}}<br />[[Alessandro Del Piero|Del Piero]] {{pengoal}}<br />[[Fabio Grosso|Grosso]] {{pengoal|scored}}
+
|penalties1   = [[Andrea Pirlo|Pirlo]] {{pengoal}}<br>[[Marco Materazzi|Materazzi]] {{pengoal}}<br>[[Daniele De Rossi|De Rossi]] {{pengoal}}<br>[[Alessandro Del Piero|Del Piero]] {{pengoal}}<br>[[Fabio Grosso|Grosso]] {{pengoal}}
| penaltyscore = 5–3
+
|penaltyscore = 5–3
| 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}} [[David Trezeguet|Trezeguet]]<br>{{pengoal}} [[Éric Abidal|Abidal]]<br>{{pengoal}} [[Willy Sagnol|Sagnol]]
 
}}
 
}}
 
</pre>
 
</pre>
Line 57: Line 56:
  
 
{{Football box
 
{{Football box
| date       = {{Start date|2006|07|09|df=y}}
+
|date         = {{Start date|2006|07|09|df=y}}
| event     = [[2006 FIFA World Cup]]
+
|time        = 20:00 [[Central European Summer Time|CEST]] ([[UTC+02:00]])
| round     = Final
+
|event       = [[2006 FIFA World Cup]]
| time      = 20:00 ([[Central European Summer Time|CEST]])
+
|round       = [[2006 FIFA World Cup Final|Final]]
| team1     = {{fb-rt|ITA}}
+
|team1       = {{fb-rt|ITA}}
| team2     = {{fb|FRA}}
+
|team2       = {{fb|FRA}}
| score     = 1–1  
+
|score       = 1–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]], [[Berlin]]
+
|stadium     = [[Olympiastadion (Berlin)|Olympiastadion]], [[Berlin]], [[Germany]]
| attendance = 69,000
+
|attendance   = 69,000
| referee   = [[Horacio Elizondo]] ([[Argentine Football Association|Argentina]])
+
|referee     = [[Horacio Elizondo]] ({{nfa|ARG}})
| report     = [http://www.fifa.com/worldcup/archive/germany2006/results/matches/match=97410064/report.html Report]
+
|report       = [http://www.fifa.com/worldcup/matches/round=97410600/match=97410064/index.html Report]
| penalties1 = [[Andrea Pirlo|Pirlo]] {{pengoal}}<br />[[Marco Materazzi|Materazzi]] {{pengoal}}<br />[[Daniele De Rossi|De Rossi]] {{pengoal}}<br />[[Alessandro Del Piero|Del Piero]] {{pengoal}}<br />[[Fabio Grosso|Grosso]] {{pengoal|scored}}
+
|penalties1   = [[Andrea Pirlo|Pirlo]] {{pengoal}}<br>[[Marco Materazzi|Materazzi]] {{pengoal}}<br>[[Daniele De Rossi|De Rossi]] {{pengoal}}<br>[[Alessandro Del Piero|Del Piero]] {{pengoal}}<br>[[Fabio Grosso|Grosso]] {{pengoal}}
| penaltyscore = 5–3
+
|penaltyscore = 5–3
| 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}} [[David Trezeguet|Trezeguet]]<br>{{pengoal}} [[Éric Abidal|Abidal]]<br>{{pengoal}} [[Willy Sagnol|Sagnol]]
 
}}
 
}}
 
In the goals area, you can add:
 
 
*<code><nowiki>{{penmiss}}</nowiki> -> </code>{{penmiss}}
 
*<code><nowiki>{{penmiss|goalkeeper saved}}</nowiki> -> </code>{{penmiss|goalkeeper saved}}
 
 
  
 
==See also==
 
==See also==

Revision as of 23:02, 17 May 2015

Usage

All attributes are optional.

{{Football box
|date         = <!-- {{Start date|YYYY|MM|DD|df=y}} -->
|time         =
|event        =
|round        =
|team1        =
|team2        =
|score        =
|aet          =
|goals1       =
|goals2       =
|stadium      =
|attendance   =
|referee      =
|report       =
|penalties1   =
|penaltyscore =
|penalties2   =
|size         = <!-- changes the width; use a percentage; include "%" after the percentage; default is "100%" -->
|bg           = <!-- changes the background color; use a hex color code; include "#" before the hex color code; default is "transparent" -->
}}

Example

{{Football box
|date         = {{Start date|2006|07|09|df=y}}
|time         = 20:00 [[Central European Summer Time|CEST]] ([[UTC+02:00]])
|event        = [[2006 FIFA World Cup]]
|round        = [[2006 FIFA World Cup Final|Final]]
|team1        = {{fb-rt|ITA}}
|team2        = {{fb|FRA}}
|score        = 1–1 
|aet          = yes
|goals1       = [[Marco Materazzi|Materazzi]] {{goal|19}}
|goals2       = [[Zinedine Zidane|Zidane]] {{goal|7|pen.}}
|stadium      = [[Olympiastadion (Berlin)|Olympiastadion]], [[Berlin]], [[Germany]]
|attendance   = 69,000
|referee      = [[Horacio Elizondo]] ({{nfa|ARG}})
|report       = [http://www.fifa.com/worldcup/matches/round=97410600/match=97410064/index.html Report]
|penalties1   = [[Andrea Pirlo|Pirlo]] {{pengoal}}<br>[[Marco Materazzi|Materazzi]] {{pengoal}}<br>[[Daniele De Rossi|De Rossi]] {{pengoal}}<br>[[Alessandro Del Piero|Del Piero]] {{pengoal}}<br>[[Fabio Grosso|Grosso]] {{pengoal}}
|penaltyscore = 5–3
|penalties2   = {{pengoal}} [[Sylvain Wiltord|Wiltord]]<br>{{penmiss}} [[David Trezeguet|Trezeguet]]<br>{{pengoal}} [[Éric Abidal|Abidal]]<br>{{pengoal}} [[Willy Sagnol|Sagnol]]
}}

produces:

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

See also

Match report templates
Template:Try {{try}}
Template:Sin bin {{sin bin}}
Sent to blood bin {{blood bin}}
Suspension {{2min}}

Microformats

Template:UF-hcard-short Template:UF-hcal