Difference between revisions of "Template:FootballBoxCollapsible"

From YouthHawk
Jump to: navigation, search
(update)
Line 1: Line 1:
<div class="vevent"><span class="summary" style="display: none;">{{{team1}}} v {{{team2}}}</span>
+
<div><span class="summary" style="display: none;">{{{team1}}} v {{{team2}}}</span>
{| cellspacing=0 class="collapsible collapsed" style="{{#if:{{{nobars|}}} | | border-top:1px solid #999999; border-bottom:1px solid #999999; margin-bottom: -1px;}} width: {{{size|100%}}}; background-color:{{FootballBoxCollapsible{{{competition}}}|result={{{result|}}}|bg={{{bg|}}}}}"  
+
{| cellspacing=0 class="collapsible collapsed" style="{{#if:{{{nobars|}}} | | border-top:1px solid #999999; border-bottom:1px solid #999999; margin-bottom: -1px;}} width: {{{size|100%}}}; background-color:{{FootballBox collapsible|result={{{result|}}}"  
 
|-
 
|-
| width={{#ifeq: {{{format}}}|1|28%|{{#ifeq: {{{format}}}|1.1|22%|{{#ifeq: {{{format}}}|1.2|28%|19%}}}}}} style="vertical-align:top" | <span style="white-space:nowrap;float:right;margin-left:.5em">{{{date}}}</span> {{ #if: {{{round|}}} | <span style="font-size: 85%;">{{{round}}}</span> | }}
+
| width={{#ifeq: {{{format}}}|1|28%|{{#ifeq: {{{format}}}|1.1|22%|{{#ifeq: {{{format}}}|1.2|28%|19%}}}}}} style="vertical-align:top" | <span style="font-size: 85%;white-space:nowrap;float:right;margin-left:.5em">{{{date}}}</span> {{ #if: {{{round|}}} | <span style="font-size: 85%;">{{{round}}}</span> | }}
 
| width={{#ifeq: {{{format}}}|1|19%|{{#ifeq: {{{format}}}|1.1|25%|{{#ifeq: {{{format}}}|1.2|19%|23%}}}}}} style="text-align:right;vertical-align:top" | '''<span class="fn org">{{{team1}}}</span>'''
 
| width={{#ifeq: {{{format}}}|1|19%|{{#ifeq: {{{format}}}|1.1|25%|{{#ifeq: {{{format}}}|1.2|19%|23%}}}}}} style="text-align:right;vertical-align:top" | '''<span class="fn org">{{{team1}}}</span>'''
 
| width={{#ifeq: {{{format}}}|1|8%|{{#ifeq: {{{format}}}|1.1|8%|{{#ifeq: {{{format}}}|1.2|8%|12%}}}}}} style="text-align:center;vertical-align:top" | <span style="white-space:nowrap; display:inline;">'''{{#if: {{{score|}}} | {{{score}}} | v }}'''{{#if:{{{aet|}}}|<span style="font-size:85%"> (aet)</span> }}</span>{{ #if: {{{aggregatescore|}}} | <br><span style="font-size: 85%">('''{{{aggregatescore}}}'''agg)</span> | }}{{ #if: {{{penaltyscore|}}} | <br><span style="font-size:85%">('''{{{penaltyscore}}}''' [[Penalty shoot-out (association football)|p]])</span> | }}
 
| width={{#ifeq: {{{format}}}|1|8%|{{#ifeq: {{{format}}}|1.1|8%|{{#ifeq: {{{format}}}|1.2|8%|12%}}}}}} style="text-align:center;vertical-align:top" | <span style="white-space:nowrap; display:inline;">'''{{#if: {{{score|}}} | {{{score}}} | v }}'''{{#if:{{{aet|}}}|<span style="font-size:85%"> (aet)</span> }}</span>{{ #if: {{{aggregatescore|}}} | <br><span style="font-size: 85%">('''{{{aggregatescore}}}'''agg)</span> | }}{{ #if: {{{penaltyscore|}}} | <br><span style="font-size:85%">('''{{{penaltyscore}}}''' [[Penalty shoot-out (association football)|p]])</span> | }}
Line 41: Line 41:
 
  | referee    =
 
  | referee    =
 
  | report    =
 
  | report    =
 +
| class      =
 
</noinclude>
 
</noinclude>

Revision as of 19:10, 1 June 2017


Usage

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