Difference between revisions of "Template:Break/doc"

From blackwiki
Jump to navigation Jump to search
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(5 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
{{Lua|Module:Break}}
+
{{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 9: Line 9:
 
== Usage ==
 
== Usage ==
 
* {{tlx|break}} = one <code><nowiki><br /></nowiki></code>
 
* {{tlx|break}} = one <code><nowiki><br /></nowiki></code>
* {{tlx|break|5}} = five <code><nowiki><br /><br /><br /><br /><br /></nowiki></code>
+
* {{tlx|break|5}} = <code><nowiki><br /><br /><br /><br /><br /></nowiki></code>
  
The parameter can be any integer, up to 5.
+
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>{{Sandbox other||
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 
 
<!-- 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