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

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Frietjes
Line 8: Line 8:
  
 
; {{tlf|{{TEMPLATENAME}}}} {{nobold|(with default padding)}} and {{tl|smallsup}} compared
 
; {{tlf|{{TEMPLATENAME}}}} {{nobold|(with default padding)}} and {{tl|smallsup}} compared
: {{plaincode|<nowiki>[[SS Kroonland|SS ''Kroonland'']]{{issup|2}}</nowiki>}} produces: [[SS Kroonland|SS ''Kroonland'']]{{{{TEMPLATENAME}}|2}}
+
: {{<nowiki>[[SS Kroonland|SS ''Kroonland'']]{{issup|2}}</nowiki>}} produces: [[SS Kroonland|SS ''Kroonland'']]{{{{TEMPLATENAME}}|2}}
: {{plaincode|<nowiki>[[SS Kroonland|SS ''Kroonland'']]{{smallsup|2}}</nowiki>}} produces: [[SS Kroonland|SS ''Kroonland'']]{{smallsup|2}}
+
: {{<nowiki>[[SS Kroonland|SS ''Kroonland'']]{{smallsup|2}}</nowiki>}} produces: [[SS Kroonland|SS ''Kroonland'']]{{smallsup|2}}
  
 
===See also===
 
===See also===

Revision as of 01:31, 5 March 2015

Template:Template shortcuts

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'']]{{issup|2}}}} produces: SS Kroonland2
{{[[SS Kroonland|SS ''Kroonland'']]{{smallsup|2}}}} produces: SS Kroonland2

See also