User:Timeshifter/Sandbox164

See: Template:mw-datatable

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}}

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

Background colors set for rows.
Return to top.

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

Background colors set for individual cells
Return to top.

This is for testing.

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

Background colors set for individual cells.
Return to top.

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

Template sets colors for individual cells
Return to top.

This is adapted from a version of List of countries by intentional homicide rate. See template: ccolor

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

Template sets colors for individual cells.
Return to top.

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