Template:Rule

From Mises Wiki, the global repository of classical-liberal thought
Jump to: navigation, search

Documentation icon Template documentation[view] [edit] [history] [purge]

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.

Examples

The standard single rule can be produced by {{rule}}:


A double rule can be achieved by {{rule}}{{rule}}:




Width

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

For example, {{rule|width=12em}} and {{rule|12em}} produce:


Similarly, {{rule|width=25%}} and {{rule|25%}} produce:



Alignment

In rare cases where the left or right alignment is required, the align parameter may be used; for example, {{rule|6em|align=left}} produces:



Special style

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