Difference between revisions of "Template:Break"
Jump to navigation
Jump to search
imported>Frietjes (use module:string) |
imported>Plastikspork (Add safesubst) |
||
| Line 1: | Line 1: | ||
| − | {{<includeonly>safesubst:</includeonly>#invoke:string|rep|<br/>|{{#iferror:{{#expr:1*{{{1|1}}}}}|1}}}}<noinclude> | + | {{<includeonly>safesubst:</includeonly>#invoke:string|rep|<br/>|{{<includeonly>safesubst:</includeonly>#iferror:{{<includeonly>safesubst:</includeonly>#expr:1*{{{1|1}}}}}|1}}}}<noinclude> |
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 00:13, 13 January 2018
| This template uses Lua: |
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
The parameter can be any integer.
{{brk}} and {{crlf}} are also redirects (shortcuts), and may be used instead.
See also
{{clear}}(shortcuts:{{-}},{{br}}, and{{clr}})- Help:Line-break handling
| The above documentation is transcluded from Template:Break/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |