Difference between revisions of "Template:Sup"

From Timelines
Jump to: navigation, search
(document it a bit)
(<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 19:15, 26 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.