টেমপ্লেট:Aligned couplet/নথি

উইকিসংকলন থেকে
পরিভ্রমণে ঝাঁপ দিন অনুসন্ধানে ঝাঁপ দিন

{{Aligned couplet|top1|top2|top3|top4|....|btm1|btm2|btm3|btm4|....|bottom=|top=|height=}}

This template uses a small wiki table to display two lines, probably of poetry, broken into words or groups so that the groups on the two lines are (left) aligned with each other. The first half of the groups are placed on the top line and the second half on the bottom; if there are an odd number the one in the middle is placed at the end of the top line. Up to 10 groups on each line can be handled.

height= The height (with unit) of each line. The default is 2.3ex, found by experiment to give the same line spacing between the two lines as a <br> in normal text.

bottom= Adjust the bottom margin of the table to give a pleasing space before the following text. The default is -0.8ex, found by experiment to give the same spacing to a following text line as as a normal <br> between two text lines. A value of +0.6ex gives the same spacing to the first line of a second {{Aligned couplet immediately following; a positive value will give white space in between.

top= Adjust the top margin of the table to give a pleasing space after the preceding text. The default is -0.9ex, found by experiment to give the same spacing after a preceding text line as as a normal <br> between two text lines. A larger (less negative) value will produce white space after a preceding text line.

Example[সম্পাদনা]

{{Aligned couplet|margin=1ex

| Ti | rat&nbsp;&nbsp; | pari
| Am&nbsp; | I | living (my life)
}}
{{Aligned couplet
| Tiras | ta | kawahat
| You (who) | possess | the skies
}}

Ti rat   pari
Am  I living (my life)
Tiras ta kawahat
You (who) possess the skies