Template:I sup/doc: Difference between revisions
Appearance
| [checked revision] | [checked revision] |
Content deleted Content added
Caleb Cooper (talk | contribs) Created page with "{{Documentation subpage}} {{Commons Import}} <!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE --> {{Template shortcut|isup|padlsup}} Use this template to add a little pa..." |
Caleb Cooper (talk | contribs) |
||
| Line 13: | Line 13: | ||
===See also=== |
===See also=== |
||
| ⚫ | |||
* {{tl|i smallsup}} for a version of this template where the superscripted text is rendered as <nowiki><small></nowiki>. |
|||
For more detail see wikipedia page [[wikipedia:Template:I sup]] |
|||
* {{hlist |{{tn|'}} |{{tn|'s}} |{{tn|' "}} |{{tn|" '}} |{{tn|" ' "}} |{{tn|!}} }} |
|||
| ⚫ | |||
<includeonly>{{Sandbox other| |
<includeonly>{{Sandbox other| |
||
Latest revision as of 15:04, 20 October 2020
| This page was automatically imported from Commons any changes will be overwritten, the source page is here () |
Use this template to add a little padding before a superscript so that it doesn't clash with adjacent – and especially italic – text:
{{isup|text to superscript}}for the default padding;{{isup|N_units|text to superscript}}or, using another shortcut,{{padlsup|N_units|text to superscript}}
for N_units of padding, where N_units is a number followed by a display-related unit (em, px, pt, etc). For example, {{padlsup|1px|blah}}.
- {{i sup}} (with default padding) and <sup> compared
[[SS Kroonland|SS ''Kroonland'']]{{i sup|2}}produces: SS Kroonland2[[SS Kroonland|SS ''Kroonland'']]<sup>2</sup>produces: SS Kroonland2
See also
For more detail see wikipedia page wikipedia:Template:I sup