Difference between revisions of "Template:Break/doc"

From blackwiki
Jump to navigation Jump to search
imported>Checkingfax
(added shortcut {{brk}})
imported>Checkingfax
(copy edit)
Line 2: Line 2:
 
{{Lua|Module:Break}}
 
{{Lua|Module:Break}}
 
<!-- 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}}
+
{{template shortcuts|brk|crlf}}
 
Replaces <nowiki><br /></nowiki> where this is unsuitable, for example the rare cases where it is necessary to duplicate <nowiki><br /><br /></nowiki> which will be "fixed" by bots.
 
Replaces <nowiki><br /></nowiki> where this is unsuitable, for example the rare cases where it is necessary to duplicate <nowiki><br /><br /></nowiki> which will be "fixed" by bots.
  
Line 8: Line 8:
  
 
== Usage ==
 
== Usage ==
* {{tl2|break}} = one <nowiki><br /></nowiki>
 
* {{tl2|break|5}} = five <nowiki><br /><br /><br /><br /><br /></nowiki>
 
  
The parameter can be any integer.
+
* {{tlx|break}} = one <nowiki><br /></nowiki>
 +
* {{tlx|break|5}} = five <nowiki><br /><br /><br /><br /><br /></nowiki>
  
{{tl|crlf}} is a redirect, and may be also used.
+
The parameter can be any integer, up to 5.
 +
 
 +
{{tlx|brk}} and {{tlx|crlf}} are also redirects (shortcuts), and may be used instead.
  
 
== See also ==
 
== See also ==
* [[:Template:-]]
+
 
* [[:Template:Clear]]
+
* {{tlx|Clear}} ( shortcuts: {{tlx|-}}, {{tlx|br}}, and {{tlx|clr}} )
 
* [[Wikipedia:Line-break handling]]
 
* [[Wikipedia:Line-break handling]]
  

Revision as of 10:00, 11 November 2015

Template:Template shortcuts 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}} = five <br /><br /><br /><br /><br />

The parameter can be any integer, up to 5.

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

See also