Open main menu

Changes

category
{{Documentation subpage}}
<!-- Categories and interwikis go at the bottom of this page. -->

== Usage ==
This template adds a true carriage return and line feed. It is useful in markup when wikimarkup that must start on a new line such as #, * or ; is used in a table or template. For example, the {{tl|markup}} template creates a table:

{{markup|title=Including {{code|* Text}} causes the {{code|*}} bullet markup to not be parsed
|<nowiki>
* Text</nowiki>
|* Text
}}

{{markup|title=Including {{tag|br|s}} parses the bullet markup, but adds a blank line
|<nowiki><br />
* Text</nowiki>
|<br />
* Text
}}

{{markup|title=Using {{tl|crlf2}} parses the bullet markup without extra white space
|<nowiki>{{crlf2}}
* Text</nowiki>
|{{crlf2}}
* Text
}}

== See also ==

<includeonly>
<!-- Categories and interwikis go here: -->
[[Category:Line-handling templates]]

[[no:Mal:Crlf2]]
</includeonly>
Anonymous user