Template talk:Infobox game score

(Redirected from Template talk:Infobox game score/doc)
Latest comment: 1 month ago by Bbb2007 in topic Text not visible in dark mode

Template-protected edit request on 23 October 2021

edit

I'd like to add support for eighth and ninth overtimes (for example, at 2021 Illinois vs. Penn State football game, a nine-overtime game) by adding the following.

After {{ #if:{{{teama_OT7period|}}}{{{teamb_OT7period|}}}| <th style="text-align:center; width: {{{width|25px}}}; vertical-align: bottom">{{#if:{{{label_OT7period|}}}|{{{label_OT7period}}}|7OT}}</th> }}

Add {{ #if:{{{teama_OT8period|}}}{{{teamb_OT8period|}}}| <th style="text-align:center; width: {{{width|25px}}}; vertical-align: bottom">{{#if:{{{label_OT8period|}}}|{{{label_OT8period}}}|8OT}}</th> }} {{ #if:{{{teama_OT9period|}}}{{{teamb_OT9period|}}}| <th style="text-align:center; width: {{{width|25px}}}; vertical-align: bottom">{{#if:{{{label_OT9period|}}}|{{{label_OT9period}}}|9OT}}</th> }}


After {{ #if:{{{teama_OT7period|}}}{{{teamb_OT7period|}}}| <td style="text-align:center; background:#efefef">{{#if:{{{teama_OT7period|}}}|{{{teama_OT7period}}}|0}}</td> }}

Add {{ #if:{{{teama_OT8period|}}}{{{teamb_OT8period|}}}| <td style="text-align:center; background:#efefef">{{#if:{{{teama_OT8period|}}}|{{{teama_OT8period}}}|0}}</td> }} {{ #if:{{{teama_OT9period|}}}{{{teamb_OT9period|}}}| <td style="text-align:center; background:#efefef">{{#if:{{{teama_OT9period|}}}|{{{teama_OT9period}}}|0}}</td> }}


Change {{#if:{{{teama_total|}}} |{{{teama_total|}}} |{{#expr:{{#if:{{{teama_1period|}}}|{{{teama_1period}}}|0}}+{{#if:{{{teama_2period|}}}|{{{teama_2period}}}|0}}+{{#if:{{{teama_3period|}}}|{{{teama_3period}}}|0}}+{{#if:{{{teama_4period|}}}|{{{teama_4period}}}|0}}+{{#if:{{{teama_OTperiod|}}}|{{{teama_OTperiod}}}|0}}+{{#if:{{{teama_OT2period|}}}|{{{teama_OT2period}}}|0}}+{{#if:{{{teama_OT3period|}}}|{{{teama_OT3period}}}|0}}+{{#if:{{{teama_OT4period|}}}|{{{teama_OT4period}}}|0}}+{{#if:{{{teama_OT5period|}}}|{{{teama_OT5period}}}|0}}+{{#if:{{{teama_OT6period|}}}|{{{teama_OT6period}}}|0}}+{{#if:{{{teama_OT7period|}}}|{{{teama_OT7period}}}|0}} }} }}

to {{#if:{{{teama_total|}}} |{{{teama_total|}}} |{{#expr:{{#if:{{{teama_1period|}}}|{{{teama_1period}}}|0}}+{{#if:{{{teama_2period|}}}|{{{teama_2period}}}|0}}+{{#if:{{{teama_3period|}}}|{{{teama_3period}}}|0}}+{{#if:{{{teama_4period|}}}|{{{teama_4period}}}|0}}+{{#if:{{{teama_OTperiod|}}}|{{{teama_OTperiod}}}|0}}+{{#if:{{{teama_OT2period|}}}|{{{teama_OT2period}}}|0}}+{{#if:{{{teama_OT3period|}}}|{{{teama_OT3period}}}|0}}+{{#if:{{{teama_OT4period|}}}|{{{teama_OT4period}}}|0}}+{{#if:{{{teama_OT5period|}}}|{{{teama_OT5period}}}|0}}+{{#if:{{{teama_OT6period|}}}|{{{teama_OT6period}}}|0}}+{{#if:{{{teama_OT7period|}}}|{{{teama_OT7period}}}|0}}+{{#if:{{{teama_OT8period|}}}|{{{teama_OT8period}}}|0}}+{{#if:{{{teama_OT9period|}}}|{{{teama_OT9period}}}|0}} }} }}


After {{ #if:{{{teama_OT7period|}}}{{{teamb_OT7period|}}}| <td style="text-align:center; background:#efefef">{{#if:{{{teamb_OT7period|}}}|{{{teamb_OT7period}}}|0}}</td> }}

Add After {{ #if:{{{teama_OT8period|}}}{{{teamb_OT8period|}}}| <td style="text-align:center; background:#efefef">{{#if:{{{teamb_OT8period|}}}|{{{teamb_OT8period}}}|0}}</td> }} {{ #if:{{{teama_OT7period|}}}{{{teamb_OT9period|}}}| <td style="text-align:center; background:#efefef">{{#if:{{{teamb_OT9period|}}}|{{{teamb_OT9period}}}|0}}</td> }}


Change {{#if:{{{teamb_total|}}} |{{{teamb_total|}}} |{{#expr:{{#if:{{{teamb_1period|}}}|{{{teamb_1period}}}|0}}+{{#if:{{{teamb_2period|}}}|{{{teamb_2period}}}|0}}+{{#if:{{{teamb_3period|}}}|{{{teamb_3period}}}|0}}+{{#if:{{{teamb_4period|}}}|{{{teamb_4period}}}|0}}+{{#if:{{{teamb_OTperiod|}}}|{{{teamb_OTperiod}}}|0}}+{{#if:{{{teamb_OT2period|}}}|{{{teamb_OT2period}}}|0}}+{{#if:{{{teamb_OT3period|}}}|{{{teamb_OT3period}}}|0}}+{{#if:{{{teamb_OT4period|}}}|{{{teamb_OT4period}}}|0}}+{{#if:{{{teamb_OT5period|}}}|{{{teamb_OT5period}}}|0}}+{{#if:{{{teamb_OT6period|}}}|{{{teamb_OT6period}}}|0}}+{{#if:{{{teamb_OT7period|}}}|{{{teamb_OT7period}}}|0}} }} }}

to {{#if:{{{teamb_total|}}} |{{{teamb_total|}}} |{{#expr:{{#if:{{{teamb_1period|}}}|{{{teamb_1period}}}|0}}+{{#if:{{{teamb_2period|}}}|{{{teamb_2period}}}|0}}+{{#if:{{{teamb_3period|}}}|{{{teamb_3period}}}|0}}+{{#if:{{{teamb_4period|}}}|{{{teamb_4period}}}|0}}+{{#if:{{{teamb_OTperiod|}}}|{{{teamb_OTperiod}}}|0}}+{{#if:{{{teamb_OT2period|}}}|{{{teamb_OT2period}}}|0}}+{{#if:{{{teamb_OT3period|}}}|{{{teamb_OT3period}}}|0}}+{{#if:{{{teamb_OT4period|}}}|{{{teamb_OT4period}}}|0}}+{{#if:{{{teamb_OT5period|}}}|{{{teamb_OT5period}}}|0}}+{{#if:{{{teamb_OT6period|}}}|{{{teamb_OT6period}}}|0}}+{{#if:{{{teamb_OT7period|}}}|{{{teamb_OT7period}}}|0}}+{{#if:{{{teamb_OT8period|}}}|{{{teamb_OT8period}}}|0}}+{{#if:{{{teamb_OT9period|}}}|{{{teamb_OT9period}}}|0}} }} }}

As far as I can tell, this would change the template to support 8OT and 9OT games. Thank you. PCN02WPS (talk | contribs) 22:03, 23 October 2021 (UTC)Reply

  Done * Pppery * it has begun... 23:17, 23 October 2021 (UTC)Reply

Template-protected edit request on 23 October 2021 (2)

edit

Add 8OT and 9OT per the recent 2021 Illinois vs. Penn State football game. KingSkyLord (talk | contribs) 22:31, 23 October 2021 (UTC)Reply

  Not done Duplicate request * Pppery * it has begun... 22:58, 23 October 2021 (UTC)Reply

Text not visible in dark mode

edit

The text colour does not invert to white when using dark mode so the score box appears blank when used with templates such as Template:Infobox American football game and Template:Infobox rugby league football match. Bbb2007 (talk) 19:08, 18 August 2024 (UTC)Reply