Difference between revisions of "Template:Hr"

From blackwiki
Jump to navigation Jump to search
imported>Dave Braunschweig
(Adding support for height)
(Changed content)
Line 1: Line 1:
<includeonly>{{#if:{{{1|}}}
+
<includeonly>
|<hr style="height:{{{1}}}px" />
+
<hr style="height:{{{1|1}}}px" />
|<hr />
 
 
}}</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

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

Displays a horizontal rule (line).

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).

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Height1

The thickness of the line, in pixels

Numberoptional

See also