Difference between revisions of "Template:Hr/doc"
Jump to navigation
Jump to search
imported>Train2104 (bypass cat redir) |
imported>Vanisaac m (→See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
| (One intermediate revision by one other user not shown) | |||
| 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 == | ||
| − | <includeonly> | + | <includeonly>{{Sandbox other|| |
<!-- Categories and interwikis go here: --> | <!-- Categories and interwikis go here: --> | ||
[[Category:Wikipedia formatting and function templates]] | [[Category:Wikipedia formatting and function templates]] | ||
| − | </includeonly> | + | }}</includeonly> |
Latest revision as of 17:01, 25 April 2020
| This is a documentation subpage for Template:Hr. It contains usage information, categories and other content that is not part of the original template page. |
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 |