Template:Football box/doc
This is a documentation subpage for Template:Football box. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
All attributes are optional.
{{Football box | 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 = }}
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:
Italy | 1 – 1 (a.e.t.) | France |
---|---|---|
Materazzi 19' | Report | Zidane 7' (pen.) |
Penalties | ||
Pirlo Materazzi De Rossi Del Piero Grosso |
5 – 3 | Wiltord Trezeguet Abidal Sagnol |
In the goals area, you can add:
{{penmiss}} ->
{{penmiss|goalkeeper saved}} ->
Microformats
The HTML markup produced by this template includes an hCard microformat, which makes the person's or organisation's name parsable by computers, either acting automatically to catalogue articles across Wikipedia or via a browser tool operated by a reader, to (for example) add the subject to an address book. For more information about the use of microformats on Wikipedia, please see the microformat project.
The hCard in this template uses at least some of these HTML classes:
- fn (required)
- nickname
- org
- vcard
Please do not rename or remove these classes nor collapse nested elements which use them.
The HTML mark-up produced by this template includes an hCalendar microformat that makes event details readily parsable by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Wikipedia, please visit the Microformat WikiProject.
- Classes used
The HTML classes of this microformat include:
- attendee
- contact
- description
- dtend
- dtstart
- location
- organiser
- summary
- url
- vevent
nor collapse nested elements which use them.
See also
- {{TeamMatchbox}}
- {{footballbox collapsible}}