跳转到内容

模板:Hr/doc

维基百科,自由的百科全书

Displays a horizontal rule (line). The function of this template can be replicated using four hyphens (----) on a new line.

Usage

[编辑]
{{hr}}

{{hr|height}}
height
The height of the line in pixels.

Examples

[编辑]

{{hr}}


{{hr|3}}


{{hr|5}}


TemplateData

[编辑]
以下是该模板的模板数据,适用于可视化编辑器等工具。

Hr模板数据

Displays a horizontal rule (line).

模板参数

此模板首选参数不换行的行内格式。

参数描述类型状态
Height1

The thickness of the line, in pixels

数字可选