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- Bar height in pixels (optional). If this is omitted, the bar height will be four pixels.
Examples
edit{{RainbowBar|8}}
produces the bar seen above.<div style="width:300px;">{{RainbowBar}}</div>
produces the following 4×300 pixel bar: