Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.


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

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

Examples

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