Template:Footballbox collapsible/doc

Usage
This template is meant to be used for abbreviated regular season results with expandable details. The goal with this template is to only consume one line of text (when collapsed) for each match. Therefore, avoid using line breaks (&lt;br /&gt;) in parameters that are still visible when the box score is collapsed.

Sample: 

Sample result:

Blank Template
All available parameters are shown here. 

Parameters
Required parameters: team1, team2, score (if the match has occurred), and report. Everything else is optional, though goals1, goals2, referee, location, and stadium are highly encouraged wherever this template is used.

Content Parameters

 * attendance - Match attendance as reported in the match report.
 * date - Date of the match. Use Start date (with df=y or mf=y; see: WQ:ENGVAR)
 * location & stadium - If location is not specified, the value of stadium will appear at the top of the far right column "above the fold". If location is specified, then only the location value will appear "above the fold" on the right, and the value of stadium will be shown with the prefix "Stadium:" beside it only when the box score is expanded.
 * goals1 and goals2 - Goals scored and optionally cards issued. Use goal, yel, and sent off with the last name (or professional name) of the player involved.  Place a line break &lt;br&gt; between each player listed.  If a player scores more than one goal (or cards) these can be grouped together so that the player's name only appears once.  This is not required though.  Preference should be given to listing goals (and cards) in chronological order.
 * penaltyscore - The result of the penalty shootout.
 * penalties1 and penalties2 - List of the results of each penalty kick taken. Use pengoal and penmiss with the last name (or professional name) of the player taking the kick.  Place a line break &lt;br&gt; between each player listed.
 * score - The final score of the match. If the match went into extra time (or to penalties) (a.e.t.) should be appended as shown in the example.
 * aggregatescore - Optionally, the aggregate score if the match is the second of a two leg tie. Example:  , which produces (4a – 4 agg.)
 * time - Time of the match. The local time of the match (local to the stadium it took place in).  Either 24h or 12h formats are acceptable.
 * team1 and team2 - Typically team1 is the home team. Both should be wikilined to a team page if there is one.
 * referee - Name of head referee (wikilinked only if there is a page for the referee or you intend to create it soon). The referee's national federation in parenthesis is optional but recommended when the box score is for an international competition.
 * assistantreferees, fourthofficial & goallineassistants - Further detailed referee information. Same guidelines apply as referee.
 * motm - Man of the match.
 * report - An external link to an official match report or box score. It is important that match information be referenced, so please use this parameter!  (See also: Verifiability and No Original Research)
 * round - For use when the match is part of a tournament with various rounds of play, such as Preliminary Round, First Round, Group Stage, etc. Wikilinking to the appropriate tournament page/section is recommended.

Formatting Parameters

 * bg - Use this param to specify a custom background color (ignored if result is specified). Use RRGGBB values without the # sign. Example: |bg=99C0B0
 * nobars - Set this parameter to 1 if you don't want the one pixel bars to show above and below the template. Example: |nobars=1
 * result - Adjusts background color to indicate win (green), draw/tie (yellow), loss (red) or void (grey). Possible values: W, L, T, D or V.  See the Legend section below when using this parameter.
 * size - By default Footballbox_collapsible is 100% wide. Use this param to specify a different width. Example: |size=80%
 * stack - Use when multiple footballbox collapsibles are stacked together. It causes the bottom bar to be hidden so that a thick bar does not appear between each box score.  Example |stack=yes
 * class - Use this if you do not want the template collapsed. The options are "uncollapsed vevent" (removal of collapse function), "collapsible vevent" (box can be collapsed, but by default is not) and "collapsible collapsed vevent" (box is initially collapsed). If unused, the parameter will default to "collapsible collapsed vevent". Example: |class=collapsible vevent

Legend
Simple coloring legend recommended when an article makes use of result parameter:

Which produes:

Note: Given the rarity of voided results, that entry is optional and can be omitted in most cases.