Editing Template:Spaces/doc

From Guild of Archivists
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

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 |&nbsp|nbs|nbsp|nbsp;|space|spcs}}
{{stack|{{Lua|Module:String}}}}<!--wider box than {{Template shortcut}}-->


A template to produce one or more [[w:non-breaking space|non-breaking space]]s (<code>&amp;nbsp;</code> character entities).
A template to produce one or more [[non-breaking space]]s (<code>&amp;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>&nbsp;</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>&nbsp;</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.
Please note that all contributions to Guild of Archivists may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see GoArch:Copyrights for details). Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)