Difference between revisions of "Template:Sup"

From Timelines
Jump to: navigation, search
({{sprotected2}})
Line 1: Line 1:
 
<noinclude>{{sprotected2}}</noinclude><includeonly><sup>{{{1}}}</sup></includeonly><noinclude>
 
<noinclude>{{sprotected2}}</noinclude><includeonly><sup>{{{1}}}</sup></includeonly><noinclude>
 
'''Sup'''erscripts text, i.e.
 
'''Sup'''erscripts text, i.e.
: <code><big><nowiki>{{sup|Text to be superscripted}}</nowiki></big></code> produces: {{sup|Text to be superscripted}}
+
: <code><big><nowiki>{{sup|Text to be superscripted}}</nowiki></big></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>&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 (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.
Line 10: Line 10:
  
 
<!--Categories-->
 
<!--Categories-->
[[Category:Function templates|{{PAGENAME}}]]
+
[[Category:Function templates|Sup]]
 
</noinclude>
 
</noinclude>

Revision as of 17:47, 28 November 2006

Template:Sprotected2 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.

See also

  • {{smallsup}} (superscript <small>-sized text)