Template:Sup/doc: Difference between revisions

From NESdev Wiki
Jump to navigationJump to search
(Created page with "{{documentation subpage}} '''Sup'''erscripts text, i.e. : <code><big><nowiki>{{sup|Text to be superscripted}}</nowiki></big></code> produces: <sup>Text to be superscripted</s...")
 
m (fix interwiki links)
 
Line 4: Line 4:
: <code><big><nowiki>{{sup|Text to be superscripted}}</nowiki></big></code> produces: <sup>Text to be superscripted</sup>
: <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:Template: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.


Text can also be superscripted simply by using the <nowiki><sup> and </sup></nowiki> tags, so that:
Text can also be superscripted simply by using the <nowiki><sup> and </sup></nowiki> tags, so that:
Line 14: Line 14:
* {{tl|sup sub}} (text{{sup sub|sup|sub}})
* {{tl|sup sub}} (text{{sup sub|sup|sub}})
* {{tl|e}} (1.23{{e|4}})
* {{tl|e}} (1.23{{e|4}})
* [[Subscript and superscript]]
* [[wikipedia:Subscript and superscript]]


<includeonly>
<includeonly>

Latest revision as of 20:36, 11 February 2017

Superscripts text, i.e.

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

This template is listed at Wikipedia:Template: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.

Text can also be superscripted simply by using the <sup> and </sup> tags, so that:

<sup>Text to be superscripted</sup> also produces: Text to be superscripted

See also