Template:Stanza/doc

Warning
This template has known currently unresolved problems. Please see template talk:stanza for more detail.

Usage
This template renders a block of text with constant leading and specified left margin and hanging indent. The result is similar to enclosing the text block within &lt;poem&gt; &hellip; &lt;/poem&gt;; i.e. internal line ends are preserved, however multiple blank lines are suppressed, and the result subjected overall to the margin rules specified.

Parameters (first two identical to those of hii: Note: indentation is measured rightwards. To "reverse indent" (make a line stick out to the left), enter a negative value. To support leading drop capital/drop initial (all subsequent parameters are optional):
 * : text to be rendered as described above.
 * : indentation (in em; default: 0) of first line relative to the other lines of the paragraph (i.e. CSS "text-indent".)
 * : indentation (in em; default: 0) of the whole paragraph (i.e. the CSS "margin-left".)
 * (aliases or ): Lead letter to be specially rendered at front of stanza.
 * (alias ): Font size (in em-units; default: 3em) to be used for drop capital.
 * (alias ): Margin spacing to apply on top of drop capital.
 * (alias ): Margin spacing to apply to right of drop capital.
 * (alias ): Margin spacing to apply beneath drop capital.
 * (alias ): Margin spacing to apply to left of drop capital.
 * (alias ): Extra indentation to be applied drop capital and portion of stanza "shaded" by it.
 * (alias ): Passed to as named parameter z-index (please amend this description if/when utility or effect of layering index parameter is known.)

Examples
1. This:

produces:

2. This:

produces: