Difference between revisions of "Template:Football box/doc"
Jump to navigation
Jump to search
imported>Pigsonthewing m (→Microformats: betetr template) |
imported>Pigsonthewing m (dab) |
||
| Line 2: | Line 2: | ||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | ||
| − | + | == Usage == | |
All attributes are optional. | All attributes are optional. | ||
<pre style="overflow:auto"> | <pre style="overflow:auto"> | ||
| − | {{ | + | {{Football box |
| date = | | date = | ||
| event = <!-- {{Start date|YYYY|MM|DD|df=y}} or mf=y --> | | event = <!-- {{Start date|YYYY|MM|DD|df=y}} or mf=y --> | ||
| Line 28: | Line 28: | ||
</pre> | </pre> | ||
| − | == | + | == Example == |
<pre style="overflow:auto"> | <pre style="overflow:auto"> | ||
| − | {{ | + | {{Football box |
| date = {{Start date|2006|07|09|df=y}} | | date = {{Start date|2006|07|09|df=y}} | ||
| event = [[2006 FIFA World Cup]] | | event = [[2006 FIFA World Cup]] | ||
| Line 54: | Line 54: | ||
produces: | produces: | ||
| − | {{ | + | {{Football box |
| date = {{Start date|2006|07|09|df=y}} | | date = {{Start date|2006|07|09|df=y}} | ||
| event = [[2006 FIFA World Cup]] | | event = [[2006 FIFA World Cup]] | ||
Revision as of 13:30, 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.
{{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 = {{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 File:Flag of Italy.svg | 1 – 1 (a.e.t.) | 23x15px France |
|---|---|---|
| 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}}
{{blood bin}}- Suspension {{2min}}
- {{TeamMatchbox}}
- {{footballbox collapsible}}