Difference between revisions of "Template:I smallsup/doc"
Jump to navigation
Jump to search
imported>Frietjes |
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.) |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | ||
| − | {{Template | + | {{Template shortcut|issup|padlssup}} |
| − | A version of {{tl| | + | 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, {{tlf|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, {{tlf|padlssup|1px|blah}}. |
| − | ; {{tlf| | + | ; {{tlf|i smallsup}} {{nobold|(with default padding)}} and {{tl|smallsup}} compared |
| − | : {{<nowiki>[[SS Kroonland|SS ''Kroonland'']]{{ | + | : {{<nowiki>[[SS Kroonland|SS ''Kroonland'']]{{i smallsup|2}}</nowiki>}} produces: [[SS Kroonland|SS ''Kroonland'']]{{i smallsup|2}} |
: {{<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=== | ||
| − | * {{tl| | + | * {{tl|i sup}} |
| − | * {{tl| | + | * {{tl|sup and sub-related templates}} |
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | ||
Revision as of 04:57, 1 April 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
- {{[[SS Kroonland|SS ''Kroonland'']]{{i smallsup|2}}}} produces: SS Kroonland2
- {{[[SS Kroonland|SS ''Kroonland'']]{{smallsup|2}}}} produces: SS Kroonland2
See also
- {{i sup}}
- {{sup and sub-related templates}}