Template:Rule/doc

Usage
This template inserts a black horizontal rule. It should be used in transcriptions in preference to wiki syntax "", which inserts a rule but in a lighter colour. Furthermore there can be no certainty that the rendering of "" will not change in the future. Please check for any [X]HTML 5 issues as well.

For example produces

The common case of a double-rule can be achieved by which produces

Template:Double rule may be used as shorthand for this.

Width
A width may optionally be provided, in em or by % in which case a black horizontal rule of that width is centered on the line.

For example and both produce

Height
Height is provided by the named parameter:

Alignment
In rare cases where the left or right alignment is required, the parameter may be used.

Top/bottom margins
If the rule has wider padding around it, this can be set with :

Style
Finally, any desired special HTML styling may be applied through the style parameter.

For example

produces

Redirects

 * Hline