Template:Sup: Difference between revisions

From Vigyanwiki
Template>Stevage
(document it a bit)
Template>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>

Revision as of 08:45, 27 November 2006

Superscripts text, i.e.

{{sup|Text to be superscripted}} produces: Text to be superscripted

This template is listed at Wikipedia:Subst as a good candidate for substituting (i.e. {{subst:sup}} ). On a page that uses the template many times, however, this is likely to clutter and lengthen the page significantly.