Fyrimynd:Overunderset
(Ávíst frá Fyrimynd:Underoverset)
This template combines 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[rætta wikitekst]
The code is:
{{underoverset|a|b|c}}
or{{overunderset|a|b|c}}
where:
- the first parameter is the main symbol,
- the second parameter is the symbol above the main symbol,
- the third parameter is the symbol underneath the main symbol.
Application[rætta wikitekst]
Combined overset and underset[rætta wikitekst]
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[rætta wikitekst]
With the third parameter empty:
- 1234567890 + + 1234567890 + 1234567890 +
- 1234567890 + ,
- 1234567890 + .
Reduction to underset[rætta wikitekst]
With the second parameter empty:
- 1234567890 + + 1234567890 + 1234567890 +
- 1234567890 + ,
- 1234567890 + .
Sí eisini[rætta wikitekst]
Dokumentatiónin omanfyri er tikin frá Fyrimynd:Overunderset/doc. (rætta | søga) Editors can experiment in this template's sandkassi (upprætta | mirror) and testcases (upprætta) pages. Please add categories to the /doc subpage. Undirsíður til hesa/hetta fyrimyndina. |