Jump to content

Template:Poem begin/doc

From Wikisource

This template essentially duplicates the function of the tag <div class="lefttext"> by adding padding and a set width for the content of a page.

However, there are a few essential differences: it is meant for poetry and does not automatically indent, since it is a template it is easily tweakable (for any future changes), and it allows for variable widths.

It pairs with Template:Poem end, which is essentially just a </div> closing tag but should be used to allow for any future changes to the template that also affect the end tag.

It should also be used with the <poem> and </poem> tags (which cannot be included in this template, because they don't transclude properly).

Usage

[edit]
Preceding text
{{Poem begin}}<poem>
Text of poem.
</poem>{{Poem end}}
Following text

produces:

Preceding text

Text of poem.

Following text

Widths other than the default of 27em can be set by adding|width=#em.