Difference between revisions of "Template:Break/sandbox"
Jump to navigation
Jump to search
imported>Mr. Guye (Ongoing test to see if User:Pppery's proposal @ Wikipedia:Miscellany for deletion/Module:Break will actually work. The deletion of Module:Break is damaging since Template:Break relies on it and that template is transcluded onto mainspace.) |
imported>Andrybak m (sync with live version) |
||
| Line 1: | Line 1: | ||
| − | {{<includeonly>safesubst:</includeonly>#invoke: | + | {{<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 11:38, 2 August 2020
| This is the template sandbox page for Template:Break (diff). See also the companion subpage for test cases. |
| 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. |