Difference between revisions of "Template:Break/doc"

From blackwiki
Jump to navigation Jump to search
imported>Hairy Dude
m (spacing)
Line 3: Line 3:
 
<!-- 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 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 <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.
  
 
Also avoids HTML mark-up in articles.
 
Also avoids HTML mark-up in articles.
  
 
== Usage ==
 
== Usage ==
 
+
* {{tlx|break}} = one <code><nowiki><br /></nowiki></code>
* {{tlx|break}} = one <nowiki><br /></nowiki>
+
* {{tlx|break|5}} = five <code><nowiki><br /><br /><br /><br /><br /></nowiki></code>
* {{tlx|break|5}} = five <nowiki><br /><br /><br /><br /><br /></nowiki>
 
  
 
The parameter can be any integer, up to 5.
 
The parameter can be any integer, up to 5.
Line 17: Line 16:
  
 
== See also ==
 
== See also ==
 
 
* {{tlx|Clear}} (shortcuts: {{tlx|-}}, {{tlx|br}}, and {{tlx|clr}})
 
* {{tlx|Clear}} (shortcuts: {{tlx|-}}, {{tlx|br}}, and {{tlx|clr}})
 
* [[Wikipedia:Line-break handling]]
 
* [[Wikipedia:Line-break handling]]

Revision as of 11:28, 18 March 2016

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