Difference between revisions of "Template:Break/doc"
Jump to navigation
Jump to search
imported>Vanisaac m (→See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
|||
(5 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
− | {{Lua|Module: | + | {{Lua|Module:String}} |
<!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE --> | <!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE --> | ||
− | {{template | + | {{template shortcut|brk|crlf}} |
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. | 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. | ||
Line 9: | Line 9: | ||
== Usage == | == Usage == | ||
* {{tlx|break}} = one <code><nowiki><br /></nowiki></code> | * {{tlx|break}} = one <code><nowiki><br /></nowiki></code> | ||
− | * {{tlx|break|5}} = | + | * {{tlx|break|5}} = <code><nowiki><br /><br /><br /><br /><br /></nowiki></code> |
− | The parameter can be any integer | + | The parameter can be any integer. |
− | {{ | + | {{tlc|brk}} and {{tlc|crlf}} are also redirects (shortcuts), and may be used instead. |
== See also == | == See also == | ||
− | * {{tlx| | + | * {{tlx|clear}} (shortcuts: {{tlc|-}}, {{tlc|br}}, and {{tlc|clr}}) |
− | * [[ | + | * [[Help:Line-break handling]] |
− | + | <includeonly>{{Sandbox other|| | |
− | <includeonly>{{ | ||
<!-- CATEGORIES BELOW THIS LINE, PLEASE: --> | <!-- CATEGORIES BELOW THIS LINE, PLEASE: --> | ||
[[Category:Line-handling templates]] | [[Category:Line-handling templates]] | ||
[[Category:Wikipedia XHTML tag-replacing templates]] | [[Category:Wikipedia XHTML tag-replacing templates]] | ||
}}</includeonly> | }}</includeonly> |
Latest revision as of 00:19, 24 April 2020
![]() | 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: |
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