Template:Subsup/doc: Difference between revisions
ArrowHead294 (talk | contribs) m →Usage |
ArrowHead294 (talk | contribs) mNo edit summary |
||
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 | Pass in, as three unnamed parameters, the expression followed by the subscript and then the superscript: | ||
<pre> | |||
{{subsup|expression|subscript|superscript}} | |||
</pre> | |||
If you only need a superscript or only a subscript, just use <code><<nowiki />sup></code> or <code><<nowiki />sub></code> tags. | |||
For example: | For example: |