Fyrimynd:Football box

Frá Wikipedia, hin frælsa alfrøðin

{{{date}}}
{{{team1}}} m {{{team2}}}
Documentation icon Skjalfesting til fyrimyndina[vís] [rætta] [søga] [dagfør]

Usage[rætta wikitekst]

All attributes are optional.

{{Football box
|date         = <!-- {{Start date|YYYY|MM|DD|df=y}} -->
|time         =
|event        =
|round        =
|team1        =
|team2        =
|score        =
|aet          =
|goals1       =
|goals2       =
|stadium      =
|attendance   =
|referee      =
|report       =
|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[rætta wikitekst]

{{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:

See also[rætta wikitekst]

Goal {{goal}}
Booked {{yel}} Red card {{sent off}} Yellow cardRed card {{sent off|1}} Yellow cardYellow cardRed card {{sent off|2}}
Substituted in {{subon}} Substituted off {{suboff}}
Penalty scored {{pengoal}} Penalty missed {{penmiss}}
Golden goal {{golden goal}} Silver goal {{silver goal}}

Microformats[rætta wikitekst]

The HTML markup produced by this template includes an hCard microformat, which makes the person's or organisation's name parsable by computers, either acting automatically to catalogue articles across Wikipedia or via a browser tool operated by a reader, to (for example) add the subject to an address book. For more information about the use of microformats on Wikipedia, please see the microformat project.

The hCard in this template uses at least some of these HTML classes:

  • fn (required)
  • nickname
  • org
  • vcard

Please do not rename or remove these classes nor collapse nested elements which use them.

The HTML mark-up produced by this template includes an hCalendar microformat that makes event details readily parsable by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Wikipedia, please visit the Microformat WikiProject.
Classes used

The HTML classes this microformat uses include:

  • attendee
  • contact
  • description
  • dtend
  • dtstart
  • location
  • organiser
  • summary
  • url
  • vevent
Please do not rename or remove these classes
nor collapse nested elements which use them.