Template:Subsup/doc: Difference between revisions
Jump to navigation
Jump to search
ArrowHead294 (talk | contribs) mNo edit summary |
ArrowHead294 (talk | contribs) m →Usage |
||
| Line 1: | Line 1: | ||
{{dochead}}{{wikipedia}} | {{dochead}}{{wikipedia}} | ||
=== Usage === | === Usage === | ||
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> | ||
gives | |||
{{{{ROOTPAGENAME}}|''x''|2|3}} | {{{{ROOTPAGENAME}}|''x''|2|3}} | ||
Revision as of 04:02, 8 January 2025
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
