Jump to content

සැකිල්ල:Overunderset/doc

විකිපීඩියා වෙතින්

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}}.

The code is:

{{underoverset|base|over|under}} or {{overunderset|base|over|under}}
which outputs as overbaseunder.

where:

base
the main symbol,
over
the symbol above the main symbol,
under
the symbol underneath the main symbol.

Combined overset and underset

[සංස්කරණය]

The effect of an can be achieved by combining underset followed by overset:

1234567890 + aba + 1234567890 + aba + 1234567890

but sometimes one combination will not work, particularly when there is only one combined application of templates on a line:

1234567890 + aba,
1234567890 + aba.

The overunderset is one way around the problem using by containing the over- and under- positions for symbols:

1234567890 + bac + 1234567890 + bac + 1234567890
1234567890 + bac,
1234567890 + bac.

Reduction to overset

[සංස්කරණය]

With the under parameter empty:

1234567890 + ba + 1234567890 + ba + 1234567890
1234567890 + ba,
1234567890 + ba.

Reduction to underset

[සංස්කරණය]

With the over parameter empty:

1234567890 + ab + 1234567890 + ab + 1234567890
1234567890 + ab,
1234567890 + ab.
"https://si.wikipedia.org/w/index.php?title=සැකිල්ල:Overunderset/doc&oldid=584752" වෙතින් සම්ප්‍රවේශනය කෙරිණි