Difference between revisions of "Template:Break/doc"
Jump to navigation
Jump to search
imported>Checkingfax (added shortcut {{brk}}) |
imported>Checkingfax (copy edit) |
||
Line 2: | Line 2: | ||
{{Lua|Module:Break}} | {{Lua|Module:Break}} | ||
<!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE --> | <!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE --> | ||
− | {{template shortcuts|brk}} | + | {{template shortcuts|brk|crlf}} |
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 8: | ||
== Usage == | == Usage == | ||
− | |||
− | |||
− | + | * {{tlx|break}} = one <nowiki><br /></nowiki> | |
+ | * {{tlx|break|5}} = five <nowiki><br /><br /><br /><br /><br /></nowiki> | ||
− | {{ | + | The parameter can be any integer, up to 5. |
+ | |||
+ | {{tlx|brk}} and {{tlx|crlf}} are also redirects (shortcuts), and may be used instead. | ||
== See also == | == See also == | ||
− | * | + | |
− | + | * {{tlx|Clear}} ( shortcuts: {{tlx|-}}, {{tlx|br}}, and {{tlx|clr}} ) | |
* [[Wikipedia:Line-break handling]] | * [[Wikipedia:Line-break handling]] | ||
Revision as of 10:00, 11 November 2015
![]() | This is a documentation subpage for Template:Break. It contains usage information, categories and other content that is not part of the original template page. |
![]() | This template uses Lua: |
Template:Template shortcuts 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, up to 5.
{{brk}}
and {{crlf}}
are also redirects (shortcuts), and may be used instead.
See also
{{Clear}}
( shortcuts:{{-}}
,{{br}}
, and{{clr}}
)- Wikipedia:Line-break handling