Template:Subsup/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
Line 5: Line 5:
For example:
For example:


<code>{<nowiki />{subsup|''x''|2|3}}</code>
<code><nowiki>{{subsup|''x''|2|3}}</nowiki></code>


gives
gives


{{{{ROOTPAGENAME}}|''x''|2|3}}
{{{{ROOTPAGENAME}}|''x''|2|3}}

Revision as of 04:04, 8 January 2025

English Wikipedia has an article on:

Usage

Pass in, as unnamed parameters, the expression followed by the subscript and then the superscript. If you only need a superscript or only a subscript, just use <sup> or <sub> tags.

For example:

{{subsup|''x''|2|3}}

gives

x 3
2