Difference between revisions of "Template:Football box/doc"

From blackwiki
Jump to navigation Jump to search
imported>S.A. Julio
(adjusting order)
imported>Husn shujaat
Line 89: Line 89:
  
 
</includeonly>
 
</includeonly>
 +
 +
<templatedata>
 +
{
 +
"params": {},
 +
"description": "This template displays the details of a football (soccer) match, which is usually the final match of any competition. The details include date and time, venue, competing teams, goal scorers and the minute in which they scored, a report from an external link and attendance of the stadium.",
 +
"format": "inline"
 +
}
 +
</templatedata>

Revision as of 22:18, 16 January 2016

Usage

All attributes are optional.

{{Football box
|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         = {{Start date|2006|07|09|df=y}}
|time         = 20:00 [[Central European Summer Time|CEST]] ([[UTC+02:00]])
|event        = [[2006 FIFA World Cup]]
|round        = [[2006 FIFA World Cup Final|Final]]
|team1        = {{fb-rt|ITA}}
|team2        = {{fb|FRA}}
|score        = 1–1 
|aet          = yes
|goals1       = [[Marco Materazzi|Materazzi]] {{goal|19}}
|goals2       = [[Zinedine Zidane|Zidane]] {{goal|7|pen.}}
|stadium      = [[Olympiastadion (Berlin)|Olympiastadion]], [[Berlin]], [[Germany]]
|attendance   = 69,000
|referee      = [[Horacio Elizondo]] ({{nfa|ARG}})
|report       = [http://www.fifa.com/worldcup/matches/round=97410600/match=97410064/index.html Report]
|penalties1   = [[Andrea Pirlo|Pirlo]] {{pengoal}}<br>[[Marco Materazzi|Materazzi]] {{pengoal}}<br>[[Daniele De Rossi|De Rossi]] {{pengoal}}<br>[[Alessandro Del Piero|Del Piero]] {{pengoal}}<br>[[Fabio Grosso|Grosso]] {{pengoal}}
|penaltyscore = 5–3
|penalties2   = {{pengoal}} [[Sylvain Wiltord|Wiltord]]<br>{{penmiss}} [[David Trezeguet|Trezeguet]]<br>{{pengoal}} [[Éric Abidal|Abidal]]<br>{{pengoal}} [[Willy Sagnol|Sagnol]]
}}

produces:

Page Template:Football box/styles.css has no content.

See also

Goal {{goal}}
Template:Yel {{yel}} Template:Sent off {{sent off}} Template:Sent off {{sent off|1}} Template:Sent off {{sent off|2}}
Template:Subon {{subon}} Template:Suboff {{suboff}}
Template:Pengoal {{pengoal}} Template:Penmiss {{penmiss}}
Golden goal {{golden goal}} Template:Silver goal {{silver goal}}

Tracking categories

Category:Soccer template needing maintenance (0): for templates using an apostrophe at the end of a minute value (remove the apostrophe to fix the error)

Microformats

Template:UF-hcard-short Template:UF-hcal


This template displays the details of a football (soccer) match, which is usually the final match of any competition. The details include date and time, venue, competing teams, goal scorers and the minute in which they scored, a report from an external link and attendance of the stadium.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
No parameters specified