Difference between revisions of "Template:Football box"
Jump to navigation
Jump to search
m (1 revision) |
Fractalzoom (talk | contribs) m (width tweak) |
||
Line 4: | Line 4: | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
| width= | | width=20% valign=top align=right rowspan=5 class="summary" | {{{date}}}<br />{{#if:{{{time|}}}|{{{time}}}<br />| }}{{#if:{{{round|}}}|{{{round}}} }} | ||
! width=24% valign=top align=right class = "vcard attendee" | <span class="fn org">{{{team1}}}</span> | ! width=24% valign=top align=right class = "vcard attendee" | <span class="fn org">{{{team1}}}</span> | ||
! width=13% valign=top align=center | {{#if:{{{score|}}}|{{{score}}}|v }} {{#if:{{{aet|}}}|(a.e.t.) }} | ! width=13% valign=top align=center | {{#if:{{{score|}}}|{{{score}}}|v }} {{#if:{{{aet|}}}|(a.e.t.) }} |
Revision as of 20:10, 14 January 2014
{{{date}}} |
{{{team1}}} | v | {{{team2}}} | {{{stadium}}} |
---|---|---|---|---|
Usage
All attributes are optional.
{{Football box | date = <!-- {{Start date|YYYY|MM|DD|df=y}} or mf=y --> | event = | round = | time = | team1 = {{badgeicon|board}} [[/board/]] <!--Note the order! --> | team2 = [[/board/]] {{badgeicon|board}} | score = | aet = | goals1 = | goals2 = | stadium = | attendance = | referee = | report = | penalties1 = | penaltyscore = | penalties2 = }}
Example
{{Football box | date = {{Start date|2006|07|09|df=y}} | event = [[2012 4chan Spring Babby Cup]] | round = Final | time = 20:00 {{subst:tz|CEST}} | team1 = [[/sp/]] {{Team home|sp}} | team2 = {{Team away|x}} | score = 1 – 1 | aet = yes | goals1 = [[Some guy|/sp/]] {{goal|19}} | goals2 = [[Another guy|/x/]] {{goal|7|pen.}} | stadium = Some Stadium over there. | attendance = 69,000 | referee = A nigger | penalties1 = [[Some guy|/sp/]] {{pengoal}}<br />[[Some guy|/sp/]] {{pengoal}}<br />[[Some guy|/sp/]] {{pengoal}}<br />[[Some guy|/sp/]] {{pengoal}}<br />[[Some guy|/sp/]] {{pengoal|scored}} | penaltyscore = 5 – 3 | penalties2 = {{pengoal}} [[Another guy|/x/]]<br />{{penmiss|hit crossbar}} [[Another guy|/x/]]<br />{{pengoal}} [[Another guy|/x/]]<br />{{pengoal}} [[Another guy|/x/]] }}
produces:
2012 4chan Spring Babby Cup | ||||
---|---|---|---|---|
8 January 2012 20:00 UTC+02 Final |
/sp/ | 1 – 1 (a.e.t.) | /x/ | Some Stadium over there. Attendance: 69,000 Referee: A nigger |
Some guy 19' | Another guy 7' (pen.) | |||
Penalties | ||||
Some guy Some guy Some guy Some guy Some guy |
5 – 3 | Another guy Another guy Another guy Another guy |
In the goals area, you can add:
{{penmiss}} ->
{{penmiss|goalkeeper saved}} ->