Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Sup sub/doc: Difference between revisions

Template page
|seealso=*{{tl|Sup}} *{{tl|Sub}} *{{tl|Smallsup}} and {{tl|Smallsub}} *{{tl|Exp}}
Fix language-code links to use Wikipedia interwiki prefixes
 
(2 intermediate revisions by one other user not shown)
Line 9: Line 9:
|2stat=required
|2stat=required
|name=
|name=
|desc=Provides formatting with superscript and subscript. Example: to get <code>D{{sup sub|2|g}}</code> you would use: <nowiki>D{{sup sub|2|g}}</nowiki>
|desc=Provides formatting with superscript and subscript.<br>
<span style="font-weight:lighter">''Example:'' to get D{{sup sub|2|g}} you would use: <code><nowiki>D{{sup sub|2|g}}</nowiki></code></span>
|namespace=any
|namespace=any
|usergroup=all
|usergroup=all
Line 19: Line 20:
|i18n-desc=
|i18n-desc=
|i18n-mediawiki-msg=
|i18n-mediawiki-msg=
|seealso=*{{tl|Sup}}
|seealso={{Text formatting template (see also)}}
*{{tl|Sub}}
*{{tl|Smallsup}} and {{tl|Smallsub}}
*{{tl|Exp}}
|setscats=
|setscats=
|lines=
|lines=
Line 32: Line 30:
[[Category:Formatting templates|{{PAGENAME}}]]
[[Category:Formatting templates|{{PAGENAME}}]]


[[es:Plantilla:sup sub]]
[[w:es:Plantilla:sup sub]]
[[fr:Modèle:ExpInd]]
[[w:fr:Modèle:ExpInd]]
[[id:Templat:Sup sub]]
[[w:id:Templat:Sup sub]]
[[hu:Sablon:sup sub]]
[[w:hu:Sablon:sup sub]]
[[mk:Шаблон:Sup sub]]
[[w:mk:Шаблон:Sup sub]]
[[ja:Template:Sup sub]]
[[w:ja:Template:Sup sub]]
[[pl:Szablon:Sup sub]]
[[w:pl:Szablon:Sup sub]]
[[ru:Шаблон:Sup sub]]
[[w:ru:Шаблон:Sup sub]]
[[sl:Predloga:Sup sub]]
[[w:sl:Predloga:Sup sub]]


</includeonly>
</includeonly>

Latest revision as of 14:40, 15 August 2026

Provides formatting with superscript and subscript.
Example: to get D2g you would use: D{{sup sub|2|g}}

Usage

{{Sup sub/doc |1= |2= }}

Template parameters

ParameterDescriptionDefaultStatus
1superscriptemptyrequired
2subscriptemptyrequired

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

Text formatting templates
Code example Renders as Notes Code example Renders as Notes
X{{Exp|superscript text}} Xsuperscript text Warning sign 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.

Cookies help us deliver our services. By using our services, you agree to our use of cookies.