Misplaced Pages

Template:Sup

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.

This is an old revision of this page, as edited by Edokter (talk | contribs) at 13:21, 28 September 2008 (Undid revision 241488577 by Spinningspark (talk) Problem lies in Template:Su; it should be fixed there.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Revision as of 13:21, 28 September 2008 by Edokter (talk | contribs) (Undid revision 241488577 by Spinningspark (talk) Problem lies in Template:Su; it should be fixed there.)(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff) Template documentation[view] [edit] [history] [purge]
WarningThis template is used on approximately 63,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.

Superscripts text, i.e.

{{sup|Text to be superscripted}} produces:

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

Text can also be superscripted simply by using the <sup>...</sup> tags, so that:

<sup>Text to be superscripted</sup> also produces:

For page numbers after references, {{rp}} should be used instead.

Template data

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Sup in articles based on its TemplateData.

TemplateData for Sup

Superscript the text given in the first parameter

Template parameters

ParameterDescriptionTypeStatus
11

Any text entered here will be superscripted

Stringrequired

See also

Superscript and subscript-related templates
{{sup}} and related templatesCombined super/subscripts
sup text
    
text
smallsup (ssup) text    text
i sup (isup · padlsup) text  (rather than: text
)
i smallsup (issup · padlssup) text  (rather than: text)
b sup (bsup) text  (rather than: text
)
sub textsubscript    subscripttext
smallsub (ssub) textsmall subscript    small subscripttext
subsub textdouble-subscripted    double-subscriptedtext
su text
b=subscript    
b=subscripttext
sup sub text
sub    
subtext
± 1.23
−2
overunderset / underoverset superscripttextsubscript
Subscript and superscript
Math templates
  • Functions
  • Numeral systems
Functions
Numeral systems
Conversions
convert many units (see: list)
cvt abbreviated {{convert}}
convinfobox {{convert}} for infoboxes
bbl to t barrels of oil to tonnes
long ton long hundredweights, quarters and pounds to kilograms;
long tons and hundredweights to pounds and metric tons
miles-chains miles and chains to kilometres linking "chains"
decdeg degrees, minutes, and seconds to decimal degrees
deg2dms decimal degrees to degrees, minutes, and seconds
deg2hms decimal degrees to hour angle (in hours, minutes, and seconds)
hms2deg hour angle (in hours, minutes, and seconds) to decimal degrees
inflation calculate inflation of Consumer Price Index-related prices
pop density population density in an area
track gauge railway track gauges
Notation and formatting
bigmath bigger font to match TeX \displaystyle (standalone formulas only)
bra–ket notation
ceil, floor calculations :mw:Help:#expr; formatting indicators ⌈3.14⌉, ⌊3.14⌋ (no calculation performed)
fraction slant fractions 3⁄5 (not for maths/science articles; use standing or upright fractions {{sfrac}} instead)
intmath integral symbols
  • langle
  • rangle
  • angbr
  • angular brackets
  • ldelim
  • rdelim
  • multiline delimiters (2–5 lines inclusive)
    abs absolute values (paired vertical lines)
    math short text-based formulas
    mathcal calligraphic font; alternative to LaTeX \mathcal{...}
    mvar individual italicized maths variables in normal text
  • overline
  • underline
  • a line set above/below a sequence of characters
    overarc an arc set above a sequence of characters
  • overset
  • underset
  • arbitrary characters/diacritics set above/below one another
    pars parentheses that can be resized (∑)
    sfrac "standing" or upright fractions ⁠3/5⁠ (use in maths/science articles instead of{{fraction}})
  • sub
  • sup
  • su
  • subscripts and superscripts
    tmath Wrap TeX in <math> tags
    tombstone symbol indicating the end of a proof
    val measurement values, uncertainties and units
    vec various overarrows, underarrows, etc.
  • Boxes
  • Tags
  • Notices
  • BoxesTags
    The above documentation is transcluded from Template:Sup/doc. (edit | history)
    Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
    Add categories to the /doc subpage. Subpages of this template. Categories: