Difference between revisions of "Template:Break/doc"

From blackwiki
Jump to navigation Jump to search
imported>Sardanaphalus
(category)
imported>Sardanaphalus
(category update)
Line 20: Line 20:
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 
<!-- CATEGORIES BELOW THIS LINE, PLEASE: -->
 
<!-- CATEGORIES BELOW THIS LINE, PLEASE: -->
[[Category:Linewrap-related templates]]
+
[[Category:Line-handling templates]]
 
[[Category:Wikipedia XHTML tag-replacing templates]]
 
[[Category:Wikipedia XHTML tag-replacing templates]]
 
}}</includeonly>
 
}}</includeonly>

Revision as of 22:46, 26 August 2014

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.

See also