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

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Frietjes
Line 5: Line 5:
 
A version of {{tl|I sup}} where the superscripted text is rendered as <nowiki><small></nowiki>. The same syntax applies:
 
A version of {{tl|I sup}} where the superscripted text is rendered as <nowiki><small></nowiki>. The same syntax applies:
 
: {{tc|issup|''text''}} to use the default padding;
 
: {{tc|issup|''text''}} to use the default padding;
: {{tc|issup|''N_units''|''text''}} or, using another shortcut, {{tc|padlssup|''N_units''|''text''}}<br/>&nbsp;for ''N_units'' of padding, where ''N_units'' is a number followed by a display-related unit ([[Em (typography)|em]], [[Pixel|px]], [[Point (typography)|pt]], etc). For example, {{tcpl|padlssup|1px|blah}}.
+
: {{tc|issup|''N_units''|''text''}} or, using another shortcut, {{tc|padlssup|''N_units''|''text''}}<br/>&nbsp;for ''N_units'' of padding, where ''N_units'' is a number followed by a display-related unit ([[Em (typography)|em]], [[Pixel|px]], [[Point (typography)|pt]], etc). For example, {{tlf|padlssup|1px|blah}}.
  
 
; {{tlf|{{TEMPLATENAME}}}} {{nobold|(with default padding)}} and {{tl|smallsup}} compared
 
; {{tlf|{{TEMPLATENAME}}}} {{nobold|(with default padding)}} and {{tl|smallsup}} compared

Revision as of 23:55, 2 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
Template:Plaincode produces: SS Kroonland2
Template:Plaincode produces: SS Kroonland2

See also