Template:Indent

From Wikipedia, the free encyclopedia



Template originated on the sister project Wikisourceβ€”(home page)β€”and ported here to en.wp 21
27, 26 May 2006 (UTC).

Other Sister Projects sharing this template or one like it

Metawiki
Our umbrella organization, Metawiki has this template: [[m:template:|]]



Wikipedia
Wikipedia has this template: Indent


Commons
The sister project Commons has this template: Indent


Wikibooks logo
Wikibooks has the similar template:
Wikiquote
The sister project Wikiquote has this template: Indent


Wikisource
The sister project Wikisource has this template: Indent


Wiktionary
The sister project Wiktionary has this template: Indent


Wikinews
The sister project Wikinews has this template: Indent


Wikispecies
Wikispecies has this template: Indent


Wikiversity
The sister project Wikiversity has this template: Indent







[edit] Usage


     {{indent|nn}}, takes a numeric argument 'nn' after the pipe and provides that many consecutive spaces. Indent differs from {{space}} only in that it automatically begins a newline, then spaces over 'nn' spaces.
   Consequently, this template can not be used inline to create alignment between adjacent text lines, or to space out titles, etc. Use {{space}} for such needs.

Related

Template:I (edit talk links history) calls indent with a default of three spaces, or passes on an argument if other padding is desirable whist remaining more compact
   (Very useful in tables where edit-jumble is a factor, or on talks to create indented paragraph beginings inside a wiki indented ':', '::', '::*', or a '#' prefixed line).

[edit] Example calls

  • {{indent|2}}, {{space|7}}, etc.


     space and indent are limited to adding 30 spaces.

  • {{tl|I} use is illustrated above immediately preceding the paragraphs beginning "{Very useful..." and "Consequently, this template...".