Difference between revisions of "Template:Break/doc"

From blackwiki
Jump to navigation Jump to search
imported>ArmbrustBot
m (→‎See also: re-categorisation per CFDS, replaced: Category:Wikipedia XHTML tag replacing templates → Category:Wikipedia XHTML tag-replacing templates using AWB)
imported>Sardanaphalus
(category)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
{{lua|Module:Break}}
+
{{Lua|Module:Break}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
+
<!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE -->
 
 
 
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 7:
  
 
== Usage ==
 
== Usage ==
* {{Tl2|Break}} one <nowiki><br /></nowiki>
+
* {{tl2|break}} = one <nowiki><br /></nowiki>
* {{Tl2|Break|5}} five <nowiki><br /><br /><br /><br /><br /></nowiki>
+
* {{tl2|break|5}} = five <nowiki><br /><br /><br /><br /><br /></nowiki>
  
 
The parameter can be any integer.
 
The parameter can be any integer.
  
 
== See also ==
 
== See also ==
* [[:Template:Crlf]] which emits only one <code><nowiki><br /></nowiki></code>
+
* [[:Template:Crlf]], which emits only one <code><nowiki><br /></nowiki></code>
 
* [[:Template:-]]
 
* [[:Template:-]]
 
* [[:Template:Clear]]
 
* [[:Template:Clear]]
 
* [[Wikipedia:Line-break handling]]
 
* [[Wikipedia:Line-break handling]]
  
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
+
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
+
<!-- CATEGORIES BELOW THIS LINE, PLEASE: -->
[[Category:Wikipedia formatting and function templates|{{PAGENAME}}]]
+
[[Category:Linewrap-related templates]]
 
[[Category:Wikipedia XHTML tag-replacing templates]]
 
[[Category:Wikipedia XHTML tag-replacing templates]]
 
 
}}</includeonly>
 
}}</includeonly>

Revision as of 22:42, 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