User:Timeshifter/Sandbox177


 * Note to other users: Please do not edit this page except in preview mode. Use your own sandboxes.

See also:
 * Templates for_discussion/Log/2022 June 19
 * User:Timeshifter/Sandbox152
 * Template talk:Static row numbers
 * T284802: class=mw-datatable should not override the inline background colors set for specific table rows.
 * T287997: Community expectation that mw-datatable styles are loaded on pages which use it

Background colors set for rows
Return to top.

This table excerpt is from the "Top scorers" section of this version of Denmark men's national handball team. It is common in many sport statistics tables to add a background color to some of the rows. In this table excerpt {{legend|#CFECEC|still active national team players are highlighted|border=#AAAAAA}}

Without Template:mw-datatable
Return to top.

{| class="wikitable sortable static-row-numbers" style=text-align:center

With Template:mw-datatable and class=mw-datatable
Return to top.

{| class="wikitable sortable static-row-numbers mw-datatable" style=text-align:center

With Template:mw-datatable and class=mw-datatable
Return to top.

{| class="wikitable sortable static-row-numbers mw-datatable" style=text-align:center

Background colors set for individual cells
Return to top.

Without Template:mw-datatable
Return to top.

{| class="wikitable sortable static-row-numbers" style=text-align:center

With Template:mw-datatable and class=mw-datatable
Return to top.

{| class="wikitable sortable static-row-numbers mw-datatable" style=text-align:center

With Template:mw-datatable and class=mw-datatable
Return to top.

{| class="wikitable sortable static-row-numbers mw-datatable" style=text-align:center

Template sets colors for individual cells
Return to top.

These tables are adapted from versions of List of countries by intentional homicide rate. See template: ccolor

Without Template:mw-datatable
Return to top.

{| class="wikitable sortable static-row-numbers sort-under" style=text-align:right

{| class="wikitable sortable static-row-numbers" style=text-align:right

With Template:mw-datatable and class=mw-datatable
Return to top.

{| class="wikitable sortable static-row-numbers sort-under mw-datatable" style=text-align:right

{| class="wikitable sortable static-row-numbers mw-datatable" style=text-align:right

With Template:mw-datatable and class=mw-datatable
Return to top.

{| class="wikitable sortable static-row-numbers sort-under mw-datatable" style=text-align:right

{| class="wikitable sortable static-row-numbers mw-datatable" style=text-align:right