Template:Spaces: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
make it a nice round decimal number like 10 |
+explanation, category, nowrap <span> as some browsers apparently ignore |
||
Line 1: | Line 1: | ||
{{ |
<span style="white-space:nowrap;">{{#switch: {{{1}}} |
||
| 2 = |
| 2 = |
||
| 3 = |
| 3 = |
||
| 4 = |
| 4 = |
||
| 5 = |
| 5 = |
||
| 6 = |
| 6 = |
||
| 7 = |
| 7 = |
||
| 8 = |
| 8 = |
||
| 9 = |
| 9 = |
||
| 10 = |
| 10 = |
||
| |
| |
||
}}</span><noinclude> |
|||
}} |
|||
Template to minimize code used for multiple consecutive [[non-breaking space]]s ("<code><big>&nbsp;</big></code>"s). |
|||
; 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. |
|||
<!--Categories--> |
|||
[[Category:Wikipedia utility templates|{{PAGENAME}}]] |
|||
</noinclude> |