Template:Dual line
Appearance
top line
bottom line
![]() | This template uses TemplateStyles: |
Creates an in-line block with two lines of text. Useful for representing manual corrections in handwritten documents.
Usage
[edit]{{dual line|top|bottom}}
{{dual line | top = | bottom = }}
Examples
[edit]Example #1
[edit]{{dual line|hello|world}}
hello
world
Example #2
[edit]Two alternative versions of the same thing:
Lorem {{dual line|ipsum dolor|{{strike|dolor ipsum}}}} sit amet.
Lorem ipsum dolordolor ipsum sit amet.
Lorem {{dual line | top = ipsum dolor | bottom = {{strike|dolor ipsum}} }} sit amet.
Lorem ipsum dolordolor ipsum sit amet.
Example #3
[edit]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
[edit]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
[edit]- {{Manuscript Replacement}}—part of a standardised series of templates for transcribing manuscripts
- {{transl}}—display a foreign language word with the English translation displayed in a smaller font below it
- Lowered text
- {{sub}}—subscript (for example this)
- {{lowered text}} (for example this)
- Raised text
- {{sup}}—superscript (for example this)
- {{superscript-small}}—superscript with slightly larger font-size (for example this)
- {{^}}—decreases font-size and raises text, but not above the text (for example this)
- {{raised text}}—single raised line of text with regular font-size (for example this)
- {{dual line}}—double line, one raised above the other, with regular font-size (for example top line
lower line) - {{frac}}, displays common fractions using a fraction slash, e.g. 1⁄60
- {{mfrac}}, displays common fractions using LaTeX markup, e.g.
- {{sfrac}} for horizontal fraction line, e.g. 1/60
- {{sfrac nobar}}, displays common fractions without a fraction line, e.g.
- {{dual line}}, displays two lines of text as an inline block
- {{unifrac}}, displays the Unicode character for a fraction if it exists and otherwise delegates to {{frac}}, e.g. ⅝ but 1⁄60
- {{frac13}}, displays ⅓
- {{frac23}}, displays ⅔