ଛାଞ୍ଚ:Text-indent

ଉଇକିପାଠାଗାର‌ରୁ
Jump to navigation Jump to search

{{{2}}}

This is a fork of Template:Indent which makes the indentation amount the first parameter. This is more convenient when the input provide encompasses many paragraphs. Eventually the two template will need to be merged, or one of them deprecated.

Template documentation[view] [edit] [history] [purge]


Usage[ସମ୍ପାଦନା]

{{text-indent|number|text}}

Example and tests[ସମ୍ପାଦନା]

Lorem ipsum dolor sit amet, consectetuer adipiscing elit.

Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem.


Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo.

Please note that the third paragraph is not indented, since there are two new lines before it. Indenting follows a "yes-no-yes-no...." rule.