সাঁচ:Dual line
ওপৰৰ শাৰী
তলৰ শাৰী
Creates an in-line block with two lines of text. Useful for representing manual corrections in handwritten documents.
Usage
সম্পাদনা কৰক{{dual line|top|bottom}}
{{dual line | top = | bottom = }}
Examples
সম্পাদনা কৰকExample #1
সম্পাদনা কৰক{{dual line|hello|world}}
hello
world
Example #2
সম্পাদনা কৰকTwo alternative versions of the same thing:
Lorem {{dual line|ipsum dolor|{{strike|dolor ipsum}}}} sit amet.
Lorem ipsum dolor
dolor ipsum sit amet.
Lorem {{dual line | top = ipsum dolor | bottom = {{strike|dolor ipsum}} }} sit amet.
Lorem ipsum dolor
dolor ipsum sit amet.
Example #3
সম্পাদনা কৰকTo have the bottom row align with surrounding text, use style=vertical-align:baseline;
Lorem {{dual line|ipsum dolor|dolor ipsum|style=vertical-align:baseline;}} sit amet.
Lorem ipsum dolor
dolor ipsum sit amet.
Example #4
সম্পাদনা কৰকTo have the top row align with surrounding text, use style=vertical-align:text-top;
Lorem {{dual line|ipsum dolor|dolor ipsum|style=vertical-align:text-top;}} sit amet.
Lorem ipsum dolor
dolor ipsum sit amet.
See also
সম্পাদনা কৰক- {{sup}} — single raised line of text with smaller font-size
- {{raised text}} — single raised line of text with regular font-size
- {{transl}} ― display a foreign language word with the English translation displayed in a smaller font below it
- {{sfrac nobar}} ― displays common fractions without a horizontal solidus
The above documentation is transcluded from সাঁচ:Dual line/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |