Difference between revisions of "Template:Sup and sub-related templates"
Jump to navigation
Jump to search
Template documentation
blackwiki>Jdaloner (Adjusted alignment of 'overunderset' / 'underoverset' entry.) |
m (48 revisions imported) |
||
| (4 intermediate revisions by 4 users not shown) | |||
| Line 11: | Line 11: | ||
| {{tlbare|sup}} | | | {{tlbare|sup}} | | ||
| − | | text{{sup|superscript}}{{ | + | | text{{sup|superscript}}{{spaces|4}}{{sup|superscript}}text |
| {{tlbare|smallsup}} | ({{tlbare|ssup}}) | | {{tlbare|smallsup}} | ({{tlbare|ssup}}) | ||
| − | | text{{smallsup|small superscript}}{{ | + | | text{{smallsup|small superscript}}{{spaces|4}}{{smallsup|small superscript}}text |
| {{tlbare|i sup}} | ({{tlbare|isup}}{{int:dot-separator}}{{tlbare|padlsup}}) | | {{tlbare|i sup}} | ({{tlbare|isup}}{{int:dot-separator}}{{tlbare|padlsup}}) | ||
| − | | ''text''{{i sup|superscript}} | + | | ''text''{{i sup|superscript}}{{spaces|2}}({{smaller|rather than:}} ''text''{{sup|superscript}}) |
| {{tlbare|i smallsup}} | ({{tlbare|issup}}{{int:dot-separator}}{{tlbare|padlssup}}) | | {{tlbare|i smallsup}} | ({{tlbare|issup}}{{int:dot-separator}}{{tlbare|padlssup}}) | ||
| − | | ''text''{{i smallsup|superscript}} | + | | ''text''{{i smallsup|small superscript}}{{spaces|2}}({{smaller|rather than:}} ''text''{{smallsup|small superscript}}) |
| + | |||
| + | | {{tlbare|b sup}} | ({{tlbare|bsup}}) | ||
| + | | text{{b sup|superscript}}{{spaces|2}}({{smaller|rather than:}} text{{sup|superscript}}) | ||
| {{tlbare|sub}} | | | {{tlbare|sub}} | | ||
| − | | text{{sub|subscript}}{{ | + | | text{{sub|subscript}}{{spaces|4}}{{sub|subscript}}text |
| {{tlbare|smallsub}} | ({{tlbare|ssub}}) | | {{tlbare|smallsub}} | ({{tlbare|ssub}}) | ||
| − | | text{{smallsub|small subscript}}{{ | + | | text{{smallsub|small subscript}}{{spaces|4}}{{smallsub|small subscript}}text |
| {{tlbare|subsub}} | | | {{tlbare|subsub}} | | ||
| − | | text{{subsub|double-subscripted}}{{ | + | | text{{subsub|double-subscripted}}{{spaces|4}}{{subsub|double-subscripted}}text |
}} | }} | ||
| Line 39: | Line 42: | ||
|cols=3 |class=nowrap | |cols=3 |class=nowrap | ||
| {{tlbare|su}} | | | {{tlbare|su}} | | ||
| − | | text{{su|p=p=superscript|b=b=subscript}}{{ | + | | text{{su|p=p=superscript|b=b=subscript}}{{spaces|4}}{{su|p=p=superscript|b=b=subscript}}text |
| {{tlbare|sup sub}} | | | {{tlbare|sup sub}} | | ||
| − | | text{{sup sub|sup|sub}}{{ | + | | text{{sup sub|sup|sub}}{{spaces|4}}{{sup sub|sup|sub}}text |
| {{tlbare|±}} | | | {{tlbare|±}} | | ||
| Line 57: | Line 60: | ||
| content = | | content = | ||
{{Collapsible option |statename=optional}} | {{Collapsible option |statename=optional}} | ||
| − | + | {{Sandbox other|| | |
[[Category:Superscript and subscript templates| ]] | [[Category:Superscript and subscript templates| ]] | ||
| − | }}<!--(end Documentation)--> | + | [[Category:Documentation see also templates]] |
| + | }}}}<!--(end Documentation)--> | ||
</noinclude> | </noinclude> | ||
Latest revision as of 09:37, 30 September 2020
Initial visibility: currently defaults to autocollapse
To set this template's initial visibility, the |state= parameter may be used:
|state=collapsed:{{Sup and sub-related templates|state=collapsed}}to show the template collapsed, i.e., hidden apart from its title bar|state=expanded:{{Sup and sub-related templates|state=expanded}}to show the template expanded, i.e., fully visible|state=autocollapse:{{Sup and sub-related templates|state=autocollapse}}
If the |state= parameter in the template on this page is not set, the template's initial visibility is taken from the |default= parameter in the Collapsible option template. For the template on this page, that currently evaluates to autocollapse.
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |