Jump to content

Template:Sub/doc

From Wikisource

Subscript text, smaller text size (66.67%) than the HTML tag pair <sub></sub> of 83%.

Usage

[edit]
{{sub|text}}

Example

[edit]
Lorem {{sub|ipsum dolor}} sit amet. H{{sub|2}}O

Lorem ipsum dolor sit amet. H2O

Comparison with HTML tags

[edit]

The HTML tag equivalent of this template uses a slightly different font-size, as can be seen here:

Lorem {{sub|ipsum dolor}} sit amet. H{{sub|2}}O

Lorem ipsum dolor sit amet. H2O

Lorem <sub>ipsum dolor</sub> sit amet. H<sub>2</sub>O

Lorem ipsum dolor sit amet. H2O

See also

[edit]
  • {{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
    )


Subscript text

Template parameters

ParameterDescriptionTypeStatus
texttext 1

Text to be made subscript.

Contentoptional