Template:Spaces: Difference between revisions

From TEPwiki, Urth's Encyclopedia
Jump to navigation Jump to search
Content added Content deleted
({{protected template}} as might be vulnerable, <includeonly>)
m (30 revisions imported)
 
(24 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<noinclude>{{protected template}}</noinclude><includeonly><span style="white-space:nowrap;">{{#switch: {{{1}}}
<span class="nowrap">{{#iferror:{{#expr:{{{1|1}}}}}
|{{#switch:{{{1}}}
| 2 = &nbsp;&nbsp;
|fig=&#8199;
| 3 = &nbsp;&nbsp;&nbsp;
|en=&ensp;
| 4 = &nbsp;&nbsp;&nbsp;&nbsp;
|em=&emsp;
| 5 = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
|thin=&thinsp;
| 6 = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
|hair=&#8202;
| 7 = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
|&nbsp;
| 8 = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
}}
| 9 = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
|{{#invoke:String|rep|{{#switch:{{{2}}}
| 10 = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
|fig=&#8199;
| &nbsp;
|en=&ensp;
}}</span></includeonly><noinclude>
|em=&emsp;
Template to minimize code used for multiple consecutive [[non-breaking space]]s ("<code><big>&amp;nbsp;</big></code>"s).
|thin=&thinsp;

|hair=&#8202;
; Syntax : <code><big><nowiki>{{nbsp|</nowiki>''N''}}</big></code><br/>where ''N'' is a numeral from 2 to 10 (the desired number of non-breaking spaces). Defaults to a single non-breaking space.
|&nbsp;

}}|{{{1|1}}}}}

}}</span><noinclude>
<!--Categories-->
{{documentation}}
[[Category:Wikipedia utility templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Latest revision as of 16:52, 23 April 2019