Difference between revisions of "Template:Break/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Rich Farmbrough
(Created page with '{{{{{|Safesubst:}}}#switch:{{{1|}}} |2=<br /><br /> |3=<br /><br /><br /> |4=<br /><br /><br /><br /> |5=<br /><br /><br /><br /><br /> |6=<br /><br /><br /><br /><...')
 
imported>Mr. Stradivarius
(test Lua implementation)
Line 1: Line 1:
{{{{{|Safesubst:}}}#switch:{{{1|}}}
+
{{<includeonly>safesubst:</includeonly>#invoke:Break|main|1={{{1|}}}}}<noinclude>
|2=<br /><br />
 
|3=<br /><br /><br />
 
|4=<br /><br /><br /><br />
 
|5=<br /><br /><br /><br /><br />
 
|6=<br /><br /><br /><br /><br /><br />
 
|7=<br /><br /><br /><br /><br /><br /><br />
 
|8=<br /><br /><br /><br /><br /><br /><br /><br />
 
|9=<br /><br /><br /><br /><br /><br /><br /><br /><br />
 
|10=<br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
 
|<br />}}<noinclude>
 
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 11:40, 18 July 2013

Script error: No such module "Break".

Template documentation[view] [edit] [history] [purge]

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

  • {{break}} = one <br />
  • {{break|5}} = <br /><br /><br /><br /><br />

The parameter can be any integer.

{{brk}} and {{crlf}} are also redirects (shortcuts), and may be used instead.

See also