Editing Template:Spaces/doc
From Guild of Archivists
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!-- EDIT TEMPLATE DOCUMENTATION AFTER THIS LINE --> | <!-- EDIT TEMPLATE DOCUMENTATION AFTER THIS LINE --> | ||
{{Lua|Module:String}} | {{COinS safe|n}} | ||
{{high-risk| ≈1630000 }} | |||
{{Template shortcuts | |nbs|nbsp|nbsp;|space|spcs}} | |||
{{stack|{{Lua|Module:String}}}}<!--wider box than {{Template shortcut}}--> | |||
A template to produce one or more [[ | A template to produce one or more [[non-breaking space]]s (<code>&nbsp;</code> character entities). | ||
== Usage == | == Usage == | ||
; Syntax : <code>{{big|<nowiki>{{spaces|</nowiki>''N''{{!}}''type''}}}}</code> ...... to produce ''N'' consecutive non-breaking spaces (where ''N'' is a whole number larger than zero) of the type specified by the second parameter: <code>em</code>, <code>en</code>, <code>fig</code>, <code>hair</code>, <code>thin</code>, or if not specified, a non-breaking space (<source inline lang=xml> </source>) the same width as a standard space. | ; Syntax : <code>{{big|<nowiki>{{spaces|</nowiki>''N''{{!}}''type''}}}}</code> ...... to produce ''N'' consecutive non-breaking spaces (where ''N'' is a [[Integer|whole number]] larger than zero) of the type specified by the second parameter: <code>em</code>, <code>en</code>, <code>fig</code>, <code>hair</code>, <code>thin</code>, or if not specified, a non-breaking space (<source inline lang=xml> </source>) the same width as a standard space. | ||
{{bigger|<code><nowiki>{{space|</nowiki>''type''<nowiki>}}</nowiki></code>}} produces a single non-breaking space of the type indicated. | {{bigger|<code><nowiki>{{space|</nowiki>''type''<nowiki>}}</nowiki></code>}} produces a single non-breaking space of the type indicated. |