Template:Spaces: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>David Kernow
increasing range to 25
meta>David Kernow
simplification via {{loop}}
Line 1: Line 1:
<noinclude>{{protected template}}</noinclude><includeonly><span style="white-space:nowrap;">{{#switch: {{{1}}}
<noinclude>{{protected template}}</noinclude><includeonly><!--
|  2 = &nbsp;&nbsp;
--><span style="white-space:nowrap;">{{loop|{{{1|1}}}|&nbsp;}}</span></includeonly><!--
|  3 = &nbsp;&nbsp;&nbsp;
--><noinclude>
|  4 = &nbsp;&nbsp;&nbsp;&nbsp;
Template to produce multiple consecutive [[non-breaking space]]s ("<code><big>&amp;nbsp;</big></code>"s). Utilizies {{tl|loop}}.
|  5 = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
|  6 = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
|  7 = &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;
| 10 = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
| 11 = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
| 12 = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
| 13 = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
| 14 = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
| 15 = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&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p;&nbsp;&nbsp;&nbsp;
| 24 = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
| 25 = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
| &nbsp;
}}</span></includeonly><noinclude>
Template to minimize code used for multiple consecutive [[non-breaking space]]s ("<code><big>&amp;nbsp;</big></code>"s).


; Syntax : <code><big><nowiki>{{nbsp|</nowiki>''N''}}</big></code><br/>where ''N'' is a numeral from 2 to 25 (the desired number of non-breaking spaces). Defaults to a single non-breaking space.
; 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.





Revision as of 12:00, 16 February 2007

Template:Protected template Template to produce multiple consecutive non-breaking spaces ("&nbsp;"s). Utilizies {{loop}}.

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