Template:Spaces: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>David Kernow
simplification via {{loop}}
Ookami (talk | contribs)
m 30 revisions imported
 
(16 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). Utilizies {{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 13:38, 3 September 2020