Template:Wp/rif/TeamMatchbox/doc

Usage

edit
{{TeamMatchbox
|date = 2008-08-13
|time = 10:00
|team1 = {{flagIOC|CHN|2008 Summer}}
|score1 = '''3'''
|score2 = 0
|report = [http://results.beijing2008.cn/WRM/ENG/INF/TT/C73C/TTW400A01.shtml#TTW400A01 (Report)]
|team2 = {{flagIOC|CRO|2008 Summer}}
|score1-1 = '''3'''
|score2-1 = 0
|score1-2 = '''3'''
|score2-2 = 1
|score1-3 = '''3'''
|score2-3 = 0
|player1-1 = [[Zhang Yining]]
|player2-1 = [[Tamara Boros]]
|player1-2 = [[Wang Nan (table tennis)|Wang Nan]]
|player2-2 = [[Andrea Bakula]]
|player1-3 = [[Guo Yue (table tennis)|Guo Yue]], [[Zhang Yining]]
|player2-3 = [[Sandra Paovic]], [[Andrea Bakula]]
|location = [[Peking University Gymnasium]], [[Beijing]]
|attendance = 10,000
|referee = Marco Gomez (VEN), Leonor Demario (BRA)
}}

Sample result: Template:TeamMatchbox

Blank (for easy copy & paste):

{{TeamMatchbox
|date = 
|time = 
|team1 = 
|score1 = 
|score2 = 
|report =  
|team2 = 
|score1-1 = 
|score2-1 = 
|score1-2 = 
|score2-2 = 
|score1-3 = 
|score2-3 =
|score1-4 = 
|score2-4 = 
|score1-5 = 
|score2-5 =  
|score1-6 = 
|score2-6 = 
|score1-7 = 
|score2-7 =
|score1-8 = 
|score2-8 = 
|score1-9 = 
|score2-9 =  
|player1-1 = 
|player2-1 = 
|player1-2 = 
|player2-2 = 
|player1-3 = 
|player2-3 = 
|player1-4 = 
|player2-4 = 
|player1-5 = 
|player2-5 = 
|player1-6 = 
|player2-6 = 
|player1-7 = 
|player2-7 = 
|player1-8 = 
|player2-8 = 
|player1-9 = 
|player2-9 = 
|location = 
|attendance = 
|referee = 
}}

See also

edit

ERROR: This page is using an unprefixed version of template {{Tl}}

Create {{Wp/rif/Tl}} instead and replace all occurences of {{Tl}} in Wp/rif/ prefixed pages by that.

You may like to check 1 template in Category:Wp/rif/Templates using unprefixed template Tl first to remove all occurences from those templates which will fix the pages containing those templates too.

{{footballbox}}


Usage

edit

All attributes are optional.

{{Football box
|id           =
|date         = <!-- {{Start date|YYYY|MM|DD|df=y}} -->
|time         =
|event        =
|round        =
|team1        =
|score1       =
|team2        =
|score2       =
|scorenote    = 
|aet          =
|report       =
|goals1       =
|goals2       =
|stadium      =
|location     =
|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

edit
{{Football box
|id           = Italy v France
|date         = {{Start date|2006|07|09|df=y}}
|time         = 20:00 [[Central European Summer Time|CEST]]
|event        = [[2006 FIFA World Cup]]
|round        = [[2006 FIFA World Cup Final|Final]]
|team1        = {{fb-rt|ITA}}
|score1       = 1
|team2        = {{fb|FRA}}
|score2       = 1
|aet          = yes
|report       = https://www.fifa.com/worldcup/matches/round=97410600/match=97410064/index.html
|goals1       = [[Marco Materazzi|Materazzi]] {{goal|19}}
|goals2       = [[Zinedine Zidane|Zidane]] {{goal|7|pen.}}
|stadium      = [[Olympiastadion (Berlin)|Olympiastadion]]
|location     = [[Berlin]]
|attendance   = 69,000
|referee      = [[Horacio Elizondo]] ([[Argentine Football Association|Argentina]])
|penaltyscore = 5–3
|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]]
}}

produces:

Template:Football box

See also

edit

Template:Football match report templates

Tracking category

edit

All tracking Template:Plainlist

Microdata

edit

This template outputs structured data, in microdata format, as a schema.org SportsEvent. To verify the data, you can use Google's structured data testing tool on pages that transclude this template.

TemplateData

edit

Template:TemplateData header

This template displays the summary of a football (soccer) match. The summary include date and time, stadium, competing teams, goal scorers and the minute of goal, a link to the official match report and attendance of the stadium. It also includes whether or not the match went to extra-time or penalty-shoots and displays respective results.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
datedate

The date on which the match took place or will be taking place

Example
{{Start date|2006|07|09|df=y}}
Daterequired
eventevent

The name of the competition of the match

Example
2014-15 UEFA Champions League
Stringrequired
team1team1

The team that is or is treated as a home team

Example
Barcelona (if venue is Camp Nou)
Stringrequired
team2team2

The team that is or is treated as the away team

Example
Manchester City (If venue is other than Etihad stadium)
Stringrequired
timetime

The time at which match starts and the time zone is mentioned beside the timings

Example
20:00 [[Central European Summer Time|CEST]] ([[UTC+02:00]])
Numberrequired
roundround

This shows at which level is the match being played

Example
Round of 16
Stringrequired
score1score1

The final score of the home team

Default
0
Example
1
Numberrequired
score2score2

The final score of the away team

Default
0
Example
0
Numberrequired
scorescore

The final score i.e. outcome of the match; fallback for score1 and score2

Example
1-0
Stringdeprecated
scorenotescorenote

An optional note clarifying the final score

Example
Decided by a coin flip
Stringoptional
goals1goals1

Goals scored by the home team, including name of the scorer and minute of the goal

Example
Ramos 90+3'
Stringrequired
reportreport

Links to the official report page of the match

Example
https://www.fifa.com/worldcup/archive/germany2006/index.html
URLrequired
goals2goals2

Goals scored by the away team, including name of the scorer and the minute of goal

Example
Neymar 58'
Stringrequired
penaltyscorepenaltyscore

The final score after penalty shoot-out

Example
5-3
Numbersuggested
penalties1penalties1

Penalties scored by the home team, including name of penalty-taker and whether or not it was scored

Example
Sánchez {{pengoal}}
Stringsuggested
penalties2penalties2

Penalties scored by the away team, including name of penalty-taker and whether or not it was scored.

Example
Higuaín {{penmiss}}
Stringsuggested
stadiumstadium

The stadium in which the match took place

Example
Camp Nou
Stringrequired
locationlocation

The address or location of the stadium

Example
Barcelona
Stringsuggested
attendanceattendance

The number of people in the stadium of the match

Example
71,000
Numberrequired
refereereferee

The official referee of the match and their country in braces

Example
Horacio Elizondo (Argentina)
Stringrequired
motmmotm

The elected man of the match and their country in braces or country flag

Example
Neymar (Brazil)
Stringoptional
aetaet

Included when match is decided in extra-time or penalty-shoot

Stringsuggested