Difference between revisions of "Template:Sup and sub-related templates"

From blackwiki
Jump to navigation Jump to search
(Removed table that aligns sections horizontally; this makes it harder to read on smaller displays and added no obvious value.)
blackwiki>Sardanaphalus
(Previous edit: Good point (apart from "added no obvious value"), so thank you. {{Aligned table}} looks simpler here too.)
Line 1: Line 1:
<!---------------------------------------------------------------------------
+
'''{{tl|Sup}} and related templates'''
                        {{Sup}} and related templates
+
{{Aligned table
  ---------------------------------------------------------------------------->
+
|style=border-top:1px solid #aaa;padding-bottom:1.25em;
{| class="nowrap" cellspacing="0" cellpadding="0" style="margin:0;padding:0 3.0em 0 0;"
+
|col1style=width:10.0em; |col2style=width:20.0em;vertical-align:middle;
|colspan="2"| '''{{tl|Sup}} and related templates'''
+
|
----
+
* {{tl|sup}} | text{{sup|superscript}}{{nbsp|4}}{{sup|superscript}}text
|-----------------------------
+
|
|
+
* {{tl|smallsup}} {{tl|ssup}} | text{{smallsup|small superscript}}{{nbsp|4}}{{smallsup|small superscript}}text
* {{tl|sup}}
+
|
|
+
* {{tl|isup}} | ''text''{{isup|superscript}} &thinsp;{{smaller|rather than}}&thinsp; ''text''{{sup|superscript}}
: (&thinsp;text{{sup|superscript}}{{nbsp|3}}{{sup|superscript}}text&thinsp;)
+
|
|-----------------------------
+
* {{tl|e}}   | 1.23{{e|4}}
|
+
|
* {{tl|smallsup}} {{tl|ssup}}
+
* {{tl|val}} | {{val|1.23|e=4}}
|
+
}}
: (&thinsp;text{{smallsup|small superscript}}{{nbsp|3}}{{smallsup|small superscript}}text&thinsp;)
 
|-----------------------------
 
|
 
* {{tl|isup}}
 
|
 
: (&thinsp;''text''{{isup|superscript}} &nbsp;vs. ''text''{{sup|superscript}}&thinsp;)
 
|-----------------------------
 
|
 
* {{tl|e}}
 
|
 
: (&thinsp;1.23{{e|4}}&thinsp;)
 
|-----------------------------
 
|
 
* {{tl|val}}
 
|
 
: (&thinsp;{{val|1.23|e=4}}&thinsp;)
 
|-----------------------------
 
|}
 
  
<!---------------------------------------------------------------------------
+
'''{{tl|Sub}} and related templates'''
                        {{Sub}} and related templates
+
{{Aligned table
  ---------------------------------------------------------------------------->
+
|style=border-top:1px solid #aaa;padding-bottom:1.25em;
{| class="nowrap" cellspacing="0" cellpadding="0" style="margin:0;padding:0 3.0em 0 0;"
+
|col1style=width:10.0em; |col2style=width:20.0em;vertical-align:middle;
|colspan="2"| '''{{tl|Sub}} and related templates'''
+
|
----
+
* {{tl|sub}}   | text{{sub|subscript}}{{nbsp|4}}{{sub|subscript}}text
|-----------------------------
+
|
|
+
* {{tl|smallsub}} {{tl|ssub}} | text{{smallsub|small subscript}}{{nbsp|4}}{{smallsub|small subscript}}text
* {{tl|sub}}
+
|
|
+
* {{tl|subsub}} | text{{subsub|double-subscripted}}{{nbsp|4}}{{subsub|double-subscripted}}text
: (&thinsp;text{{sub|subscript}}{{nbsp|3}}{{sub|subscript}}text&thinsp;)
+
}}
|-----------------------------
 
|
 
* {{tl|smallsub}} {{tl|ssub}}
 
|
 
: (&thinsp;text{{smallsub|small subscript}}{{nbsp|3}}{{smallsub|small subscript}}text&thinsp;)
 
|-----------------------------
 
|
 
* {{tl|subsub}}
 
|
 
: (&thinsp;text{{subsub|double-subscripted}}{{nbsp|3}}{{subsub|double-subscripted}}text&thinsp;)
 
|-----------------------------
 
|}
 
  
<!---------------------------------------------------------------------------
+
'''Templates combining super/subscripts'''
                      Templates combining super/subscripts
+
{{Aligned table
  ---------------------------------------------------------------------------->
+
|style=border-top:1px solid #aaa;padding-bottom:1.25em;
{| class="nowrap" cellspacing="0" cellpadding="0" style="margin:0;padding:0;"
+
|col1style=width:10.0em; |col2style=width:20.0em;vertical-align:middle;
|colspan="2"| '''Templates combining super/subscripts'''
+
|
----
+
* {{tl|su}}     | text{{su|p=p{{=}}superscript|b=b{{=}}subscript}}{{nbsp|4}}{{su|p=p{{=}}superscript|b=b{{=}}subscript}}text
|-----------------------------
+
|
|
+
* {{tl|supsub}} | text{{supsub|sup|sub}}{{nbsp|4}}{{supsub|sup|sub}}text
* {{tl|su}}
+
|
|
+
* {{tl|±}}     | 1.23{{±|4|2}}
: (&thinsp;text{{su|p=p{{=}}superscript|b=b{{=}}subscript}}{{nbsp|3}}{{su|p=p{{=}}superscript|b=b{{=}}subscript}}text&thinsp;)
+
|
|-----------------------------
+
* {{tl|overunderset}}<br/>{{tl|underoverset}} | {{overunderset|text|superscript|subscript}}
|
+
}}
* {{tl|supsub}}
 
|
 
: (&thinsp;text{{supsub|sup|sub}}{{nbsp|3}}{{supsub|sup|sub}}text&thinsp;)
 
|-----------------------------
 
|
 
* {{tl|±}}
 
|
 
: (&thinsp;1.23{{±|4|2}}&thinsp;)
 
|-----------------------------
 
|
 
* {{tl|overunderset}}<br/>{{tl|underoverset}}
 
|
 
: (&thinsp;{{overunderset|text|superscript|subscript}}&thinsp;)
 
|-----------------------------
 
|}
 
  
 +
'''See also'''
 
* [[Subscript and superscript]]
 
* [[Subscript and superscript]]
 
<noinclude>
 
<noinclude>

Revision as of 15:07, 14 June 2014

{{Sup}} and related templates Script error: No such module "aligned table".

{{Sub}} and related templates Script error: No such module "aligned table".

Templates combining super/subscripts Script error: No such module "aligned table".

See also