Template:Sup sub
Jump to navigation
Jump to search
{{{1}}}{{{2}}}
This documentation is transcluded from Template:Sup sub/doc.
Provides formatting with superscript and subscript.
Example: to get D2g you would use: D{{sup sub|2|g}}
Usage
{{Sup sub |1= |2= }}
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
1 | superscript | empty | required | |
2 | subscript | empty | required |
Additional information
The template is intended to be used in the following namespaces: unknown
The template is intended to be used by the following user groups: all users
See also
Code example | Renders as | Notes | Code example | Renders as | Notes |
---|---|---|---|---|---|
X{{Exp|superscript text}} |
Xsuperscript text | Don't use {{Sup}} which links to {{Support}} | X{{Smallsup|small superscript text}} |
Xsmall superscript text | with smaller text |
X{{Sub|subscript text}} |
Xsubscript text | X{{Smallsub|small subscript text}} |
Xsmall subscript text | with smaller text | |
— | X{{Sup sub|superscript|subscript}} |
Xsuperscriptsubscript | with smaller text | ||
X{{Big|big text}} |
Xbig text | X{{Small|small text}} |
Xsmall text | Font size 85% | |
X{{Font-size|120%|font-size 120%}} |
Xfont-size 120% | ← could maybe be merged → | X{{Resize|120%|font-size 120%}} |
Xfont-size 120% | |
X{{Overline|overlined}} |
Xoverlined | — | |||
X{{Explain|term|explanation}} |
Xterm | — | |||
X{{Mark|marked text}} |
Xmarked text | Same color as used in diffs. | X{{Highlight|highlighted text|#FF0|green}} |
Xhighlighted text | Multiple format parameters possible |
X{{Small-caps|Small capitals}} |
XSmall capitals | — | |||
X<kbd>teletype</kbd> |
Xteletype | Tags, not a template yet(en) (but used in e.g. {{Tld}}) | X<code>code</code> |
Xcode |
Tags, not a template yet(en) (but used in e.g. {{Tlc}}) |
- Note: The capital
X
in front of each template is used to compare the results to plain text.
Localization
This template is not intended to be localized.