Template:Overline
{{{1}}}
| This template is used on approximately 2,300 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Produces an overline. {{overline|RESET}} gives RESET. For a single letter, the Unicode combining accent U+0305 is a possible alternative: x̅ or x̅ produces x̅. For multiple letters, use the Unicode method when it is not desired for the overline to be continuous: {{overline|x}}{{overline|x}}{{overline|T}}{{overline|T}} gives xxTT; x̅x̅T̅T̅ gives x̅x̅T̅T̅. The wikitext may be rendered easier to read by using the Unicode method, previewing the page, and copying and pasting the overlined text into the wikitext.
Parameters
There is a mandatory first parameter, followed by an optional second parameter. If the second parameter is used, only the second parameter will be under the overline.
{{overline|EXIT}}→ EXIT{{overline|12.|3}}→ 12.3
The second produces exactly the same formatted output as 12.{{overline|3}}, but may be preferred when formatting repeating decimal numbers as it is easier to see the number in the wikitext.
Template Data
TemplateData for Overline
This template applies an overline. Useful for displaying repeating fractions, like 1/3.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| First parameter | 1 | Overlined text (if 2 empty); or initial nonrepeating digits (if not)
| Number | required |
| Second parameter | 2 | Digits to be overlined
| Number | optional |
See also
- {{Overarc}}
- {{Underline}}
- {{Strikethrough}}
- {{Vector}}
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.