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

提供: ナショナルチーム
ナビゲーションに移動 検索に移動
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%;
|- 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=28% style="font-size:85%|
| width=19% style="text-align:right" class="vcard attendee"|
|width=19% style="text-align:right" class="vcard attendee"|
|width=8% style="text-align:center"|
|width=8% style="text-align:center"|
| 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=19% class="vcard attendee"|
| 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> | }} }}
|width=26% style="font-size:85%"|
|- 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月1日 (土) 15:28時点における版