Template:Break
Adds <br />
(a line break) to where this template is referenced. The first (and only) argument is the number of times the tag is inserted.
Using this template is preferable to using the HTML because, in general, HTML markup should be avoided in articles to the highest extent possible.
Please note these line breaks are not the same as creating a new paragraph (aka, in wikitext, inserting two blank lines). For the differences, please see here.
Usage
{{break}}
adds one line break (aka, the equivalent of<br />
){{break|5}}
adds five line breaks (aka, the equivalent of<br /><br /><br /><br /><br />
)
Examples
Code | Result |
---|---|
Scioly.org was founded in 1998. {{break}} Since then, it has evolved into an amazing community. |
Scioly.org was founded in 1998.
|
'''With paragraph break:''' {{legend|red|Hey look it's a red legend!}} {{legend|red|Hey look it's a red legend!}} '''With <code><nowiki>{{break}}</nowiki></code> break:''' {{legend|red|Hey look it's a red legend!}} {{break}} {{legend|red|Hey look it's a red legend!}} |
With paragraph break: Hey look it's a red legend! Hey look it's a red legend! With Hey look it's a red legend!
|
What if we want a lot of space? {{break|5}} Well... we can have it! |
What if we want a lot of space?
|
The above documentation is transcluded from Template:Break/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |