Template:Football box/doc: Difference between revisions

From RabastorWiki
Jump to navigation Jump to search
(Created page with "<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> == Usage == All attributes are optional. <pre style="overflow:auto"> {{Football box |id =...")
 
 
(One intermediate revision by the same user not shown)
Line 32: Line 32:
<pre style="overflow:auto">
<pre style="overflow:auto">
{{Football box
{{Football box
|id          = Italy v France
| date=1 August 2230
|date        = {{Start date|2006|07|09|df=y}}
| time=19:30
|time         = 20:00 [[Central European Summer Time|CEST]]
| team1={{fb-rt|OSR}}
|event        = [[2006 FIFA World Cup]]
| score=1-1
|round        = [[2006 FIFA World Cup Final|Final]]
| aet=yes
|team1       = {{fb-rt|ITA}}
| team2={{fb|CBR}}
|score       = 1–1
| goals1=[[Peta-Gaye Thompson|Thompson]] {{goal|31}}
|aet         = yes
| goals2=[[Antoine Fisher|Fisher]] {{goal|78}}
|report      = http://www.fifa.com/worldcup/matches/round=97410600/match=97410064/index.html
| stadium=[[Great Swan Park]], [[Paphos]]
|team2       = {{fb|FRA}}
| attendance=20,000
|goals1       = [[Marco Materazzi|Materazzi]] {{goal|19}}
| referee=Hana Melessa ({{nfa|CLS}})
|goals2       = [[Zinedine Zidane|Zidane]] {{goal|7|pen.}}
| 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}}
|stadium     = [[Olympiastadion (Berlin)|Olympiastadion]], [[Berlin]]
| penaltyscore=2-3
|attendance   = 69,000
| adg=yes
|referee     = [[Horacio Elizondo]] ({{nfa|ARG}})
| 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]]
|penaltyscore = 5–3
| mom=[[Evander Elliott]] {{nfa|CBR|short}}
|penalties1   =  
* [[Andrea Pirlo|Pirlo]] {{pengoal}}
* [[Marco Materazzi|Materazzi]] {{pengoal}}
* [[Daniele De Rossi|De Rossi]] {{pengoal}}
* [[Alessandro Del Piero|Del Piero]] {{pengoal}}
* [[Fabio Grosso|Grosso]] {{pengoal}}
|penalties2   =  
* {{pengoal}} [[Sylvain Wiltord|Wiltord]]
* {{penmiss}} [[David Trezeguet|Trezeguet]]
* {{pengoal}} [[Éric Abidal|Abidal]]
* {{pengoal}} [[Willy Sagnol|Sagnol]]
}}
}}
</pre>
</pre>


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.
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.
 
{{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}}
}}


<includeonly>
<includeonly>

Latest revision as of 08: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 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)
Player of the Game: Evander Elliott CBR