Difference between revisions of "Template:FootballBoxCollapsible"
From YouthHawk
(update) |
(update) |
||
Line 1: | Line 1: | ||
<div class="vevent"><span class="summary" style="display: none;">{{{team1}}} v {{{team2}}}</span> | <div class="vevent"><span class="summary" style="display: none;">{{{team1}}} v {{{team2}}}</span> | ||
− | {| cellspacing=0 class={{{class|"collapsible collapsed"}}} style="{{#if:{{{nobars|}}} | | border-top:1px solid #999999; border-bottom:1px solid #999999; margin-bottom: -1px;}} width: {{{size|100%}}}; background-color:{{{result|}}}|bg={{{bg|}}}" | + | {| cellspacing=0 class={{{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|}}}}}" |
|- | |- | ||
| 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="white-space:nowrap;float:right;margin-left:.5em">{{{date}}}</span> {{ #if: {{{round|}}} | <span style="font-size: 85%;">{{{round}}}</span> | }} | ||
Line 12: | Line 12: | ||
| style="vertical-align:top;text-align:center;" | {{{report|}}} | | style="vertical-align:top;text-align:center;" | {{{report|}}} | ||
| style="vertical-align:top;" | {{{goals2|}}} | | style="vertical-align:top;" | {{{goals2|}}} | ||
− | | style="vertical-align:top;" | {{ #if: {{{location|}}} | {{ #if: {{{stadium|}}} | Stadium: <span class="location">{{{stadium}}}</span><br> | }} }} {{ #if: {{{attendance|}}} | Attendance: {{{attendance}}}<br> | }}{{ #if: {{{referee|}}} | Referee: {{{referee}}}<br> | + | | style="vertical-align:top;" | {{ #if: {{{location|}}} | {{ #if: {{{stadium|}}} | Stadium: <span class="location">{{{stadium}}}</span><br> | }} }} {{ #if: {{{attendance|}}} | Attendance: {{{attendance}}}<br> | }}{{ #if: {{{referee|}}} | Referee: {{{referee}}}<br> | }} |
| style="display:none" | <!-- fix for empty line --> | | style="display:none" | <!-- fix for empty line --> | ||
{{ #ifexpr:{{#if:{{{penalties1|}}}|1|0}} or {{#if:{{{penalties2|}}}|1|0}} | {{!}}- | {{ #ifexpr:{{#if:{{{penalties1|}}}|1|0}} or {{#if:{{{penalties2|}}}|1|0}} | {{!}}- |
Revision as of 18:33, 1 June 2017
{{{date}}} | {{{team1}}} | v | {{{team2}}} | {{{stadium}}} |
---|---|---|---|---|
Usage
| date = | time = | team1 = | score = | team2 = | goals1 = | goals2 = | penalties1 = | penaltyscore = | penalties2 = | stadium = | attendance = | referee = | report =