Difference between revisions of "Template:Break/doc"

From blackwiki
Jump to navigation Jump to search
imported>Lam-ang
m (uses Module:String)
imported>Colonies Chris
(minor fixes)
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 shortcuts|brk|crlf}}
+
{{template shortcut|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.
  
{{tlx|brk}} and {{tlx|crlf}} are also redirects (shortcuts), and may be used instead.
+
{{tlc|brk}} and {{tlc|crlf}} are also redirects (shortcuts), and may be used instead.
  
 
== See also ==
 
== See also ==
* {{tlx|clear}} (shortcuts: {{tlx|-}}, {{tlx|br}}, and {{tlx|clr}})
+
* {{tlx|clear}} (shortcuts: {{tlc|-}}, {{tlc|br}}, and {{tlc|clr}})
* [[Wikipedia:Line-break handling]]
+
* [[Help:Line-break handling]]
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 
<!-- CATEGORIES BELOW THIS LINE, PLEASE: -->
 
<!-- CATEGORIES BELOW THIS LINE, PLEASE: -->

Revision as of 14:17, 13 September 2019

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