Template:Sup: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 8: Line 8:
</templatedata>
</templatedata>
</noinclude>
</noinclude>
{{documentation subpage}}
'''Sup'''erscripts text, i.e.
: <code><nowiki>{{sup|Text to be superscripted}}</nowiki></code> produces: <sup>Text to be superscripted</sup>
This template is listed at [[Wikipedia:Subst]] as a good candidate for substituting (i.e. <nowiki>{{subst:sup}}</nowiki>). On a page that uses the template many times, however, this is likely to clutter and lengthen the page significantly.
Text can also be superscripted simply by using the {{tag|sup}} tags, so that:
:{{tag|sup|content=Text to be superscripted}}  also produces: <sup>Text to be superscripted</sup>
==Template data==
{{template data header}}
<templatedata>
{
"params": {
"1": {}
}
}
</templatedata>
== See also ==
{{Sup and sub-related templates |expanded}}
{{Math templates|notation |state=collapsed}}