Template:Football box/doc: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (→Example) |
||
Line 46: | Line 46: | ||
| penaltyscore=2-3 | | penaltyscore=2-3 | ||
| adg=yes | | adg=yes | ||
| penalties2={{pengoal}} [[Olabode Ajayi|Ajayi]]<br />{{pengoal}} [[Evander Elliott|Elliott]]<br />{{ | | penalties2={{pengoal}} [[Olabode Ajayi|Ajayi]]<br />{{pengoal}} [[Evander Elliott|Elliott]]<br />{{penmiss}} [[Antoine Fisher|Fisher]]<br />{{penmiss}} [[Casim Taylor|Taylor]]<br />{{pengoal}} [[Kemar Fofana|Fofana]] | ||
| mom=[[Evander Elliott]] {{nfa|CBR|short}} | | mom=[[Evander Elliott]] {{nfa|CBR|short}} | ||
}} | }} | ||
Line 68: | Line 68: | ||
| penaltyscore=2-3 | | penaltyscore=2-3 | ||
| adg=yes | | adg=yes | ||
| penalties2={{pengoal}} [[Olabode Ajayi|Ajayi]]<br />{{pengoal}} [[Evander Elliott|Elliott]]<br />{{ | | penalties2={{pengoal}} [[Olabode Ajayi|Ajayi]]<br />{{pengoal}} [[Evander Elliott|Elliott]]<br />{{penmiss}} [[Antoine Fisher|Fisher]]<br />{{penmiss}} [[Casim Taylor|Taylor]]<br />{{pengoal}} [[Kemar Fofana|Fofana]] | ||
| mom=[[Evander Elliott]] {{nfa|CBR|short}} | | mom=[[Evander Elliott]] {{nfa|CBR|short}} | ||
}} | }} |
Latest revision as of 07:50, 22 February 2017
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 />{{penmiss}} [[Antoine Fisher|Fisher]]<br />{{penmiss}} [[Casim Taylor|Taylor]]<br />{{pengoal}} [[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 31' | Fisher 78' | |
Shootout | ||
James Oshoala Rivas O'Connor Layeni |
2-3 | Ajayi Elliott Fisher Taylor Fofana |
Great Swan Park, Paphos
Attendance: 20,000 Referee: Hana Melessa (Callistea) Player of the Game: Evander Elliott CBR |