跳至內容

模板: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

數值非必填