Template:Football box/doc

From RabastorWiki
Jump to navigation Jump to search

Usage

All attributes are optional.

{{Football box
|id           =
|date         = <!-- {{Start date|YYYY|MM|DD|df=y}} -->
|time         =
|event        =
|round        =
|team1        =
|score        =
|aet          =
|report       =
|team2        =
|goals1       =
|goals2       =
|stadium      =
|attendance   =
|referee      =
|penalties1   =
|penaltyscore =
|penalties2   =
|size         = <!-- changes the width; use a percentage; include "%" after the percentage; default is "100%" -->
|bg           = <!-- changes the background color; use a hex color code; include "#" before the hex color code; default is "transparent" -->
}}

Example

{{Football box
| date=1 August 2230
| time=19:30
| team1={{fb-rt|OSR}}
| score=1-1
| aet=yes
| team2={{fb|CBR}}
| goals1=[[Peta-Gaye Thompson|Thompson]] {{goal|31}}
| goals2=[[Antoine Fisher|Fisher]] {{goal|78}}
| stadium=[[Great Swan Park]], [[Paphos]]
| attendance=20,000
| referee=Hana Melessa ({{nfa|CLS}})
| penalties1=[[Laurence James|James]] {{pengoal}}<br />[[Aurora Oshoala|Oshoala]] {{penmiss}}<br />[[Aaron Rivas|Rivas]] {{penmiss}}<br />[[Isaac O'Connor|O'Connor]] {{pengoal}}<br />[[Babtunde Layeni|Layeni]] {{penmiss}}
| penaltyscore=2-3
| adg=yes
| penalties2={{pengoal}} [[Olabode Ajayi|Ajayi]]<br />{{pengoal}} [[Evander Elliott|Elliott]]<br />{{pengoal}} [[Antoine Fisher|Fisher]]<br />{{penmiss}} [[Casim Taylor|Taylor]]<br />{{penmiss}} [[Kemar Fofana|Fofana]]
| mom=[[Evander Elliott]] {{nfa|CBR|short}}
}}

Note there is an optional "adg" variable which can be used like the "aet" variable, to specify whether a shootout under Attacker-Defender-Goalkeeper rules was used rather than the traditional penalty shootout, as can be seen in the example.

1 August 2230
19:30
Osarius  1-1 (a.e.t.)  Cobrio
Thompson Goal 31' Fisher Goal 78'
  Shootout  
James Penalty scored
Oshoala Penalty missed
Rivas Penalty missed
O'Connor Penalty scored
Layeni Penalty missed
2-3 Penalty scored Ajayi
Penalty scored Elliott
Penalty scored Fisher
Penalty missed Taylor
Penalty missed Fofana
Great Swan Park, Paphos
Attendance: 20,000
Referee: Hana Melessa (Callistea)
Player of the Game: Evander Elliott CBR