Template:Crlf2/doc

From Saintapedia
< Template:Crlf2
Revision as of 22:33, 21 September 2024 by Tom (talk | contribs) (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 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 }} {{m...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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
[markup]

[rendering]

Including <br /> parses the bullet markup, but adds a blank line
Markup Renders as
[markup]

[rendering]

Using {{crlf2}} parses the bullet markup without extra white space
Markup Renders as
[markup]

[rendering]

See also