සැකිල්ල:Overunderset/doc
This is a documentation subpage for සැකිල්ල:Overunderset. It may contain usage information, categories and other content that is not part of the original සැකිල්ල page. |
This template combines the effects of the {{overset}} and {{underset}} templates into one. The template names {{overunderset}} and {{underoverset}} are synonymous and can be used interchangeably: {{underoverset}} redirects to {{overunderset}}.
Syntax
සංස්කරණයThe code is:
{{underoverset|base|over|under}}
or{{overunderset|base|over|under}}
- which outputs as .
where:
base
- the main symbol,
over
- the symbol above the main symbol,
under
- the symbol underneath the main symbol.
Application
සංස්කරණයCombined overset and underset
සංස්කරණයThe effect of an can be achieved by combining underset followed by overset:
- 1234567890 + + 1234567890 + + 1234567890
but sometimes one combination will not work, particularly when there is only one combined application of templates on a line:
- 1234567890 + ,
- 1234567890 + .
The overunderset is one way around the problem using by containing the over- and under- positions for symbols:
- 1234567890 + + 1234567890 + + 1234567890
- 1234567890 + ,
- 1234567890 + .
Reduction to overset
සංස්කරණයWith the under
parameter empty:
- 1234567890 + + 1234567890 + + 1234567890
- 1234567890 + ,
- 1234567890 + .
Reduction to underset
සංස්කරණයWith the over
parameter empty:
- 1234567890 + + 1234567890 + + 1234567890
- 1234567890 + ,
- 1234567890 + .