Difference between revisions of "Template:Break/doc"
Jump to navigation
Jump to search
imported>Hairy Dude m (spacing) |
|||
Line 3: | Line 3: | ||
<!-- 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|crlf}} | {{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 <code><nowiki><br /></nowiki></code> where this is unsuitable, for example the rare cases where it is necessary to duplicate <code><nowiki><br /><br /></nowiki></code> which will be "fixed" by bots. |
Also avoids HTML mark-up in articles. | Also avoids HTML mark-up in articles. | ||
== Usage == | == Usage == | ||
− | + | * {{tlx|break}} = one <code><nowiki><br /></nowiki></code> | |
− | * {{tlx|break}} = one <nowiki><br /></nowiki> | + | * {{tlx|break|5}} = five <code><nowiki><br /><br /><br /><br /><br /></nowiki></code> |
− | * {{tlx|break|5}} = five <nowiki><br /><br /><br /><br /><br /></nowiki> | ||
The parameter can be any integer, up to 5. | The parameter can be any integer, up to 5. | ||
Line 17: | Line 16: | ||
== See also == | == See also == | ||
− | |||
* {{tlx|Clear}} (shortcuts: {{tlx|-}}, {{tlx|br}}, and {{tlx|clr}}) | * {{tlx|Clear}} (shortcuts: {{tlx|-}}, {{tlx|br}}, and {{tlx|clr}}) | ||
* [[Wikipedia:Line-break handling]] | * [[Wikipedia:Line-break handling]] |
Revision as of 11:28, 18 March 2016
![]() | 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