Difference between revisions of "Template:CBB game log section entry/sandbox"
Jump to navigation
Jump to search
imported>McVahl (align updates from base) |
imported>McVahl (sync) |
||
| Line 12: | Line 12: | ||
{{#ifeq:{{{rank|}}}|no||{{!}} {{nowrap|{{#if:{{{seed|}}}|(#{{{seed}}}) }} }} }} {{#ifeq:{{{rank|}}}|no||{{#if:{{{rank|}}}|{{nowrap|№ {{{rank}}} }} }} }} | {{#ifeq:{{{rank|}}}|no||{{!}} {{nowrap|{{#if:{{{seed|}}}|(#{{{seed}}}) }} }} }} {{#ifeq:{{{rank|}}}|no||{{#if:{{{rank|}}}|{{nowrap|№ {{{rank}}} }} }} }} | ||
| align="left"|{{#if:{{{away|}}}|at }}{{#if:{{{neutral|}}}|vs. }}{{#if:{{{oppseed|}}}|(#{{{oppseed}}}) }}{{#if:{{{opprank|}}}|№ {{{opprank}}} }}{{nowrap|{{{opponent}}}}} {{#if:{{{gamename|}}}|<br/>{{nowrap|<small>''{{{gamename}}}''</small>}}}} | | align="left"|{{#if:{{{away|}}}|at }}{{#if:{{{neutral|}}}|vs. }}{{#if:{{{oppseed|}}}|(#{{{oppseed}}}) }}{{#if:{{{opprank|}}}|№ {{{opprank}}} }}{{nowrap|{{{opponent}}}}} {{#if:{{{gamename|}}}|<br/>{{nowrap|<small>''{{{gamename}}}''</small>}}}} | ||
| − | {{#switch: {{lc:{{{status|}}}}} | + | {{#switch: {{lc:{{{score|{{{status|tbd}}}}}}}} |
| 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}}}'' | ||
| + | | tbd = {{!}} colspan="5" {{!}} {{TBD}} | ||
| #default = {{!}} align="left" {{!}} {{#switch: {{lc:{{{status|}}}}} | | #default = {{!}} align="left" {{!}} {{#switch: {{lc:{{{status|}}}}} | ||
| − | | w | win = '''W''' | + | | w | win = '''W''' {{!!}} {{replace|{{{record|}}}|-|–}} |
| − | | l | loss = '''L''' | + | | l | loss = '''L''' {{!!}} {{replace|{{{record|}}}|-|–}} |
| − | | #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> }} | + | | #default = {{#iferror:{{#ifexpr:{{str number/trim|{{{score}}}}} > {{str right|{{{score}}}|{{strfind short|{{{score}}}|{{#ifexpr:{{str find|{{{score}}}|-}}>0|-|–}}}}}} |
| − | {{!}} {{replace|{{{record|}}}|-|–}} | + | | <span style="display:inline-block; width:1em">'''W'''</span> |
| + | | <span style="display:inline-block; width:1em">'''L'''</span>}} {{ifnotempty|{{{boxscore|}}}|[{{{boxscore}}} {{replace|{{{score}}}|-|–}}]|{{replace|{{{score}}}|-|–}} }}<sup>{{{overtime|}}}</sup> | ||
| + | | <!-- parse error --> }} | ||
| + | {{!}} {{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}}})}} }} | ||
| {{{site_stadium}}}<noinclude> | | {{{site_stadium}}}<noinclude> | ||
| − | {{ | + | {{end}} |
{{Game log end}} | {{Game log end}} | ||
{{documentation|content= | {{documentation|content= | ||
Revision as of 08:02, 4 June 2020
| ||||||||||||||||||||
| 50px | This is the template sandbox page for Template:CBB game log section entry (diff). See also the companion subpage for test cases. |
| Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Subpages of this template. |