Template:Ns

From Holocron - Star Wars Combine
Revision as of 17:00, 14 October 2013 by Rupert Havok (talk | contribs) (Created page with "{{padleft:|{{#expr: {{{1|3}}}*6 }}| }}<noinclude>This Holocron template inserts any count of non-breaking spaces (&#160;) as the number in parameter 1 (default: 3 spaces...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

   This Holocron template inserts any count of non-breaking spaces (&#160;) as the number in parameter 1 (default: 3 spaces). The count is limited to 0-83 spaces, where 0 produces nothing. The intent is to provide a short markup template to insert extra spacing, rapidly, where text-wrapping is not wanted.

The effect of the count, such as in "{{ns|30}}" is identical to putting 30 copies of "&#160;" into the text. For gaps wider than 83 spaces, then multiple instances can be used, such as "{{ns|80}}{{ns|10}}" to insert 90 non-breaking spaces.