Template:Football box collapsible

From Hattrick
Jump to navigationJump to search


Usage

This template creates a collapsible football match box.

The result parameter controls the background color of the match box. The result is entered from the perspective of the club whose season page is being displayed.

For match events, events1 and events2 are preferred. The older goals1 and goals2 parameters remain supported for compatibility with existing pages.

Enter the match-report URL directly in report. The template displays the link as Match report. A different label can be specified using 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.

Results

Use:

  • W = Win
  • D = Draw
  • L = Loss

The result is from the perspective of the club whose season page is being displayed, regardless of whether that club is team1 or team2.

Match events

Use <br> to separate multiple events.

Examples:

| events1 = Player Name {{goal|54}}<br>
Player Name {{goal|54|pen.}}<br>
Player Name {{yel|63}}<br>
Player Name {{sent off|0|86}}

Events should normally be listed chronologically.

Additional event templates or inline images may be used as needed.

Match report

Enter only the URL:

| report = https://www.hattrick.org/Club/Matches/Match.aspx?matchID=700538146&SourceSystem=Hattrick

The link will display as Match report.

To use another label:

| reportlabel = Report

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}}<br>
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 Matthew Dozier Booked in the 33rd minute 33'

Phil Roof  Goal  54' (pen.)

Match report Augusto Botero  Goal  39' Attendance: 7,308