模板:I sup/doc

来自决策链云智库
< 模板:I sup
Zeroclanzhang讨论 | 贡献2024年1月22日 (一) 21:27的版本 (创建页面,内容为“{{Documentation subpage}} {{High-use}} <!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE --> {{Template shortcut|isup|padlsup}} Use this template to add a little padding before a superscript so that it doesn't clash with adjacent – and especially italic – text: : {{tc|isup|''text to superscript''}} for the default padding; : {{tc|isup|''N_units''|''text to superscript''}} or, using another shortcut, {{tc|padlsup|''N_units''|''text to superscr…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

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