• ମୂଳ
  • ଯାହିତାହି
  • ପାଖାପାଖି
  • ଲଗ-ଇନ
  • ସଜାଣି
Donate Now If Wikipedia is useful to you, please give today.
  • ଉଇକିପିଡ଼ିଆ ବାବଦରେ
  • ଆମେ ଦାୟୀ ନୋହୁଁ
ଉଇକିପିଡ଼ିଆ

ଛାଞ୍ଚ:Indent

  • ଭାଷା
  • ଦେଖିବେ
  • ସମ୍ପାଦନା
ଛାଞ୍ଚ ଡକ୍ୟୁମେଣ୍ଟେସନ୍[view] [edit] [ଇତିହାସ] [purge]

The indenter Template:indent performs a newline and indents by a specified number of spaces. However, the spaces are not all the same size, but rather a mixture of en-size & em-size spaces that have been tested to work on a wide range of browsers. (To skip by n equal-size spaces, instead use {{in5|n}} which puts all as the standard-size " " space.)

ବିଷୟସୂଚୀ

  • ୧ Usage
  • ୨ Examples
  • ୩ Analysis of uneven spacing
  • ୪ History
  • ୫ See also

Usage

ସମ୍ପାଦନା

The indentation spacing generated by Template:indent will match the alignment of a colon-shift (":") by using {{indent|5}}, or to match "::" then align by {{indent|10}}.

Usage: {{indent|# of spaces}}

  • Indents up to 30 spaces. (use {{in5|n}} to skip up to 50 spaces)
  • Indent differs from {{space}} only in that it automatically begins a wrapped-newline, then spaces over n spaces, whereas {{space}} spaces over n in the same (current) line.

Examples

ସମ୍ପାଦନା

The following are detailed examples, also comparing to the equivalent indentation generated if a colon-shift ":" were used instead.

Example 1 - Indenting by 5:
Some text.{{indent|5}}Some more text.


Results:
Some text.
     Some more text.

Example 2 - Alignment with ":" or "::" indentations:
: Line of colon-shifted text.
{{indent|5}}Line of indent-5-shifted text.
<br>&nbsp; &nbsp; &nbsp;&nbsp;Line of br-6-nbsp-shifted text.
<br>&nbsp; &nbsp; &nbsp;Line of br-5-nbsp-shifted text.
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Line of br-5-nbsp-true-shifted text.
:: Line of 2-colon-shifted text.
{{space|10}}Line of space-10-shifted text.

Results:

Line of colon-shifted text.


     Line of indent-5-shifted text.
      Line of br-6-nbsp-shifted text.
     Line of br-5-nbsp-shifted text.
     Line of br-5-nbsp-true-shifted text.

Line of 2-colon-shifted text.

          Line of space-10-shifted text.

Note that if the prior line is already colon-shifted text, then using "{{indent|5}}" generates a blank line first, so instead, use "{{space|5}}" (or such) after a colon-shifted line.

Analysis of uneven spacing

ସମ୍ପାଦନା

The non-breaking "&nbsp;" is exactly the same size as a space (by definition, it must be the same), so it can be alternated with spaces to skip a wider area. Notice that neither {{indent}} nor {{space}} use true space-size, but rather mix en+em spaces, whereas "{{in5|n}}" will actually skip n count of spaces, as if inserting n repetitions of an "&nbsp;" space.

History

ସମ୍ପାଦନା

This template originated on the sister project Wikisource—(home page)

—and was subsequently ported to English Wikipedia at 21:27, 26 May 2006 (UTC).

See also

ସମ୍ପାଦନା
  • {{space}} - skips similar spacing mix of en-size & em-size spaces.
  • {{spaces}} - uses non-breaking spaces.
  • {{in5}} - skips up to 50 equal-size spaces as all en-size spaces.
The above documentation is transcluded from ଛାଞ୍ଚ:Indent/doc. (edit | ଇତିହାସ)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
"https://or.wikipedia.org/w/index.php?title=ଛାଞ୍ଚ:Indent&oldid=28688"ରୁ ଅଣାଯାଇଅଛି
Last edited on ୨୧ ଫେବୃଆରୀ ୨୦୧୧, at ୧୯:୪୬

Languages

    • العربية
    • Azərbaycanca
    • تۆرکجه
    • Basa Bali
    • भोजपुरी
    • বাংলা
    • Čeština
    • Dansk
    • English
    • فارسی
    • Føroyskt
    • Gàidhlig
    • Galego
    • ગુજરાતી
    • हिन्दी
    • Bahasa Indonesia
    • Igbo
    • 日本語
    • ქართული
    • Қазақша
    • 한국어
    • Latviešu
    • Македонски
    • മലയാളം
    • मराठी
    • Bahasa Melayu
    • မြန်မာဘာသာ
    • नेपाली
    • ਪੰਜਾਬੀ
    • Português
    • Ikirundi
    • ᱥᱟᱱᱛᱟᱲᱤ
    • Srpskohrvatski / српскохрватски
    • တႆး
    • සිංහල
    • Simple English
    • Slovenščina
    • Српски / srpski
    • Sunda
    • ไทย
    • Türkmençe
    • Tagalog
    • Türkçe
    • Українська
    • اردو
    • Oʻzbekcha / ўзбекча
    • Tiếng Việt
    • 中文
    • 粵語
    ଉଇକିପିଡ଼ିଆ
    • Wikimedia Foundation
    • Powered by MediaWiki
    • ଏ ପୃଷ୍ଠାଟି ୨୧ ଫେବୃଆରୀ ୨୦୧୧ ଦିନ ୧୯:୪୬ ବେଳେ ବଦଳାଯାଇଥିଲା ।
    • ଦର୍ଶାଯାଇନଥିଲେ ସମସ୍ତ ବିଷୟବସ୍ତୁ CC BY-SA 4.0 ରେ ଉପଲବ୍ଧ ।
    • ଗୁମର ନୀତି
    • ଉଇକିପିଡ଼ିଆ ବାବଦରେ
    • ଆମେ ଦାୟୀ ନୋହୁଁ
    • କୋଡ୍ ଅଫ୍ କଣ୍ଡକ୍ଟ୍ / ଆଚରଣ ସଂହିତା
    • ଡେଭେଲପରମାନେ
    • ପରିସଂଖ୍ୟାନ
    • କୁକି ବିବରଣୀ
    • ବ୍ୟବହାର ନିୟମାବଳୀ
    • ଡେସ୍କଟପ