ទំព័រគំរូ:Football box/doc
This is a documentation subpage for ទំព័រគំរូ:Football box. It may contain usage information, categories and other content that is not part of the original ទំព័រគំរូ page. |
Usage
[កែប្រែ]All attributes are optional.
{{Football box | date = <!-- {{Start date|YYYY|MM|DD|df=y}} or mf=y --> | event = | round = | time = | team1 = | team2 = | score = | aet = | goals1 = | goals2 = | stadium = | attendance = | referee = | report = | penalties1 = | penaltyscore = | penalties2 = }}
Example
[កែប្រែ]{{Football box | date = {{Start date|2006|07|09|df=y}} | event = [[2006 FIFA World Cup]] | round = Final | time = 20:00 {{subst:tz|CEST}} | 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 = [[Olympic Stadium (Berlin)|Olympiastadion]], [[Berlin]] | attendance = 69,000 | referee = [[Horacio Elizondo]] ([[Argentine Football Association|Argentina]]) | report = [http://www.fifa.com/worldcup/archive/germany2006/results/matches/match=97410064/report.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|scored}} | penaltyscore = 5–3 | penalties2 = {{pengoal}} [[Sylvain Wiltord|Wiltord]]<br />{{penmiss|hit crossbar}} [[David Trezeguet|Trezeguet]]<br />{{pengoal}} [[Éric Abidal|Abidal]]<br />{{pengoal}} [[Willy Sagnol|Sagnol]] }}
produces:
In the goals area, you can add:
{{penmiss}} ->
ទំព័រគំរូ:Penmiss{{penmiss|goalkeeper saved}} ->
ទំព័រគំរូ:Penmiss
See also
[កែប្រែ]ទំព័រគំរូ:Match report templates
- {{TeamMatchbox}}
- {{Football box collapsible}}
Microformats
[កែប្រែ]ទំព័រគំរូ:UF-hcard-short The HTML mark up produced by this template includes an hCalendar microformat, which makes the event details parsable by computers, either acting automatically to catalogue articles across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to a calendar or diary application. For more information about the use of microformats on Wikipedia, please see the microformat project.
Dates will only be included if you use {{Start date}} or {{End date}} (use the former for single dates; but do not use any of these if the date is before 1583 CE).
URLs will only be included if you use {{URL}}.
hCalendar uses HTML classes including:
- 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.