Difference between revisions of "Template:Break/doc"

From blackwiki
Jump to navigation Jump to search
imported>Colonies Chris
(minor fixes)
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
Line 18: Line 18:
 
* {{tlx|clear}} (shortcuts: {{tlc|-}}, {{tlc|br}}, and {{tlc|clr}})
 
* {{tlx|clear}} (shortcuts: {{tlc|-}}, {{tlc|br}}, and {{tlc|clr}})
 
* [[Help:Line-break handling]]
 
* [[Help:Line-break handling]]
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
+
<includeonly>{{Sandbox other||
 
<!-- CATEGORIES BELOW THIS LINE, PLEASE: -->
 
<!-- CATEGORIES BELOW THIS LINE, PLEASE: -->
 
[[Category:Line-handling templates]]
 
[[Category:Line-handling templates]]
 
[[Category:Wikipedia XHTML tag-replacing templates]]
 
[[Category:Wikipedia XHTML tag-replacing templates]]
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 00:19, 24 April 2020

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.

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

See also