
This is an unofficial archive of PsychonautWiki as of 2025-08-08T03:33:20Z. Content on this page may be outdated, incomplete, or inaccurate. Please refer to the original page for the most up-to-date information.
Template:Spaces/doc: Difference between revisions
Jump to navigation
Jump to search
>PJosepherum m 1 revision |
>PJosepherum m 1 revision |
(No difference)
|
Latest revision as of 19:09, 3 June 2014
Uses Lua: |
Template to produce single or multiple non-breaking spaces ("
").
- Syntax
{{spaces|N}}
where the optional parameter N is the desired number of consecutive non-breaking spaces (numeric, with a range of 1 and larger)
{{spaces}}
produces a single non-breaking space. You may also use {{nbsp}} (which redirects to this template) as a shortcut for a single non-breaking space
Template data
This is the TemplateData documentation for this template used by VisualEditor and other tools.
Spaces
<templatedata> {
"description": "Inserts one or more non-breaking spaces", "params": { "1": { "label": "Quantity", "description": "How many non-breaking spaces to insert", "type": "number", "default": "1" } }
} </templatedata>
See also
- {{pad}}; add spacing in px, em or ex
- {{Nowrap}}; stops wrapping of specific text
- {{Nb5}}; inserts 5 non-breaking spaces