Template:Spaces: Difference between revisions

From Vigyanwiki
Template>David Kernow
(+explanation, category, nowrap <span> as some browsers apparently ignore  )
Template>David Kernow
({{protected template}} as might be vulnerable, <includeonly>)
Line 1: Line 1:
<span style="white-space:nowrap;">{{#switch: {{{1}}}
<noinclude>{{protected template}}</noinclude><includeonly><span style="white-space:nowrap;">{{#switch: {{{1}}}
|  2 = &nbsp;&nbsp;
|  2 = &nbsp;&nbsp;
|  3 = &nbsp;&nbsp;&nbsp;
|  3 = &nbsp;&nbsp;&nbsp;
Line 10: Line 10:
| 10 = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
| 10 = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
| &nbsp;
| &nbsp;
}}</span><noinclude>
}}</span></includeonly><noinclude>
Template to minimize code used for multiple consecutive [[non-breaking space]]s ("<code><big>&amp;nbsp;</big></code>"s).
Template to minimize code used for multiple consecutive [[non-breaking space]]s ("<code><big>&amp;nbsp;</big></code>"s).



Revision as of 11:14, 24 November 2006

Template:Protected template Template to minimize code used for multiple consecutive non-breaking spaces ("&nbsp;"s).

Syntax
{{nbsp|N}}
where N is a numeral from 2 to 10 (the desired number of non-breaking spaces). Defaults to a single non-breaking space.