Jump to content

Template:Badmintonbox2: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Use startswith function, general code tidy
rm unnecessary explicitly defined background color to support dark mode
Line 1: Line 1:
<div style="width: {{{size|100%}}}; background-color: {{{bg|transparent}}}; clear:both" class="vevent" {{#if:{{{id|}}}|id={{#if:{{#invoke:string2|startswith|{{{id}}}|"}}|{{{id|}}}|"{{{id}}}"}} }}><span class="summary" style="display: none;">{{{team1}}} v {{{team2}}}</span>
<div style="width: {{{size|100%}}}; background-color: {{{bg}}}; clear:both" class="vevent" {{#if:{{{id|}}}|id={{#if:{{#invoke:string2|startswith|{{{id}}}|"}}|{{{id|}}}|"{{{id}}}"}} }}><span class="summary" style="display: none;">{{{team1}}} v {{{team2}}}</span>
{| style="float:left; width:15%; table-layout:fixed"
{| style="float:left; width:15%; table-layout:fixed"
|<div style="text-align:right">{{{date}}}<br />{{{time|}}}</div>
|<div style="text-align:right">{{{date}}}<br />{{{time|}}}</div>

Revision as of 12:35, 1 May 2024

{{{date}}}
v