Template:Sup: Difference between revisions

<includeonly>, rephrasing, +downside
m>Stevage
(document it a bit)
m>David Kernow
(<includeonly>, rephrasing, +downside)
Line 1: Line 1:
<sup>{{{1}}}</sup><noinclude>
<includeonly><sup>{{{1}}}</sup></includeonly><noinclude>
'''Sup'''erscripts text, i.e.
: <code><big><nowiki>{{sup|Text to be superscripted}}</nowiki></big></code> produces: {{sup|Text to be superscripted}}


<nowiki>Superscripts text, by producing: &lt;sup>{{{1}}}&lt;/sup></nowiki>
This template is listed at [[Wikipedia:Subst]] as a good candidate for substituting (i.e. <nowiki>{{subst:sup}}</nowiki>&nbsp;). On a page that uses the template many times, however, this is likely to clutter and lengthen the page significantly.


This template is listed at [[Wikipedia:Subst]] as a good candidate for substituting: <nowiki>{{subst:sup}}</nowiki>
 
<!--Categories-->
[[Category:Function templates|{{PAGENAME}}]]
[[Category:Function templates|{{PAGENAME}}]]
</noinclude>
</noinclude>
Anonymous user