「テンプレート:Football box」の版間の差分

提供: ナショナルチーム
ナビゲーションに移動 検索に移動
 
(同じ利用者による、間の182版が非表示)
1行目: 1行目:
{| cellspacing=0 style="border-top:1px solid #999; border-bottom:1px solid #999; margin-bottom:-1px; width:100%;
{|cellspacing=0 style="border-top:1px solid #999;border-bottom:1px solid #999;margin-bottom:-1px; width:100%; font-size:13px; background-color:{{#switch:{{{result}}}|W=#BBF3BB|D=#FFFFBB|L=#FFBBBB}}"
|- style="vertical-align:top"
|- style="vertical-align:top"
| 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=3%|{{{1|}}}
| 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=28%|<div style="white-space:nowrap;float:right;margin-left:.2em">{{{3|}}}</div><div style="font-size:80%">{{{2|}}}</div>
| width={{#ifeq: {{{format}}}|1|8%|{{#ifeq: {{{format}}}|1.1|8%|{{#ifeq: {{{format}}}|1.2|8%|12%}}}}}} style="text-align:center" | {{br separated entries
|width=19% style="text-align:right;font-weight:bold"|{{{4|}}}
|1=<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>
|width=7% style="text-align:center;white-space:nowrap;font-weight:bold"|{{{5|}}}
|2={{ #if: {{{aggregatescore|}}} |<span style="font-size: 85%">('''{{{aggregatescore}}}''' [[Playoff format#Total points series (aggregate)|agg.]])</span>}}
|width=19% style="font-weight:bold;"|{{{6|}}}
|3={{ #if: {{{penaltyscore|}}} |<span style="font-size:85%">('''{{{penaltyscore}}}''' [[Penalty shoot-out (association football)|p]])</span>}}
|width=24% style="font-size:90%"|{{{7|}}}
}}
| 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="font-size:85%" | {{ #if: {{{location|}}} | {{{location}}} | {{ #if: {{{stadium|}}} | <span class="location">{{{stadium}}}</span> | }} }}
|- style="vertical-align:top;font-size:85%"
| style="text-align:right" | {{{time|}}}
| style="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:center" | {{#ifeq:{{str_sub|{{{report}}}|0|4}}|http |[{{{report}}} Report] |{{{report|}}}}}
| {{#ifeq:{{str_sub|{{{goals2}}}|0|1}}|* |{{plainlist|{{#invoke:MultiReplace|main|{{{goals2}}}|%[%[ *([%?-]) *%]%]|%1|%[%[ *[%?-] *{{!}} *(.-) *%]%]|%1}}}} |{{#invoke:MultiReplace|main|{{{goals2|}}}|%[%[ *([%?-]) *%]%]|%1|%[%[ *[%?-] *{{!}} *(.-) *%]%]|%1}}}}
| {{br separated entries
| 1={{#if:{{{location|}}}| {{ #if: {{{stadium|}}} | Stadium: <span class="location">{{{stadium}}}</span>}} }}
| 2={{#if:{{{attendance|}}}| Attendance: {{{attendance}}}}}
| 3={{#if:{{{referee|}}}| Referee: {{{referee}}}}}
| 4={{#if:{{{assistantreferees|}}}|Assistant referees: {{{assistantreferees}}}}}
| 5={{#if:{{{assistantreferee2|}}}|<span style="visibility:hidden">Assistant referees: </span>{{{assistantreferee2}}}}}
| 6={{#if:{{{fourthofficial|}}}|Fourth official: {{{fourthofficial}}}}}
| 7={{#if:{{{fifthofficial|}}}|Fifth official: {{{fifthofficial}}}}}
| 8={{#if:{{{goallineassistants|}}}|Goal-line assistants: {{{goallineassistants}}}}}
| 9={{#if:{{{goallineassistant2|}}}|<span style="visibility:hidden">Goal-line assistants: </span>{{{goallineassistant2}}}}}
|10={{#if:{{{motm|}}}|Man of the Match: {{{motm}}}}}
|11={{#if:{{{mvp|}}}|MVP: {{{mvp}}}}}
}}
}}
|}
|}

2022年10月4日 (火) 02:43時点における最新版