Difference between revisions of "Template:Hr/doc"

From blackwiki
Jump to navigation Jump to search
imported>Train2104
(bypass cat redir)
imported>GKFX
(Add Template Data)
Line 22: Line 22:
 
<nowiki>{{hr|5}}</nowiki>
 
<nowiki>{{hr|5}}</nowiki>
 
{{hr|5}}
 
{{hr|5}}
 +
 +
== TemplateData ==
 +
 +
{{TemplateDataHeader}}
 +
<templatedata>
 +
{
 +
"params": {
 +
"1": {
 +
"label": "Height",
 +
"description": "The thickness of the line, in pixels",
 +
"type": "number"
 +
}
 +
},
 +
"description": "Displays a horizontal rule (line).",
 +
"format": "inline"
 +
}
 +
</templatedata>
  
 
== See also ==
 
== See also ==

Revision as of 12:53, 3 September 2017

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