Template:Sub

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Documentation icon Template documentation[view] [edit] [history] [purge]

Subscripts text, i.e.

{{sub|Text to be subscripted}} produces:
Text to be subscripted

This template may be listed at Wikipedia:Subst as a good candidate for substituting (i.e. {{subst:sub}} ). On a page that uses the template many times, however, this is likely to clutter and lengthen the page significantly.

Text can also be subscripted simply by using the <sub> and </sub> tags, so that:

<sub>Text to be subscripted</sub> also produces: Text to be subscripted

{{Semisub}} may be used to subscript text by a smaller default amount. This amount and also the size of the text subscripted may be customised via (unnamed) parameters.

See also

{{sup}} and related templates

sup textsuperscript    superscripttext
smallsup / ssup textsmall superscript    small superscripttext
isup textsuperscript  (rather than:textsuperscript)
superiour 1st  (rather than:1st)
e
e-sp
scinote
10^
1.23×104
1.23 × 104
1.2×10^3
1012.34
val 1.23×104

{{sub}} and related templates

sub textsubscript    subscripttext
smallsub / ssub textsmall subscript    small subscripttext
subsub textdouble-subscripted    double-subscriptedtext
semisub textsemisub    semisubtext

Templates combining super/subscripts

su textp=superscript
b=subscript
    p=superscript
b=subscript
text
supsub textsup
sub
    sup
sub
text
± 1.23+4
−2
overunderset
underoverset
superscripttextsubscript

Overview