Difference between revisions of "Template:FootballBox"

From YouthHawk
Jump to: navigation, search
(update)
(update)
 
(35 intermediate revisions by one user not shown)
Line 1: Line 1:
<div style="width: {{{size|100%}}}; background-color: {{{bg|transparent}}}; clear:both" class="vevent">
+
<div style="background-color: {{{bg|transparent}}}; clear:both" class="vevent">
 
{{#if:{{{event|}}}|
 
{{#if:{{{event|}}}|
 
<div style="text-align: center">'''{{{event}}}'''</div>
 
<div style="text-align: center">'''{{{event}}}'''</div>
 
}}<span class="summary" style="display: none;">{{{team1}}} v {{{team2}}}</span>
 
}}<span class="summary" style="display: none;">{{{team1}}} v {{{team2}}}</span>
{| style="float:left; width:15%; table-layout:fixed"
+
{| style="float:left; width:15%;"
 
|<div style="text-align:right;font-size:85%">{{{date}}}<br />{{#if:{{{time|}}}|{{{time}}}<br />| }}{{#if:{{{round|}}}|{{{round}}} }}</div>
 
|<div style="text-align:right;font-size:85%">{{{date}}}<br />{{#if:{{{time|}}}|{{{time}}}<br />| }}{{#if:{{{round|}}}|{{{round}}} }}</div>
 
|}
 
|}
Line 9: Line 9:
 
|- style="vertical-align:top"
 
|- style="vertical-align:top"
 
! style="width:39%; text-align:right" | <span class="fn org">{{{team1}}}</span>
 
! style="width:39%; text-align:right" | <span class="fn org">{{{team1}}}</span>
! style="width:22%; text-align:center" | {{#if:{{{score|}}}|{{{score}}}|v }} {{#if:{{{aet|}}}) }}
+
! style="width:22%; text-align:center" | {{#if:{{{score|}}}|{{{score}}}|v }}
 
! style="width:39%; text-align:left" | <span class="fn org">{{{team2}}}</span>
 
! style="width:39%; text-align:left" | <span class="fn org">{{{team2}}}</span>
 
|- style="vertical-align:top;font-size:85%"
 
|- style="vertical-align:top;font-size:85%"
Line 26: Line 26:
 
}}
 
}}
 
|}
 
|}
{| style="width:24%; table-layout:fixed"
+
{| style="float:left; width:24%;"
 
|<div style="font-size: 85%">{{#if:{{{stadium|}}}|<span class="location">{{{stadium}}}</span> }}{{#if:{{{attendance|}}}|<br />Attendance: {{{attendance}}}}}{{#if:{{{referee|}}}|<br />Referee: {{{referee}}} }}</div>
 
|<div style="font-size: 85%">{{#if:{{{stadium|}}}|<span class="location">{{{stadium}}}</span> }}{{#if:{{{attendance|}}}|<br />Attendance: {{{attendance}}}}}{{#if:{{{referee|}}}|<br />Referee: {{{referee}}} }}</div>
|}
+
|}{{clear}}
 +
</div>
  
 
<noinclude>
 
<noinclude>
Line 36: Line 37:
 
  | team1      =  
 
  | team1      =  
 
  | score      =
 
  | score      =
 +
| extratime  =
 
  | team2      =  
 
  | team2      =  
 
  | goals1    =
 
  | goals1    =

Latest revision as of 17:48, 27 January 2018

{{{date}}}
{{{team1}}} v {{{team2}}}
{{{goals1}}} {{{report}}} {{{goals2}}}


Usage

| date       = 
| time       = 
| team1      = 
| score      =
| extratime  =
| team2      = 
| goals1     =
| goals2     =
| penalties1 = 
| penaltyscore =
| penalties2 =
| stadium    =
| attendance =
| referee    =
| report     =