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.

Jump to content

Template:RainbowBar

From Wikipedia, the free encyclopedia

This template creates a rectangular bar filled with a rainbow gradient. The bar width is equal to that of its container html. The height of the bar may be specified as a template parameter.

Parameters

[edit]
  1. Bar height in pixels (optional). If this is omitted, the bar height will be four pixels.

Examples

[edit]
  1. {{RainbowBar|8}} produces the bar seen above.
  2. <div style="width:300px;">{{RainbowBar}}</div> produces the following 4×300 pixel bar: