Template:Outdent/doc

From Wikisource
Jump to navigation Jump to search
{{outdent
 | text
 | outdent in ems
}}

ie:
{{outdent
 | {{lorem ipsum}}
 | 3
}}

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.

Sometimes (into nsPage) an alternative syntax is useful (see an example here and following page:

{{outdent}}
{{lorem ipsum}}
</div>

Opens a div class="tiInherit" style="text-indent=-2em"; following paragraphs will be outdented. The div must be closed at the page end with a </div> tag.

When the text block continues into more pages, please put the template and the closing code following these suggestions:

page section hosting the template section hosting the closing code
first page body footer
following pages header footer
last page header body