Difference between revisions of "Template:CBB game log section entry/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>McVahl
imported>McVahl
(utilize Template:N/a)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>{{Game log start|title=}}
 
<noinclude>{{Game log start|title=}}
 
{{CBB game log section header|format=compact|first=yes}}
 
{{CBB game log section header|format=compact|first=yes}}
</noinclude>|-{{#switch: {{lc:{{{status|}}}}}
+
</noinclude>|-{{#switch: {{lc:{{{status|{{check winner by scores|sc={{{score}}}}} }}}}}
 
   | c | cancelled
 
   | c | cancelled
   | p | postponed = style="background:#cccccc;"
+
   | p | postponed = {{n/a|}}
 
   | w | win  = style="background:#ddffdd;"
 
   | w | win  = style="background:#ddffdd;"
 
   | l | loss = style="background:#ffdddd;"
 
   | l | loss = style="background:#ffdddd;"
  | #default = {{#iferror:{{#ifexpr:{{str number/trim|{{{score|}}}}} > {{str right|{{{score|}}}|{{strfind short|{{{score}}}|{{#ifexpr:{{str find|{{{score|}}}|-}}>0|-|–}}}}}} | style="background:#ddffdd;" | style="background:#ffdddd;" }} | <!-- default: no background --> }}
 
 
}}
 
}}
 
| {{{game|1}}}
 
| {{{game|1}}}
| {{{date}}} • {{{time}}}
+
| {{{date}}}{{ifnotempty|{{{time|}}}| • {{{time}}}}}{{#ifeq:{{{nonconf|}}}|yes|&#42;}}
 
{{#ifeq:{{{rank|}}}|no||{{!}} {{nowrap|{{#if:{{{seed|}}}|(#{{{seed}}}) }} }} }} {{#ifeq:{{{rank|}}}|no||{{#if:{{{rank|}}}|{{nowrap|&#8470; {{{rank}}} }} }} }}
 
{{#ifeq:{{{rank|}}}|no||{{!}} {{nowrap|{{#if:{{{seed|}}}|(#{{{seed}}}) }} }} }} {{#ifeq:{{{rank|}}}|no||{{#if:{{{rank|}}}|{{nowrap|&#8470; {{{rank}}} }} }} }}
 
| align="left"|{{#if:{{{away|}}}|at&nbsp;}}{{#if:{{{neutral|}}}|vs.&nbsp;}}{{#if:{{{oppseed|}}}|(#{{{oppseed}}})&nbsp;}}{{#if:{{{opprank|}}}|&#8470; {{{opprank}}}&nbsp;}}{{nowrap|{{{opponent}}}}} {{#if:{{{gamename|}}}|<br/>{{nowrap|<small>''{{{gamename}}}''</small>}}}}
 
| align="left"|{{#if:{{{away|}}}|at&nbsp;}}{{#if:{{{neutral|}}}|vs.&nbsp;}}{{#if:{{{oppseed|}}}|(#{{{oppseed}}})&nbsp;}}{{#if:{{{opprank|}}}|&#8470; {{{opprank}}}&nbsp;}}{{nowrap|{{{opponent}}}}} {{#if:{{{gamename|}}}|<br/>{{nowrap|<small>''{{{gamename}}}''</small>}}}}
{{#switch: {{lc:{{{status|}}}}}
+
{{#switch: {{lc:{{{status|{{check winner by scores|sc={{{score}}}}} }}}}}
   | c | cancelled = {{!}} colspan="5" {{!}} ''{{{status_detail|Cancelled}}}''
+
   | c | cancelled = {{!}} colspan="5" {{!}} {{{status_detail|Cancelled}}}
   | p | postponed = {{!}} colspan="5" {{!}} ''{{{status_detail|Postponed}}}''
+
   | p | postponed = {{!}} colspan="5" {{!}} {{{status_detail|Postponed}}}
   | #default = {{!}} align="left" {{!}} {{#switch: {{lc:{{{status|}}}}}
+
   | w | win
      | w | win  = '''W'''
+
  | l | loss = {{!}} align="left" {{!}} <span style="display:inline-block; width:1em">'''{{uc:{{str index|{{{status|{{check winner by scores|sc={{{score}}}}}}}}|1}}}}'''</span> {{ifnotempty|{{{score|}}}|{{ifnotempty|{{{boxscore|}}}|[{{{boxscore}}} {{replace|{{{score}}}|-|–}}]|{{replace|{{{score}}}|-|–}}}}{{ifnotempty|{{{overtime|}}}|<sup>{{{overtime}}}</sup>}}}}
      | l | loss = '''L'''
 
      | #default = {{#iferror:{{#ifexpr:{{str number/trim|{{{score}}}}} > {{str right|{{{score}}}|{{strfind short|{{{score}}}|{{#ifexpr:{{str find|{{{score}}}|-}}>0|-|–}}}}}} | <span style="display:inline-block; width:1em">'''W'''</span> | <span style="display:inline-block; width:1em">'''L'''</span> }}|}} {{ifnotempty|{{{score|}}}|{{ifnotempty|{{{boxscore|}}}|[{{{boxscore}}} {{replace|{{{score}}}|-|–}}]|{{replace|{{{score}}}|-|–}}}}|{{TBD}} }}<sup>{{{overtime|}}}</sup>}}
 
 
{{!}} {{replace|{{{record|}}}|-|–}}
 
{{!}} {{replace|{{{record|}}}|-|–}}
 
{{!}} {{{highscorer|}}} {{ifnotempty|{{{points|}}}|({{{points}}})}}
 
{{!}} {{{highscorer|}}} {{ifnotempty|{{{points|}}}|({{{points}}})}}
 
{{!}} {{{highrebounder|}}} {{ifnotempty|{{{rebounds|}}}|({{{rebounds}}})}}
 
{{!}} {{{highrebounder|}}} {{ifnotempty|{{{rebounds|}}}|({{{rebounds}}})}}
{{!}} {{{highassister|}}} {{ifnotempty|{{{assists|}}}|({{{assists}}})}} }}
+
{{!}} {{{highassister|}}} {{ifnotempty|{{{assists|}}}|({{{assists}}})}}
 +
  | tbd
 +
  | #default =  {{!}} colspan="5" {{!}} {{TBD}}
 +
}}
 
| {{{site_stadium}}}<noinclude>
 
| {{{site_stadium}}}<noinclude>
{{Game log section end}}
+
{{end}}
 
{{Game log end}}
 
{{Game log end}}
{{documentation|Template:CBB game log start/doc}}
+
{{documentation|content=
 +
== Related sandboxes ==
 +
* {{tltt|CBB game log start/sandbox}}
 +
* {{tltt|CBB game log section header/sandbox}}
 +
* {{tltt|CBB game log end/sandbox}}}}
 
</noinclude>
 
</noinclude>

Latest revision as of 14:11, 5 June 2020

{{{2}}}
Game Date • Time Rank Opponent Result Record High points High rebounds High assists Location
1 {{{date}}} {{{opponent}}} Template:TBD {{{site_stadium}}}
50px Template documentation

Related sandboxes