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 1: Line 1:
{{dochead}}{{wikipedia}}
{{dochead}}{{wikipedia}}
=== Usage ===
=== Usage ===
You type
Pass in, as unnamed parameters, the expression followed by the subscript and then the superscript.
 
For example:


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


You get
gives


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

Revision as of 04:02, 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.

For example:

{{subsup|x|2|3}}

gives

x 3
2