Sjabloon:Spaces/doc: verschil tussen versies

Uit informatiestandaarden
Naar navigatie springen Naar zoeken springen
(Nieuwe pagina aangemaakt met '{{documentation subpage}} <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> {{template shortcut|nbsp|space}} Template to produce single or multiple non-breakin...')
 
 
Regel 2: Regel 2:
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
 
{{template shortcut|nbsp|space}}
 
{{template shortcut|nbsp|space}}
Template to produce single or multiple [[non-breaking space]]s ("<code><big>&amp;nbsp;</big></code>"s).
+
Template to produce single or multiple [[Wikipedia:non-breaking space|non-breaking space]]s ("<code><big>&amp;nbsp;</big></code>"s).
  
 
; Syntax : <code><big><nowiki>{{spaces|</nowiki>''N''}}</big></code><br />where the optional parameter ''N'' is the desired number of consecutive non-breaking spaces (numeric, with a range of 1 and larger).
 
; Syntax : <code><big><nowiki>{{spaces|</nowiki>''N''}}</big></code><br />where the optional parameter ''N'' is the desired number of consecutive non-breaking spaces (numeric, with a range of 1 and larger).

Huidige versie van 17 jul 2013 om 14:25

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