Template:Sub/doc
Appearance
This is a documentation subpage for Template:Sub. It contains usage information, categories and other content that is not part of the original template page. |
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]- {{lowered text}} (for example this)
- {{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
Parameter | Description | Type | Status | |
---|---|---|---|---|
text | text 1 | Text to be made subscript. | Content | optional |