Template:Indent

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search


Template documentationpurge ]

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.