Template:I sup/doc
This is a documentation subpage for Template:I sup. It contains usage information, categories and other content that is not part of the original Template page. |
This template is used on many pages. To avoid large-scale disruption and unnecessary server load, any changes to this template should first be tested in its /sandbox or /testcases subpages or in your own user subpage. The tested changes can then be added to this page in one single edit. Please consider discussing any changes on the talk page before implementing them. |
Use this template to add a little padding before a superscript so that it doesn't clash with adjacent – and especially italic – text:
- in for the default padding;
- in or, using another shortcut, in
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
- {{I smallsup }} for a version of this template where the superscripted text is rendered as <small>.
- {{Sup and sub-related templates }}
- {{Italics correction }}