Difference between revisions of "Template:Football box"
Jump to navigation
Jump to search
m (DateTime for cargo table) |
Giovani1906 (talk | contribs) m (finally, events placement is fixed) |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{| cellspacing=0 style="width: {{{size|100%}}}; background-color: {{{bg|transparent}}}" class="vevent" | {| cellspacing=0 style="width: {{{size|100%}}}; background-color: {{{bg|transparent}}}" class="vevent" | ||
{{#if:{{{event|}}}| | {{#if:{{{event|}}}| | ||
! | {{!}} {{!}} | ||
! | |||
! align=center {{!}} {{{event}}} | |||
{{!}} {{!}} | |||
{{!}}- | {{!}}- | ||
}} | }} | ||
Line 15: | Line 14: | ||
| width=15% valign=top align=right class="summary matchtime" |{{#if:{{{time|}}}|<big>{{{time}}}</big><br />| }}{{#if:{{{note|}}}|Note: '''''{{{note}}}'''''}}<br />{{#if:{{{round|}}}|{{{round}}} }} | | width=15% valign=top align=right class="summary matchtime" |{{#if:{{{time|}}}|<big>{{{time}}}</big><br />| }}{{#if:{{{note|}}}|Note: '''''{{{note}}}'''''}}<br />{{#if:{{{round|}}}|{{{round}}} }} | ||
| valign=top align=right | {{#if:{{{goals1|}}}|{{{goals1}}} }} | | valign=top align=right | {{#if:{{{goals1|}}}|{{{goals1}}} }} | ||
| | | valign=top align=center | {{#if:{{{stats|}}}|{{{stats|}}} }} | ||
| valign=top | {{#if:{{{goals2|}}}|{{{goals2}}} }} | | valign=top | {{#if:{{{goals2|}}}|{{{goals2}}} }} | ||
| style="font-size: 100%" valign=top |{{{stadium}}}<br />{{#if:{{{attendance|}}}|Attendance: {{{attendance}}}<br />}}{{#if:{{{referee|}}}|Referee: {{{referee}}}<br /> }}{{#if:{{{video|}}}|Video: {{{video}}}<br />}} {{#if:{{{report|}}}|Report: {{{report}}} }} | | style="font-size: 100%" valign=top |{{{stadium}}}<br />{{#if:{{{attendance|}}}|Attendance: {{{attendance}}}<br />}}{{#if:{{{referee|}}}|Referee: {{{referee}}}<br /> }}{{#if:{{{video|}}}|Video: {{{video}}}<br />}} {{#if:{{{report|}}}|Report: {{{report}}} }} | ||
Line 57: | Line 56: | ||
| penaltyscore = | | penaltyscore = | ||
| penalties2 = | | penalties2 = | ||
| stats = | |||
}} | }} | ||
</pre> | </pre> | ||
Line 83: | Line 83: | ||
| penaltyscore = 5 – 3 | | 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/]] | | penalties2 = {{pengoal}} [[Another guy|/x/]]<br />{{penmiss|hit crossbar}} [[Another guy|/x/]]<br />{{pengoal}} [[Another guy|/x/]]<br />{{pengoal}} [[Another guy|/x/]] | ||
| stats = {{stattableSmall | |||
|color1 = {{team color|sp}} |color2 = {{team color|x}} | |||
|poss1 = 42 |poss2 = 58 | |||
|shots1 = 4 |shots2 = 9 | |||
|shotsot1 = 4 |shotsot2 = 8 | |||
|fouls1 = 1 |fouls2 = 2 | |||
|foulsoff1= 0 |foulsoff2 = 0 | |||
|corner1 = 2 |corner2 = 3 | |||
|fk1 = 2 |fk2 = 1 | |||
|pass1 = 83 |pass2 = 82 | |||
|cross1 = |cross2 = | |||
|int1 = 21 |int2 = 15 | |||
|tackle1 = 9 |tackle2 = 12 | |||
|save1 = 2 |save2 = 2}} | |||
}} | }} | ||
</pre> | </pre> | ||
Line 108: | Line 122: | ||
| penaltyscore = 5 – 3 | | penaltyscore = 5 – 3 | ||
| penalties2 = {{pengoal}} [[:/x/|Another guy]]<br />{{penmiss|hit crossbar}} [[:/x/|Another guy]]<br />{{pengoal}} [[:/x/|Another guy]]<br />{{pengoal}} [[:/x/|Another guy]] | | penalties2 = {{pengoal}} [[:/x/|Another guy]]<br />{{penmiss|hit crossbar}} [[:/x/|Another guy]]<br />{{pengoal}} [[:/x/|Another guy]]<br />{{pengoal}} [[:/x/|Another guy]] | ||
| stats = {{stattableSmall | |||
|color1 = {{team color|sp}} |color2 = {{team color|x}} | |||
|poss1 = 42 |poss2 = 58 | |||
|shots1 = 4 |shots2 = 9 | |||
|shotsot1 = 4 |shotsot2 = 8 | |||
|fouls1 = 1 |fouls2 = 2 | |||
|foulsoff1= 0 |foulsoff2 = 0 | |||
|corner1 = 2 |corner2 = 3 | |||
|fk1 = 2 |fk2 = 1 | |||
|pass1 = 83 |pass2 = 82 | |||
|cross1 = |cross2 = | |||
|int1 = 21 |int2 = 15 | |||
|tackle1 = 9 |tackle2 = 12 | |||
|save1 = 2 |save2 = 2}} | |||
}} | }} | ||
Revision as of 18:57, 19 February 2019
{{{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 = | stats = }}
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/]] | stats = {{stattableSmall |color1 = {{team color|sp}} |color2 = {{team color|x}} |poss1 = 42 |poss2 = 58 |shots1 = 4 |shots2 = 9 |shotsot1 = 4 |shotsot2 = 8 |fouls1 = 1 |fouls2 = 2 |foulsoff1= 0 |foulsoff2 = 0 |corner1 = 2 |corner2 = 3 |fk1 = 2 |fk2 = 1 |pass1 = 83 |pass2 = 82 |cross1 = |cross2 = |int1 = 21 |int2 = 15 |tackle1 = 9 |tackle2 = 12 |save1 = 2 |save2 = 2}} }}
produces:
2012 4chan Spring Babby Cup | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8 January 2012 | /sp/ | 1 – 1 (a.e.t.) | /x/ | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
20:00 Note: /sp/ player Messi is suspended for this match |
Some guy 19' |
|
Another guy 7' (pen.) | 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 | Another guy Another guy Another guy Another guy |
In the goals area, you can add:
{{penmiss}} ->
{{penmiss|goalkeeper saved}} ->