Difference between revisions of "Template:Football box/doc"
Jump to navigation
Jump to search
imported>Pigsonthewing (microformats) |
imported>Pigsonthewing m (→Microformats: betetr template) |
||
| Line 81: | Line 81: | ||
== Microformats == | == Microformats == | ||
| − | {{UF-hcard- | + | {{UF-hcard-short}} |
{{UF-hcal}} | {{UF-hcal}} | ||
Revision as of 11:29, 2 May 2011
| This is a documentation subpage for Template:Football box. It contains usage information, categories and other content that is not part of the original template page. |
Contents
Usage
All attributes are optional.
{{footballbox
| date =
| event = <!-- {{Start date|YYYY|MM|DD|df=y}} or mf=y -->
| round =
| time =
| team1 =
| score =
| aet =
| report =
| team2 =
| goals1 =
| goals2 =
| stadium =
| attendance =
| referee =
| penalties1 =
| penaltyscore =
| penalties2 =
}}
Examples
{{footballbox
| 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 = {{Unbulleted list| [[Andrea Pirlo|Pirlo]] {{pengoal}} | [[Marco Materazzi|Materazzi]] {{pengoal}} | [[Daniele De Rossi|De Rossi]] {{pengoal}} | [[Alessandro Del Piero|Del Piero]] {{pengoal}} | [[Fabio Grosso|Grosso]] {{pengoal|scored}} }}
| penaltyscore = 5 – 3
| penalties2 = {{Unbulleted list| {{pengoal}} [[Sylvain Wiltord|Wiltord]] | {{penmiss|hit crossbar}} [[David Trezeguet|Trezeguet]] | {{pengoal}} [[Éric Abidal|Abidal]] | {{pengoal}} [[Willy Sagnol|Sagnol]] }}
}}
produces:
Page Template:Football box/styles.css has no content.
Final
| Italy 23x15px | 1 – 1 (a.e.t.) | |
|---|---|---|
| Materazzi Goal 19Template:` | Report | Zidane Goal 7Template:` (pen.) |
| Penalties | ||
| 5 – 3 | ||
In the goals area, you can add:
{{penmiss}} ->Template:Penmiss{{penmiss|goalkeeper saved}} ->Template:Penmiss
Microformats
See also
- Match report templates
- Template:Try {{try}}
- Template:Sin bin {{sin bin}}
- Sent to blood bin {{blood bin}}
{{2min}}
- {{TeamMatchbox}}
- {{footballbox collapsible}}