Jump to content

Template:CBB schedule entry and Template:CBB schedule entry/sandbox: Difference between pages

(Difference between pages)
Page 1
Page 2
Content deleted Content added
Night mode
 
Remove unnecessary {{ifnotempty}} (there is no whitespace for it to preserve.)
 
Line 1: Line 1:
|- {{#switch: {{lc:{{{status|{{check winner by scores‎|{{{score}}}}}}}} }}
|- {{#switch: {{lc:{{{status|{{check winner by scores‎|{{{score}}}}}}}} }}
| w = style="background:#ddffdd; color: #333;"
| w = style="background:#ddffdd;"
| l = style="background:#ffdddd; color: #333;"
| l = style="background:#ffdddd;"
| c
| c
| p = {{n/a|align=left}} <!-- For postponed and cancelled games -->
| p = {{n/a|align=left}} <!-- For postponed and cancelled games -->
}}
}}
| style="text-align:center;" | {{nowrap|{{{date}}}}}{{#ifeq:{{{nonconf|}}}|yes|&#42;}}<br/>{{nowrap|{{{time|}}}{{#if:{{{tv|}}}|{{#ifeq:{{{tv}}}|&nbsp;||{{ifnotempty|{{{time}}}|,}}{{nbsp}}{{{tv}}}}}}}}}
| style="text-align:center;" | {{nowrap|{{{date}}}}}{{#ifeq:{{{nonconf|}}}|yes|&#42;}}<br/>{{nowrap|{{{time|}}}{{#if:{{{tv|}}}|{{#ifeq:{{{tv}}}|&nbsp;||{{#if:{{{time}}}|,}}{{nbsp}}{{{tv}}}}}}}}}
{{#ifeq:{{{rank|}}}|no||{{!}} style="text-align:center;" {{!}} {{nowrap|{{#if:{{{seed|}}}|({{{seed}}}) }} }} }} {{#ifeq:{{{rank|}}}|no||{{#if:{{{rank|}}}|{{nowrap|No. {{{rank}}} }} }} }}
{{#ifeq:{{{rank|}}}|no||{{!}} style="text-align:center;" {{!}} {{nowrap|{{#if:{{{seed|}}}|({{{seed}}}) }} }} }} {{#ifeq:{{{rank|}}}|no||{{#if:{{{rank|}}}|{{nowrap|No. {{{rank}}} }} }} }}
| {{nowrap|{{#if:{{{away|}}}|at&nbsp;}}{{#if:{{{neutral|}}}|vs.&nbsp;}}{{#if:{{{oppseed|}}}|({{{oppseed}}})&nbsp;}}{{#if:{{{opprank|}}}|No. {{{opprank}}}&nbsp;}}{{nowrap|{{{opponent}}}}}}} {{#if:{{{gamename|}}}|<br/>{{nowrap|<small>''{{{gamename}}}''</small>}}}}
| {{nowrap|{{#if:{{{away|}}}|at&nbsp;}}{{#if:{{{neutral|}}}|vs.&nbsp;}}{{#if:{{{oppseed|}}}|({{{oppseed}}})&nbsp;}}{{#if:{{{opprank|}}}|No. {{{opprank}}}&nbsp;}}{{nowrap|{{{opponent}}}}}}} {{#if:{{{gamename|}}}|<br/>{{nowrap|<small>''{{{gamename}}}''</small>}}}}
| {{#switch: {{lc:{{{status|{{check winner by scores‎|{{{score}}}}}}}} }}
| {{#switch: {{lc:{{{status|{{check winner by scores‎|{{{score}}}}}}}} }}
| c
| c
| p = colspan="{{ifnotempty|{{{highscorer|}}}{{{highrebounder|}}}{{{highassister|}}}|5|2}}" align="center" {{!}} {{{result_details|{{{score|Postponed}}}}}}
| p = colspan="{{#if:{{{highscorer|}}}{{{highrebounder|}}}{{{highassister|}}}|5|2}}" align="center" {{!}} {{{result_details|{{{score|Postponed}}}}}}
| tbd
| tbd
| #default = {{!!}} {{ifnotempty|{{{highscorer|}}}|{{!!}}&nbsp;}} {{ifnotempty|{{{highrebounder|}}}|{{!!}}&nbsp;}} {{ifnotempty|{{{highassister|}}}|{{!!}}&nbsp;}}
| #default = {{!!}} {{#if:{{{highscorer|}}}|{{!!}}}} {{#if:{{{highrebounder|}}}|{{!!}}}} {{#if:{{{highassister|}}}|{{!!}}}}
| w|l|t = '''{{uc:{{{status|{{check winner by scores‎|{{{score}}}}}}}} }}'''&nbsp;{{nowrap|{{{score|}}}}}&nbsp;<sup>{{{overtime|}}}</sup>
| w|l|t = '''{{uc:{{{status|{{check winner by scores‎|{{{score}}}}}}}} }}'''&nbsp;{{nowrap|{{{score|}}}}}&nbsp;<sup>{{{overtime|}}}</sup>
{{!}} style="text-align:center;" {{!}} {{{record}}}<br/>{{#if:{{{conference|}}}|<nowiki>(</nowiki>{{{conference}}}<nowiki>)</nowiki>}}
{{!}} style="text-align:center;" {{!}} {{{record}}}<br/>{{#if:{{{conference|}}}|<nowiki>(</nowiki>{{{conference}}}<nowiki>)</nowiki>}}
{{#if:{{{highscorer|}}}|{{!!}}&nbsp;{{{points}}}{{nbsp}}–{{nbsp}}{{nowrap|{{{highscorer}}}}}&nbsp;}}{{#if:{{{highrebounder|}}}|{{!!}}&nbsp;{{{rebounds}}}{{nbsp}}–{{nbsp}}{{nowrap|{{{highrebounder}}}}}&nbsp;}}{{#if:{{{highassister|}}}|{{!!}}&nbsp;{{{assists}}}{{nbsp}}–{{nbsp}}{{nowrap|{{{highassister}}}}}&nbsp;}}
{{#if:{{{highscorer|}}}|{{!!}}&nbsp;{{{points}}}{{nbsp}}–{{nbsp}}{{nowrap|{{{highscorer}}}}}&nbsp;}}{{#if:{{{highrebounder|}}}|{{!!}}&nbsp;{{{rebounds}}}{{nbsp}}–{{nbsp}}{{nowrap|{{{highrebounder}}}}}&nbsp;}}{{#if:{{{highassister|}}}|{{!!}}&nbsp;{{{assists}}}{{nbsp}}–{{nbsp}}{{nowrap|{{{highassister}}}}}&nbsp;}}
}}
}}
| style="text-align:center;" | {{nowrap|{{{site_stadium}}}}}&nbsp;{{#if:{{{attend|}}}|{{#ifeq:{{{attend}}}|&nbsp;||({{{attend}}})}}}}<br/>{{ifnotempty|{{{site_cityst}}}|{{nowrap|{{{site_cityst}}}}}|{{nbsp}}}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using CBB schedule entry with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:CBB schedule entry]] with unknown parameter "_VALUE_"|ignoreblank=y| assists | attend | away | conference | date | gamename | highassister | highrebounder | highscorer | neutral | nonconf | opponent | opprank | oppseed | overtime | points | rank | rebounds | record | result_details | score | seed | site_cityst | site_stadium | status | time | tv}}<noinclude>
| style="text-align:center;" | {{nowrap|{{{site_stadium}}}}}&nbsp;{{#if:{{{attend|}}}|{{#ifeq:{{{attend}}}|&nbsp;||({{{attend}}})}}}}<br/>{{#if:{{{site_cityst}}}|{{nowrap|{{{site_cityst}}}}}|{{nbsp}}}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using CBB schedule entry with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:CBB schedule entry]] with unknown parameter "_VALUE_"|ignoreblank=y| assists | attend | away | conference | date | gamename | highassister | highrebounder | highscorer | neutral | nonconf | opponent | opprank | oppseed | overtime | points | rank | rebounds | record | result_details | score | seed | site_cityst | site_stadium | status | time | tv}}<noinclude>
{{documentation}}
{{documentation}}
<!-- Add categories to the /doc subpage; interwikis go to Wikidata, thank you! -->
<!-- Add categories to the /doc subpage; interwikis go to Wikidata, thank you! -->