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

From blackwiki
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 shortcuts |issup|padlssup}}
+
{{Template shortcut|issup|padlssup}}
  
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, {{tlf|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|i smallsup}} {{nobold|(with default padding)}} and {{tl|smallsup}} compared
: {{<nowiki>[[SS Kroonland|SS ''Kroonland'']]{{issup|2}}</nowiki>}} produces: [[SS Kroonland|SS ''Kroonland'']]{{{{TEMPLATENAME}}|2}}
+
: {{<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|I sup}}
+
* {{tl|i sup}}
* {{tl|Sup and sub-related templates}}
+
* {{tl|sup and sub-related templates}}
  
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox |
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox |

Revision as of 04:57, 1 April 2015

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