Revision as of 00:34, 29 November 2006 view sourceDavid Kernow (talk | contribs)40,997 editsm Protected Template:Sup: {{sprotected2}} to deter passing vandalism etc ← Previous edit | Latest revision as of 06:24, 23 September 2020 view source RMCD bot (talk | contribs)Bots, Template editors1,003,839 edits Removing notice of move discussionTag: Manual revert | ||
(24 intermediate revisions by 17 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly><sup>{{{1}}}</sup></includeonly><noinclude> | <includeonly><sup>{{{1}}}</sup></includeonly><noinclude> | ||
{{documentation}} | |||
'''Sup'''erscripts text, i.e. | |||
<!-- Add cats and interwikis to the /doc subpage, not here! --> | |||
: <code><big><nowiki>{{sup|Text to be superscripted}}</nowiki></big></code> produces: {{sup|Text to be superscripted}} | |||
This template is listed at ] as a good candidate for substituting (i.e. <nowiki>{{subst:sup}}</nowiki> ). On a page that uses the template many times, however, this is likely to clutter and lengthen the page significantly. | |||
== See also == | |||
* {{tl|smallsup}} (superscript <nowiki><small></nowiki>-sized text) | |||
<!--Categories--> | |||
] | |||
</noinclude> | </noinclude> |
Latest revision as of 06:24, 23 September 2020
Template documentation[view] [edit] [history] [purge]This template is used on approximately 63,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Superscripts text, i.e.
{{sup|Text to be superscripted}}
produces:
This template is listed at Misplaced Pages: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>...</sup>
tags, so that:
<sup>Text to be superscripted</sup>
also produces:
For page numbers after references, {{rp}} should be used instead.
Template data
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Sup in articles based on its TemplateData.TemplateData for Sup
Superscript the text given in the first parameter
Parameter | Description | Type | Status | |
---|---|---|---|---|
1 | 1 | Any text entered here will be superscripted | String | required |
See also
Superscript and subscript-related templates | |||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||
Subscript and superscript |
Math templates | |||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template. Categories: