Difference between revisions of "Template:Spaces"

From SVR Wiki
Jump to: navigation, search
m (moved Template:Nbsp to Template:Spaces: Suggest "spaces" as a more non-technical user-friendly name)
m (30 revisions imported: Template as of)
 
(12 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<noinclude>{{protected template}}</noinclude><includeonly><!--
+
<span class="nowrap">{{#iferror:{{#expr:{{{1|1}}}}}
--><span style="white-space:nowrap;">{{loop|{{{1|1}}}|&nbsp;}}</span></includeonly><!--
+
  |{{#switch:{{{1}}}
--><noinclude>
+
    |fig=&#8199;
Template to produce multiple consecutive [[non-breaking space]]s ("<code><big>&amp;nbsp;</big></code>"s). Utilizes {{tl|loop}}.
+
    |en=&ensp;
 
+
    |em=&emsp;
; 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.
+
    |thin=&thinsp;
 
+
    |hair=&#8202;
 
+
    |&nbsp;
<!--Categories-->
+
  }}
[[Category:Function templates|{{PAGENAME}}]]
+
  |{{#invoke:String|rep|{{#switch:{{{2}}}
 +
    |fig=&#8199;
 +
    |en=&ensp;
 +
    |em=&emsp;
 +
    |thin=&thinsp;
 +
    |hair=&#8202;
 +
    |&nbsp;
 +
  }}|{{{1|1}}}}}
 +
}}</span><noinclude>
 +
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 16:52, 28 December 2015

Script error: No such module "String".

Documentation icon Template documentation[create]

{{ }}