साँचा:Poem begin
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 सम्पादन
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
.
ऊपर दिया गया विवरणपृष्ठ साँचा:Poem begin/doc से ट्रांसक्लूड किया गया है। (संपादित करें | इतिहास) संपादकगण इस साँचे के sandbox (बनाएँ | मिरर करें) और testcases (बनाएँ) पन्नों पर अपने प्रयोग/परीक्षण कर सकते हैं। कृपया श्रेणियाँ /doc उपपृष्ठ पर जोड़ें। इस साँचे के उपपृष्ठ देखें। |