コンテンツにスキップ

英文维基 | 中文维基 | 日文维基 | 草榴社区

Template:Crlf/doc

Usage

[編集]

This template contains simply the code <br />, the XHTML-clean line-break. It is to be used as an inline line-break.

CRLF is a standard name for a line-break variable.

The reason this template might be useful over just typing <br /> is because a template call can cover two lines. Thus, this template can be called with the code:

{{crlf
|}}

whereas a normal <br /> can only be called with:

<br />

on one line. The advantage of the two lines is that it aids the editor, both in his or her reading and writing, and the inserted line-break can actually be seen.

The template is especially made for use inside indentation or bullet points; see the Talk page for examples.

See also

[編集]