Difference between revisions of "Template:Hr"
Jump to navigation
Jump to search
imported>Dave Braunschweig (Adding support for height) |
(Changed content) |
||
| Line 1: | Line 1: | ||
| − | <includeonly> | + | <includeonly> |
| − | + | <hr style="height:{{{1|1}}}px" /> | |
| − | |||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
{{documentation}} | {{documentation}} | ||
<!-- Add categories to the /doc subpage and interwikis to Wikidata. --> | <!-- Add categories to the /doc subpage and interwikis to Wikidata. --> | ||
</noinclude> | </noinclude> | ||
Revision as of 21:33, 24 March 2017
Displays a horizontal rule (line).
Contents
Usage
{{hr}}
{{hr|height}}
- height
- The height of the line in pixels.
Examples
{{hr}}
}}
{{hr|3}}
}}
{{hr|5}}
}}
TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.
TemplateData for Hr
Displays a horizontal rule (line).
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Height | 1 | The thickness of the line, in pixels | Number | optional |
See also
| The above documentation is transcluded from Template:Hr/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |