Template:Football box: Difference between revisions

From RabastorWiki
Jump to navigation Jump to search
m (1 revision imported)
 
No edit summary
Line 9: Line 9:
|- style="vertical-align:top"
|- style="vertical-align:top"
! style="width:39%; text-align:right" class="vcard attendee" | <span class="fn org">{{{team1}}}</span>
! style="width:39%; text-align:right" class="vcard attendee" | <span class="fn org">{{{team1}}}</span>
! style="width:22%; text-align:center" | {{#if:{{{score|}}}|{{{score}}}|v }} {{#if:{{{aet|}}}|([[Overtime (sports)#Association football|a.e.t.]]) }}
! style="width:22%; text-align:center" | {{#if:{{{score|}}}|{{{score}}}|v }} {{#if:{{{aet|}}}|([[wiki:Overtime (sports)#Association football|a.e.t.]]) }}
! style="width:39%; text-align:left" class="vcard attendee" | <span class="fn org">{{{team2}}}</span>
! style="width:39%; text-align:left" class="vcard attendee" | <span class="fn org">{{{team2}}}</span>
|- style="vertical-align:top;font-size:85%"
|- style="vertical-align:top;font-size:85%"
Line 18: Line 18:
{{!}}-
{{!}}-
{{!}} &nbsp;
{{!}} &nbsp;
! align=center {{!}} [[Penalty shoot-out (association football)|Penalties]]
! align=center {{!}} {{#if:{{{adg|}}}|[http://theadgalternative.com/ Shootout]|[[wiki:Penalty shoot-out (association football)|Penalties]]}}
{{!}} &nbsp;
{{!}} &nbsp;
{{!}}- style=vertical-align:top;font-size:85%
{{!}}- style=vertical-align:top;font-size:85%

Revision as of 08:50, 22 February 2017

{{{date}}}
{{{team1}}} v {{{team2}}}
Template documentation[view] [edit] [history] [purge]

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 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 missed Fisher
Penalty missed Taylor
Penalty scored Fofana
Great Swan Park, Paphos
Attendance: 20,000
Referee: Hana Melessa (Callistea)