Langbahn Team – Weltmeisterschaft

Template:Football box collapsible: Difference between revisions

Content deleted Content added
resource-friendlier implementation of {{qhm}}
reduce html size
Line 1: Line 1:
<includeonly><div class="vevent" {{#if:{{{id|}}}|id={{#ifeq:{{str_sub|{{{id}}}|0|1}}|" |{{{id|}}}|"{{{id}}}"}} }}><span class="summary" style="display: none;">{{{team1}}} v {{{team2}}}</span>
<includeonly><div class="vevent" {{#if:{{{id|}}}|id={{#ifeq:{{str_sub|{{{id}}}|0|1}}|" |{{{id|}}}|"{{{id}}}"}} }}><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:{{Football box collapsible/result/{{{competition|default}}}|result={{{result|}}}|bg={{{bg|}}}}}"
{| cellspacing=0 class={{{class|"collapsible collapsed"}}} style="{{#if:{{{nobars|}}} | | border-top:1px solid #999;border-bottom:1px solid #999;margin-bottom:-1px;}}width:{{{size|100%}}};background-color:{{Football box collapsible/result/{{{competition|default}}}|result={{{result|}}}|bg={{{bg|}}}}}"
|- style="vertical-align:top"
|-
| width={{#ifeq: {{{format}}}|1|28%|{{#ifeq: {{{format}}}|1.1|22%|{{#ifeq: {{{format}}}|1.2|28%|19%}}}}}} style="vertical-align:top" | {{ #if: {{{date|}}} | <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%}}}}}} | {{ #if: {{{date|}}} | <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|19%|{{#ifeq: {{{format}}}|1.1|25%|{{#ifeq: {{{format}}}|1.2|19%|23%}}}}}} style="text-align:right;vertical-align:top" class="vcard attendee" | {{#invoke:Football box collapsible teamname|TeamName|team={{{team1}}}}}
| width={{#ifeq: {{{format}}}|1|19%|{{#ifeq: {{{format}}}|1.1|25%|{{#ifeq: {{{format}}}|1.2|19%|23%}}}}}} style="text-align:right" class="vcard attendee" | {{#invoke:Football box collapsible teamname|TeamName|team={{{team1}}}}}
| 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%"> ([[Overtime (sports)#Association football|a.e.t.]])</span> }}</span>{{ #if: {{{aggregatescore|}}} | <br><span style="font-size: 85%">('''{{{aggregatescore}}}''' [[Playoff format#Total points series (aggregate)|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" | <span style="white-space:nowrap;display:inline">'''{{#if: {{{score|}}} | {{{score}}} | v }}'''{{#if:{{{aet|}}}|<span style="font-size:85%"> ([[Overtime (sports)#Association football|a.e.t.]])</span> }}</span>{{ #if: {{{aggregatescore|}}} | <br><span style="font-size: 85%">('''{{{aggregatescore}}}''' [[Playoff format#Total points series (aggregate)|agg.]])</span> | }}{{ #if: {{{penaltyscore|}}} | <br><span style="font-size:85%">('''{{{penaltyscore}}}''' [[Penalty shoot-out (association football)|p]])</span> | }}
| width={{#ifeq: {{{format}}}|1|19%|{{#ifeq: {{{format}}}|1.1|19|{{#ifeq: {{{format}}}|1.2|26%|23%}}}}}} style="vertical-align:top" class="vcard attendee" | {{ #if: {{{team2|}}} | {{#invoke:Football box collapsible teamname|TeamName|team={{{team2}}}}} | }}
| width={{#ifeq: {{{format}}}|1|19%|{{#ifeq: {{{format}}}|1.1|19|{{#ifeq: {{{format}}}|1.2|26%|23%}}}}}} class="vcard attendee" | {{ #if: {{{team2|}}} | {{#invoke:Football box collapsible teamname|TeamName|team={{{team2}}}}} | }}
! width={{#ifeq: {{{format}}}|1|26%|{{#ifeq: {{{format}}}|1.1|26%|{{#ifeq: {{{format}}}|1.2|19%|23%}}}}}} style="text-align:left;vertical-align:top;font-weight:normal" | {{ #if: {{{location|}}} | <span style="font-size:85%;">{{{location}}}</span> | {{ #if: {{{stadium|}}} | <span class="location" style="font-size:85%;">{{{stadium}}}</span> | }} }}
! width={{#ifeq: {{{format}}}|1|26%|{{#ifeq: {{{format}}}|1.1|26%|{{#ifeq: {{{format}}}|1.2|19%|23%}}}}}} style="text-align:left;font-weight:normal;font-size:85%" | {{ #if: {{{location|}}} | {{{location}}} | {{ #if: {{{stadium|}}} | <span class="location">{{{stadium}}}</span> | }} }}
|- style="font-size:85%"
|- style="vertical-align:top;font-size:85%"
| style="vertical-align:top;text-align:right;" | {{{time|}}}
| style="text-align:right" | {{{time|}}}
| style="vertical-align:top;text-align:right;" | {{#ifeq:{{str_sub|{{{goals1}}}|0|1}}|* |{{plainlist|{{#invoke:MultiReplace|main|{{{goals1}}}|%[%[ *([%?-]) *%]%]|%1|%[%[ *[%?-] *{{!}} *(.-) *%]%]|%1}}}} |{{#invoke:MultiReplace|main|{{{goals1|}}}|%[%[ *([%?-]) *%]%]|%1|%[%[ *[%?-] *{{!}} *(.-) *%]%]|%1}}}}
| style="text-align:right" | {{#ifeq:{{str_sub|{{{goals1}}}|0|1}}|* |{{plainlist|{{#invoke:MultiReplace|main|{{{goals1}}}|%[%[ *([%?-]) *%]%]|%1|%[%[ *[%?-] *{{!}} *(.-) *%]%]|%1}}}} |{{#invoke:MultiReplace|main|{{{goals1|}}}|%[%[ *([%?-]) *%]%]|%1|%[%[ *[%?-] *{{!}} *(.-) *%]%]|%1}}}}
| style="vertical-align:top;text-align:center;" | {{#ifeq:{{str_sub|{{{report}}}|0|4}}|http |[{{{report}}} Report] |{{{report|}}}}}
| style="text-align:center" | {{#ifeq:{{str_sub|{{{report}}}|0|4}}|http |[{{{report}}} Report] |{{{report|}}}}}
| style="vertical-align:top;" | {{#ifeq:{{str_sub|{{{goals2}}}|0|1}}|* |{{plainlist|{{#invoke:MultiReplace|main|{{{goals2}}}|%[%[ *([%?-]) *%]%]|%1|%[%[ *[%?-] *{{!}} *(.-) *%]%]|%1}}}} |{{#invoke:MultiReplace|main|{{{goals2|}}}|%[%[ *([%?-]) *%]%]|%1|%[%[ *[%?-] *{{!}} *(.-) *%]%]|%1}}}}
| {{#ifeq:{{str_sub|{{{goals2}}}|0|1}}|* |{{plainlist|{{#invoke:MultiReplace|main|{{{goals2}}}|%[%[ *([%?-]) *%]%]|%1|%[%[ *[%?-] *{{!}} *(.-) *%]%]|%1}}}} |{{#invoke:MultiReplace|main|{{{goals2|}}}|%[%[ *([%?-]) *%]%]|%1|%[%[ *[%?-] *{{!}} *(.-) *%]%]|%1}}}}
| 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> | }}{{#if:{{{assistantreferees|}}}|Assistant referees: {{{assistantreferees}}}<br> | }}{{#if:{{{assistantreferee2|}}}|<span style="visibility:hidden">Assistant referees: </span>{{{assistantreferee2}}}<br> | }}{{#if:{{{fourthofficial|}}}|Fourth official: {{{fourthofficial}}}<br> | }}{{#if:{{{fifthofficial|}}}|Fifth official: {{{fifthofficial}}}<br> | }}{{#if:{{{goallineassistants|}}}|Goal-line assistants: {{{goallineassistants}}} | }}{{#if:{{{goallineassistant2|}}}|<span style="visibility:hidden">Goal-line assistants: </span>{{{goallineassistant2}}} | }}{{#if:{{{motm|}}}|Man of the Match: {{{motm}}}<br> | }}{{#if:{{{mvp|}}}|MVP: {{{mvp}}} | }}
| {{ #if: {{{location|}}} | {{ #if: {{{stadium|}}} | Stadium: <span class="location">{{{stadium}}}</span><br> | }} }} {{ #if: {{{attendance|}}} | Attendance: {{{attendance}}}<br> | }}{{ #if: {{{referee|}}} | Referee: {{{referee}}}<br> | }}{{#if:{{{assistantreferees|}}}|Assistant referees: {{{assistantreferees}}}<br> | }}{{#if:{{{assistantreferee2|}}}|<span style="visibility:hidden">Assistant referees: </span>{{{assistantreferee2}}}<br> | }}{{#if:{{{fourthofficial|}}}|Fourth official: {{{fourthofficial}}}<br> | }}{{#if:{{{fifthofficial|}}}|Fifth official: {{{fifthofficial}}}<br> | }}{{#if:{{{goallineassistants|}}}|Goal-line assistants: {{{goallineassistants}}} | }}{{#if:{{{goallineassistant2|}}}|<span style="visibility:hidden">Goal-line assistants: </span>{{{goallineassistant2}}} | }}{{#if:{{{motm|}}}|Man of the Match: {{{motm}}}<br> | }}{{#if:{{{mvp|}}}|MVP: {{{mvp}}} | }}
| 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}} | {{!}}-
{{!}} rowspan="2" {{!}}&nbsp;
{{!}} rowspan=2 {{!}} &nbsp;
{{!}} &nbsp;
{{!}} &nbsp;
{{!}} style="text-align:center;"{{!}}'''[[Penalty shoot-out (association football){{!}}Penalties]]'''
{{!}} style="text-align:center"{{!}}'''[[Penalty shoot-out (association football)|Penalties]]'''
{{!}}- style="font-size:85%"
{{!}}- style="vertical-align:top;font-size:85%"
{{!}} style="text-align:right;vertical-align:top;"{{!}}{{#ifeq:{{str_sub|{{{penalties1}}}|0|1}}|* |{{plainlist|{{#invoke:MultiReplace|main|{{{penalties1}}}|%[%[ *([%?-]) *%]%]|%1|%[%[ *[%?-] *{{!}} *(.-) *%]%]|%1}}}} |{{#invoke:MultiReplace|main|{{{penalties1|}}}|%[%[ *([%?-]) *%]%]|%1|%[%[ *[%?-] *{{!}} *(.-) *%]%]|%1}}}}
{{!}} style="text-align:right"{{!}}{{#ifeq:{{str_sub|{{{penalties1}}}|0|1}}|* |{{plainlist|{{#invoke:MultiReplace|main|{{{penalties1}}}|%[%[ *([%?-]) *%]%]|%1|%[%[ *[%?-] *{{!}} *(.-) *%]%]|%1}}}} |{{#invoke:MultiReplace|main|{{{penalties1|}}}|%[%[ *([%?-]) *%]%]|%1|%[%[ *[%?-] *{{!}} *(.-) *%]%]|%1}}}}
{{!}} &nbsp;
{{!}} &nbsp;
{{!}} style="vertical-align:top;"{{!}}{{#ifeq:{{str_sub|{{{penalties2}}}|0|1}}|* |{{plainlist|{{#invoke:MultiReplace|main|{{{penalties2}}}|%[%[ *([%?-]) *%]%]|%1|%[%[ *[%?-] *{{!}} *(.-) *%]%]|%1}}}} |{{#invoke:MultiReplace|main|{{{penalties2|}}}|%[%[ *([%?-]) *%]%]|%1|%[%[ *[%?-] *{{!}} *(.-) *%]%]|%1}}}}
{{!}} {{#ifeq:{{str_sub|{{{penalties2}}}|0|1}}|* |{{plainlist|{{#invoke:MultiReplace|main|{{{penalties2}}}|%[%[ *([%?-]) *%]%]|%1|%[%[ *[%?-] *{{!}} *(.-) *%]%]|%1}}}} |{{#invoke:MultiReplace|main|{{{penalties2|}}}|%[%[ *([%?-]) *%]%]|%1|%[%[ *[%?-] *{{!}} *(.-) *%]%]|%1}}}}
| }}
| }}
{{ #ifexpr:{{#if:{{{note|}}}|1|0}} or {{#if:{{{seealso|}}}|1|0}} | {{!}}-
{{ #ifexpr:{{#if:{{{note|}}}|1|0}} or {{#if:{{{seealso|}}}|1|0}} | {{!}}-

Revision as of 23:46, 16 October 2018