[go: up one dir, main page]

Jump to content

Template:Outdent

From Wikisource
Template documentation


{{outdent
 | text
 | outdent in ems
}}

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

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

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