Template:Stripe

From Fleet


The stripe template specifies the color to be used to stripe one or more zebra tables on a page.

Syntax

{{stripe|COLOR|ID}}

where COLOR and ID are both optional.

The default value of COLOR is #bbb     .

If ID is specified, then all zebra tables on the page with id=ID will be affected.

Otherwise, all zebra tables on the page will be affected.

Examples:

{{stripe}} is equivalent to {{stripe|#bbb}}.

Adding {{stripe|green}} to this page resulted in the following zebra table:

<html><style type=text/css> </html> table.zebra<html> tr.stripe { background-color:</html>green<html>;</style> </html>

1
2
3
4

See also