Help:Template cheatsheet: Difference between revisions

Content deleted Content added
Line 539:
|}
 
 
 
 
 
== sup & sub ==
{| class="wikitable"
|+
!Template
!Shortcut /
Alternative
!Usage
!Example
!Rendered
!Description
|-
|{{Tl|sup}}
|
|<code><nowiki>text{{sup|superscript}}</nowiki></code>
|<code><nowiki>text{{sup|superscript}}{{spaces|4}}{{sup|superscript}}text</nowiki></code>
|text{{sup|superscript}}{{spaces|4}}{{sup|superscript}}text
|
|-
|{{Tl|smallsup}}
|{{Tl|ssup}}
|<code><nowiki>text{{smallsup|small superscript}}</nowiki></code>
|<code><nowiki>text{{smallsup|small superscript}}{{spaces|4}}{{smallsup|small superscript}}text</nowiki></code>
|text{{smallsup|small superscript}}{{spaces|4}}{{smallsup|small superscript}}text
|
|-
|{{Tl|i sup}}
|{{tl|issup}}{{int:dot-separator}}{{tl|padlssup}}
|<code><nowiki>''text''{{i smallsup|small superscript}}</nowiki></code>
|<code><nowiki>''text''{{i smallsup|small superscript}}{{spaces|2}}({{smaller|rather than:}}&nbsp;''text''{{smallsup|small superscript}})</nowiki></code>
|''text''{{i smallsup|small superscript}}{{spaces|2}}({{smaller|rather than:}}&nbsp;''text''{{smallsup|small superscript}})
|
|-
|{{Tl|i smallsup}}
|{{tl|issup}}{{int:dot-separator}}{{tl|padlssup}}
|
|
|
|
|-
|{{Tl|b sup}}
|{{Tl|bsup}}
|
|
|
|
|-
|{{Tl|sub}}
|
|<code><nowiki>text{{sub|subscript}}</nowiki></code>
|<code><nowiki>text{{sub|subscript}}{{spaces|4}}{{sub|subscript}}text</nowiki></code>
|text{{sub|subscript}}{{spaces|4}}{{sub|subscript}}text
|
|-
|{{Tl|smallsub}}
|{{tl|ssub}}
|<code><nowiki>text{{smallsub|small subscript}}</nowiki></code>
|<code><nowiki>text{{smallsub|small subscript}}{{spaces|4}}{{smallsub|small subscript}}text</nowiki></code>
|text{{smallsub|small subscript}}{{spaces|4}}{{smallsub|small subscript}}text
|
|-
|{{Tl|subsub}}
|
|<code><nowiki>text{{subsub|double-subscripted}}</nowiki></code>
|<code><nowiki>text{{subsub|double-subscripted}}{{spaces|4}}{{subsub|double-subscripted}}text</nowiki></code>
|text{{subsub|double-subscripted}}{{spaces|4}}{{subsub|double-subscripted}}text
|
|-
|{{Tl|su}}
|
|<code><nowiki>text{{su|p=p&#61;superscript|b=b&#61;subscript}}</nowiki></code>
|<code><nowiki>text{{su|p=p&#61;superscript|b=b&#61;subscript}}{{spaces|4}}{{su|p=p&#61;superscript|b=b&#61;subscript}}text</nowiki></code>
|text{{su|p=p&#61;superscript|b=b&#61;subscript}}{{spaces|4}}{{su|p=p&#61;superscript|b=b&#61;subscript}}text
|
|-
|{{Tl|sup sub}}
|
|
|<code><nowiki>text{{sup sub|sup|sub}}{{spaces|4}}{{sup sub|sup|sub}}text</nowiki></code>
|text{{sup sub|sup|sub}}{{spaces|4}}{{sup sub|sup|sub}}text
|
|-
|{{Tl|±}}
|
|
|
|
|
|-
|{{Tl|overunderset}}
|
|<code><nowiki>{{overunderset|text|superscript|subscript}}</nowiki></code>
|<code><nowiki>{{overunderset|text|superscript|subscript}}</nowiki></code>
|{{overunderset|text|superscript|subscript}}
|
|-
|{{Tl|underoverset}}
|
|
|
|
|
|}
 
 
Line 636 ⟶ 742:
|
|}
 
 
== Links ==