Aller au contenu

Modèle:Indent

Cha vient éd Wikipedia


The indenter Template:Indent puts a newline and indents the specified count of spaces.

Usage: {{indent|# of spaces}}

  • Indents up to 30 spaces, mixing en-size & em-size spaces.
  • Indent differs from {{space}}
only in that it automatically begins a wrapped-newline, then spaces
across n spaces, whereas {{space}} spaces over n in the same (current) line.

Example (indenting by 5):  Some text.{{indent|5}}Some more text.
Result:
Some text.
     Some more text.

For more detailed examples, and for comparisons with colon-shifts ":" or "::" for indenting,
see the full documentation: Template:Indent/doc.

Also see: {{in|n}} - to shift by n equal-size spaces.