Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a224966a1f6a725b

Jump to content

Template:Alternating rows table/doc

From Wikipedia, the free encyclopedia

This template may be used to generate a table with alternating row shading.

Usage

[edit]
{{alternating rows table|class=wikitable}}
! Number !! Cell name
|-
| 1 || Cell 1
|-
| 2 || Cell 2
|-
| 3 || Cell 3
|-
| 4 || Cell 4
|-
{{end}}
NumberCell name
1Cell 1
2Cell 2
3Cell 3
4Cell 4

Parameters

[edit]

The default class is |class=wikitable, for a sortable table, use |class=wikitable sortable.

Known issues

[edit]

Background color on rows will look off if one of the cells spans multiple rows (ex. rowspan="2"). If the table is sortable, then this gets fixed once sorted since sortable collapses row spans.

See also

[edit]