Difference between revisions of "Template:I smallsup/doc"

From blackwiki
Jump to navigation Jump to search
imported>Jdaloner
m (Made a couple minor adjustments so visible code and examples fully match. Made a couple additional (still minor) spacing/formatting adjustments as well.)
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
Line 15: Line 15:
 
* {{tl|sup and sub-related templates}}
 
* {{tl|sup and sub-related templates}}
  
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox |
+
<includeonly>{{Sandbox other|
 
| <!-- Categories below this line, please; interwikis at Wikidata -->
 
| <!-- Categories below this line, please; interwikis at Wikidata -->
 
[[Category:Superscript and subscript templates]]
 
[[Category:Superscript and subscript templates]]
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 17:07, 25 April 2020

A version of {{i sup}} where the superscripted text is rendered as <small>. The same syntax applies:

{{issup|text}} to use the default padding;
{{issup|N_units|text}} or, using another shortcut, {{padlssup|N_units|text}}
 for N_units of padding, where N_units is a number followed by a display-related unit (em, px, pt, etc). For example, {{padlssup|1px|blah}}.
{{i smallsup}} (with default padding) and {{smallsup}} compared
{{[[SS Kroonland|SS ''Kroonland'']]{{i smallsup|2}}}} produces: SS Kroonland2
{{[[SS Kroonland|SS ''Kroonland'']]{{smallsup|2}}}} produces: SS Kroonland2

See also