Template:Football box collapsible
Usage
This template creates a collapsible football match box. The result can be shown by background color using the result parameter.
For match events, events1 and events2 are preferred. The older goals1 and goals2 parameters remain supported for compatibility with existing pages.
A raw URL entered in report is automatically displayed as Match report. A different label may be specified with reportlabel.
Copy/paste
{{Football box collapsible
| round =
| date =
| time =
| team1 =
| score =
| team2 =
| events1 =
*
| report =
| events2 =
*
| stadium =
| attendance =
| referee =
| assistantreferees =
| motm =
| result =
| competition = default
}}
Unused parameters may be left blank or removed.
For result, use:
W= winD= drawL= loss
The result is from the perspective of the club whose season page is being displayed, not necessarily team1.
Match events
Events should be listed chronologically under the appropriate team.
Common event templates include:
* Player Name {{goal|54}}
* Player Name {{goal|54|pen.}}
* Player Name {{yel|33}}
* Player Name {{sent off|0|86}}
Additional event templates or inline images may also be used in events1 and events2.
Example
{{Football box collapsible
| round = Week 3
| date = 14 August 2022
| time = 18:00
| team1 = [[Nashville FC]]
| score = 1–1
| team2 = [[Hourmen]]
| events1 =
* Matthew Dozier {{yel|33}}
* Phil Roof {{goal|54|pen.}}
| report = https://www.hattrick.org/Club/Matches/Match.aspx?matchID=700538146&SourceSystem=Hattrick
| events2 =
* Augusto Botero {{goal|39}}
| stadium = Dudley Field
| attendance = 7,308
| result = D
| competition = default
}}
| 14 August 2022 Week 3 | Nashville FC | 1–1 | Hourmen | Dudley Field |
|---|---|---|---|---|
| 18:00 |
|
https://www.hattrick.org/Club/Matches/Match.aspx?matchID=700538146&SourceSystem=Hattrick |
|
Attendance: 7,308 |