Difference between revisions of "Template:Sup/doc"

From Second Life Wiki
Jump to navigation Jump to search
(Shamelessly copied from wikipedia.org and adapted for SL Wiki)
 
m (→‎See also: Fixed broken Wikipedia link)
 
(One intermediate revision by the same user not shown)
Line 15: Line 15:
{
{
"params": {
"params": {
"1": {}
"1": {
}
"type": "content"
}
},
"description": "Superscripts text"
}
}
</syntaxhighlight>
</syntaxhighlight>
Line 22: Line 25:


== See also ==
== See also ==
{{Sup and sub-related templates |expanded}}
{{Wikipedia|Sup and sub-related templates}}
{{Math templates|notation |state=collapsed}}
{{Wikipedia|Math templates}}


<includeonly>
<includeonly>
Line 33: Line 36:
}}
}}
</includeonly>
</includeonly>
<!--<templatedata>-->
<syntaxhighlight lang="json">
{
"params": {
"1": {
"type": "content"
}
},
"description": "Superscripts text"
}
</syntaxhighlight>
<!--</templatedata>-->

Latest revision as of 10:48, 27 February 2024

Superscripts text, i.e.

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

This template is listed at "Wikipedia logo"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.

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

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

Template data

This is the "Wikipedia logo"TemplateData for this template used by TemplateWizard, "Wikipedia logo"VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Sup

{
	"params": {
		"1": {
			"type": "content"
		}
	},
	"description": "Superscripts text"
}

See also

"Wikipedia logo"Sup and sub-related templates "Wikipedia logo"Math templates