Difference between revisions of "Template:I smallsup/doc"
Jump to navigation
Jump to search
imported>Frietjes |
imported>Frietjes |
||
| Line 3: | Line 3: | ||
{{Template shortcuts |issup|padlssup}} | {{Template shortcuts |issup|padlssup}} | ||
| − | A version of {{ | + | 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, {{tcpl|padlssup|1px|blah}}. | : {{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, {{tcpl|padlssup|1px|blah}}. | ||
| − | ; {{ | + | ; {{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}} | : {{plaincode|<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}} | : {{plaincode|<nowiki>[[SS Kroonland|SS ''Kroonland'']]{{smallsup|2}}</nowiki>}} produces: [[SS Kroonland|SS ''Kroonland'']]{{smallsup|2}} | ||
Revision as of 16:42, 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, Template:Tcpl.
- {{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}}