Template:Poem begin/doc
This is a documentation subpage for Template:Poem begin. It contains usage information, categories and other content that is not part of the original template page. |
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
.