Difference between revisions of "Template:FootballBox"

From YouthHawk
Jump to: navigation, search
(update)
(update)
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">{{{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>
 
|}
 
|}
{| style="float:left; width:61%; table-layout:fixed; text-align:center"
+
{| style="float:left; width:61%; table-layout:fixed; text-align:center; font-size: 90%"
 
|- 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 }}
+
! style="width:22%; text-align:center" | {{#if:{{{score|}}}|{{{score}}}|v }} {{#if:{{{aet|}}}) }}
 
! 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%"
| style="text-align:right" | {{{goals1}}}
+
| style="text-align:right;font-size:100%" | {{{goals1}}}
 
| style="text-align:center" | {{{report}}}
 
| style="text-align:center" | {{{report}}}
| style="text-align:left"   | {{{goals2}}}
+
| style="text-align:left;font-size:100%" | {{{goals2}}}
 
{{#if:{{{penaltyscore|}}}|
 
{{#if:{{{penaltyscore|}}}|
 
{{!}}-
 
{{!}}-
Line 26: Line 26:
 
}}
 
}}
 
|}
 
|}
{| style="float:left; 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>
 
|}
 
|}
 
</div>
 
</div>
  
==Usage==
+
<noinclude>
{{FootballBox
+
== Usage ==
|id          =
+
| date       =  
|date         =
+
| time       =  
|time         =
+
| team1     =  
|event        =
+
| score     =
|round        =
+
| team2     =  
|team1       =
+
| goals1     =
|score       =
+
| goals2     =
|aet          =
+
| penalties1 =  
|report      =
+
| penaltyscore =
|team2       =
+
| penalties2 =
|goals1       =
+
| stadium    =
|goals2       =
+
| attendance =
|stadium      =
+
| referee    =
|attendance  =
+
| report    =
|referee      =
+
</noinclude>
|penalties1  =
+
|penaltyscore =
+
|penalties2  =
+
|size        =
+
|bg          =
+
}}
+

Revision as of 16:16, 1 June 2017

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


Usage

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