Template:Double rule
Appearance
Adds two {{rule}} templates, supporting all {{rule}} parameters.
Usage
[edit]{{double rule}}
produces:
Width
[edit]The first unnamed parameter (or |width=) specifies the width of both rules:
{{double rule|12em}}
produces:
The widths of the first and second rule can also be set separately with the |width1= and |width2=) parameters.
Height
[edit]The second and third unnamed parameters (or |height1= and |height2=) specify the heights of the first and second rules respectively:
{{double rule|12em|1px|3px}}
produces:
Alternatively, both heights can be set to the same value with the |height= parameter.
Other parameters
[edit]All other {{rule}} parameters can be set either for both rules at once using the same parameter name as {{rule}}, or for the first or second rule only, by adding 1 or 2 after the parameter name:
|class=,|class1=,|class2=|color=,|color1=,|color2=|align=,|align1=,|align2=|margin_tb=,|margin_tb1=,|margin_tb2=|style=,|style1=,|style2=
See also
[edit]- {{rule}}