Template:Spaces: Difference between revisions

m
32 revisions imported from templatewiki:Template:Spaces
imported>David Kernow
(simplification via {{loop}})
m (32 revisions imported from templatewiki:Template:Spaces)
 
(17 intermediate revisions by 9 users not shown)
Line 1:
<span class="nowrap">{{#iferror:{{#expr:{{{1|1}}}}}
<noinclude>{{protected template}}</noinclude><includeonly><!--
|{{#switch:{{{1}}}
--><span style="white-space:nowrap;">{{loop|{{{1|1}}}|&nbsp;}}</span></includeonly><!--
|fig=&#8199;
--><noinclude>
|en=&ensp;
Template to produce multiple consecutive [[non-breaking space]]s ("<code><big>&amp;nbsp;</big></code>"s). Utilizes {{tl|loop}}.
|em=&emsp;
 
|thin=&thinsp;
; Syntax : <code><big><nowiki>{{nbsp|</nowiki>''N''}}</big></code><br/>where ''N'', the desired number of consecutive non-breaking spaces, is a numeral from 2 to 150. Defaults to a single non-breaking space.
|hair=&#8202;
 
|&nbsp;
 
}}
<!--Categories-->
|{{#invoke:String|rep|{{#switch:{{{2}}}
[[Category:Function templates|{{PAGENAME}}]]
|fig=&#8199;
|en=&ensp;
|em=&emsp;
|thin=&thinsp;
|hair=&#8202;
|&nbsp;
}}|{{{1|1}}}}}
--}}</span><noinclude>
{{documentation}}
{{En-WP attribution notice|Template:Spaces}}
</noinclude>