Template:Crlf2/doc

Safer nicotine wiki Tobacco Harm Reduction
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 asLua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).
Including ‎<br /> parses the bullet markup, but adds a blank line
Markup Renders asLua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).
Using {{crlf2}} parses the bullet markup without extra white space
Markup Renders asLua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).Lua error in Module:Item at line 23: attempt to call method 'gfind' (a nil value).

See also