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

From blackwiki
Jump to navigation Jump to search
imported>Rich Farmbrough
imported>TheBigJagielka
(moved start date to correct position)
Line 8: Line 8:
 
<pre style="overflow:auto">
 
<pre style="overflow:auto">
 
{{Football box
 
{{Football box
| date        =
+
| date        = <!-- {{Start date|YYYY|MM|DD|df=y}} or mf=y -->  
| event        = <!-- {{Start date|YYYY|MM|DD|df=y}} or mf=y -->
+
| event        =
 
| round        =  
 
| round        =  
 
| time        =  
 
| time        =  

Revision as of 21:05, 16 November 2011

Usage

All attributes are optional.

{{Football box
| date         = <!-- {{Start date|YYYY|MM|DD|df=y}} or mf=y --> 
| event        = 
| round        = 
| time         = 
| team1        = 
| score        = 
| aet          = 
| report       = 
| team2        = 
| goals1       = 
| goals2       = 
| stadium      = 
| attendance   = 
| referee      = 
| penalties1   = 
| penaltyscore = 
| penalties2   = 
}}

Example

{{Football box
| date       = {{Start date|2006|07|09|df=y}}
| event      = [[2006 FIFA World Cup]]
| round      = Final
| time       = 20:00 ([[Central European Summer Time|CEST]])
| team1      = {{fb-rt|ITA}}
| score      = 1 – 1
| aet        = yes
| report     = [http://www.fifa.com/worldcup/archive/germany2006/results/matches/match=97410064/report.html Report]
| team2      = {{fb|FRA}}
| goals1     = [[Marco Materazzi|Materazzi]] {{goal|19}}
| goals2     = [[Zinedine Zidane|Zidane]] {{goal|7|pen.}}
| stadium    = [[Olympic Stadium (Berlin)|Olympiastadion]], [[Berlin]]
| attendance = 69,000
| referee    = [[Horacio Elizondo]] ([[Argentine Football Association|Argentina]])
| 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}}
| 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]]
}}

produces:

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

In the goals area, you can add:


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