ಟೆಂಪ್ಲೇಟು:Double rule/doc
ಗೋಚರ
This is a documentation subpage for ಟೆಂಪ್ಲೇಟು:Double rule. It may contain usage information, categories and other content that is not part of the original ಟೆಂಪ್ಲೇಟು page. |
Adds two {{rule}} templates, supporting all {{rule}} parameters.
Usage
[ಸಂಪಾದಿಸಿ]Without any parameters,
{{double rule}}
produces:
Width
[ಸಂಪಾದಿಸಿ]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
[ಸಂಪಾದಿಸಿ]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
[ಸಂಪಾದಿಸಿ]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
[ಸಂಪಾದಿಸಿ]- {{rule}}