Difference between revisions of "Template:I smallsup/doc"
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/> 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, {{ | + | : {{tc|issup|''N_units''|''text''}} or, using another shortcut, {{tc|padlssup|''N_units''|''text''}}<br/> 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
| This is a documentation subpage for Template:I smallsup. It contains usage information, categories and other content that is not part of the original template page. |
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
- {{I sup}}
- {{Sup and sub-related templates}}