Sjabloon:Spaces

Uit informatiestandaarden
Versie door Ahenket (overleg | bijdragen) op 17 jul 2013 om 14:24 (Nieuwe pagina aangemaakt met '<span style="white-space:nowrap;">{{#invoke:String|rep| |{{{1|1}}}}}</span><noinclude> {{documentation}} </noinclude>')
(wijz) ← Oudere versie | Huidige versie (wijz) | Nieuwere versie → (wijz)
Naar navigatie springen Naar zoeken springen

{{#invoke:String|rep| |1}}

[bewerken] [purge] Template documentation
Shortcuts:

Template to produce single or multiple non-breaking spaces ("&nbsp;"s).

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

<templatedata> {

   "description": "Inserts one or more non-breaking spaces",
   "params": {
       "1": {
           "label": "Quantity",
           "description": "How many non non-breaking spaces to insert",
           "type": "number",
           "default": "1"
       }
   }

} </templatedata>

See also

  • {{pad}}; add spacing in px, em or ex