Template:Hanging indent/doc

Usage
Hanging indent template. (That is, all lines except the first are indented.) The default inset is 2em when one parameter is used with single pipe | to separate the template name and the text. (The expression is simply used below to generate some arbitrary text.)


 * one parameter

produces


 * shorthand version

produces

E.g. for an indent of 1em:
 * To specify the amount of indent, use the width first

produces

Spanning multiple pages
You can also use hanging indent/s to open and hanging indent/e and close the paragraph. But if you need to span the paragraph across pages, you should use the footer and header to create two separate paragraphs, each with hanging-indents, which will not be transcluded to the main namespace. /m can be used instead of /s for a paragraph with no hanging first line. Every page must have one of each, one at the start and one at the end. When the pages are all transcluded, you will end up with just one hanging indent/s and just one hanging indent/e at the start and end of the section, respectively. In this way an indented paragraph may span over two or more pages. In the schema below, omit the middle page if it only spans two pages.

First page

 * Body
 * Start of the hanging indent text.
 * Start of the hanging indent text.


 * Footer

Middle pages

 * Header


 * Body
 * continuation of the paragraph goes here.


 * Footer

Last page

 * Header


 * Body
 * The last part of the paragaph is here.