This is a documentation subpage for Template:Hr. It may contain usage information, categories and other content that is not part of the original template page. |
Displays a horizontal rule (line), of differing thicknesses if needed, identical to that produced by the HTML tag </hr>
. It can thus be replicated using </hr>
, or by inserting four hyphens (----
) on a newline.
Usage
{{Hr
Note:
|1=
is for the height in pixels as a numerical value only
Examples
{{Hr}}
{{Hr|2}}
{{Hr|3}}
{{Hr|4}}
{{Hr|5}}
TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Hr in articles based on its TemplateData.
TemplateData for Hr
Displays a horizontal rule (line).
Parameter | Description | Type | Status | |
---|---|---|---|---|
Height | 1 | The thickness of the line, in pixels | Number | optional |