shortcuts: {{br}} {{brk}} {{crlf}}

Template:Break/doc: Difference between revisions

Safer nicotine wiki Tobacco Harm Reduction
Jump to navigation Jump to search
m (1 revision imported)
imported>Jonesey95
(→‎See also: another one)
 
(2 intermediate revisions by 2 users not shown)
Line 2: Line 2:
{{Lua|Module:String}}
{{Lua|Module:String}}
<!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE -->
<!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE -->
{{template shortcut|brk|crlf}}
{{template shortcut|br|brk|crlf}}
Replaces <code><nowiki><br /></nowiki></code> where this is unsuitable, for example the rare cases where it is necessary to duplicate <code><nowiki><br /><br /></nowiki></code> which will be "fixed" by bots.
Replaces <code><nowiki><br /></nowiki></code> where this is unsuitable, for example the rare cases where it is necessary to duplicate <code><nowiki><br /><br /></nowiki></code> which will be "fixed" by bots.


Line 13: Line 13:
The parameter can be any integer.
The parameter can be any integer.


{{tlc|brk}} and {{tlc|crlf}} are also redirects (shortcuts), and may be used instead.
{{tlc|br}}, {{tlc|brk}} and {{tlc|crlf}} are also redirects (shortcuts), and may be used instead.


== See also ==
== See also ==
* {{tlx|clear}} (shortcuts: {{tlc|-}}, {{tlc|br}}, and {{tlc|clr}})
* {{tlx|Clear}} (shortcuts: {{tlc|-}} and {{tlc|clr}})
* {{tlx|Paragraph break}}
* [[Help:Line-break handling]]
* [[Help:Line-break handling]]
<includeonly>{{Sandbox other||
<includeonly>{{Sandbox other||

Latest revision as of 06:58, 6 December 2022

Replaces <br /> where this is unsuitable, for example the rare cases where it is necessary to duplicate <br /><br /> which will be "fixed" by bots.

Also avoids HTML mark-up in articles.

Usage

  • {{break}} = one <br />
  • {{break|5}} = <br /><br /><br /><br /><br />

The parameter can be any integer.

{{br}}, {{brk}} and {{crlf}} are also redirects (shortcuts), and may be used instead.

See also