![]() |
Congratulations /co/! | ![]() |
---|---|---|
Winners of the 2025 4chan Spring Babby Cup |
Template:Football box
Revision as of 01:48, 8 May 2018 by Two Scoops (talk | contribs) (added html classes to some elements)
{{#cargo_declare:_table=CupMatches|Team1=Wikitext|Team2=Wikitext|Score=String|Goals1=Wikitext|Goals2=Wikitext|MatchTime=Datetime}}
{{#cargo_store:_table=CupMatches|Team1={{{team1}}}|Team2={{{team2}}}|Score={{{score}}}|Goals1={{{goals1}}}|Goals2={{{goals2}}}|MatchTime={{{date}}}}}
{{{date}}} | {{{team1}}} | {{{team2}}} | ||
---|---|---|---|---|
{{{stadium}}} |
Usage
All attributes are optional.
{{Football box | date = <!-- {{Start date|YYYY|MM|DD|df=y}} or mf=y --> | event = | round = | time = | note = | team1 = {{badgeicon|board}} [[/board/]] <!--Note the order! --> | team2 = [[/board/]] {{badgeicon|board}} | score = | aet = | goals1 = | goals2 = | stadium = | attendance = | referee = | report = | video = | penalties1 = | penaltyscore = | penalties2 = }}
Example
{{Football box | date = {{Start date|2006|07|09|df=y}} | event = [[2012 4chan Spring Babby Cup]] | round = | time = {{time|20|00}} | note = {{tt|[[/sp/]] player Messi is suspended for this match|Straight red in the previous game}} | 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 = 69000 | referee = A nigger | video = [http://archive.klaxa.eu/ Klaxa] | report = First Bait | 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:
{{#cargo_store:_table=CupMatches|Team1=/sp/ |Team2=
/x/|Score=1 – 1|Goals1=Some guy
19'|Goals2=Another guy
7' (pen.)|MatchTime=8 January 2012}}
2012 4chan Spring Babby Cup | ||||
---|---|---|---|---|
8 January 2012 | /sp/ ![]() |
1 – 1 (a.e.t.) | ![]() | |
20:00 Note: /sp/ player Messi is suspended for this match |
Some guy ![]() |
Another guy ![]() |
Some Stadium over there. Attendance: 69000 Referee: A nigger Video: Klaxa Report: First Bait | |
Penalties | ||||
Some guy ![]() Some guy ![]() Some guy ![]() Some guy ![]() Some guy ![]() |
5 – 3 | ![]() ![]() ![]() ![]() |
In the goals area, you can add:
{{penmiss}} ->
{{penmiss|goalkeeper saved}} ->