Jump to content

Template:Crlf2/doc: Difference between revisions

From pool
[checked revision][checked revision]
Content deleted Content added
Created page with "{{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..."
 
No edit summary
 
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}{{Commons Import}}
<!-- Categories and interwikis go at the bottom of this page. -->
<!-- Categories and interwikis go at the bottom of this page. -->



Latest revision as of 11:50, 18 October 2020


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 {{markup}} template creates a table:

Including * Text causes the * bullet markup to not be parsed
Markup Renders as
* Text
  • Text
Including <br /> parses the bullet markup, but adds a blank line
Markup Renders as
<br />
* Text


  • Text
Using {{crlf2}} parses the bullet markup without extra white space
Markup Renders as
{{crlf2}}
* Text

  • Text

See also