Template:Ruby
{{{1}}}
| Per Wikipedia:Manual of Style/Japan-related articles § Ruby, do not use this template for kanjis in articles, except when they are about ruby characters themselves, or it is needed to accurately quote something that includes ruby characters. |
| This template uses TemplateStyles: |
Usage
Ruby characters (ルビ, Rubi) are small, annotative glosses that can be placed above or to the right of a Chinese character when writing languages with logographic characters such as Chinese or Japanese to show the pronunciation. Typically called just ruby or rubi, such annotations are used as pronunciation guides for characters that are likely to be unfamiliar to the reader.
The first parameter is the base (the lower part) and the second is the Ruby text (the smaller part on top or in parentheses).
|large=yesenlarges the characters by 250% for use in examples
Examples:
| Markup | Renders as |
|---|---|
{{Ruby|全|すべ}}て |
全て |
{{Ruby|媽|mā}} |
媽 |
{{Ruby|large=yes|媽|mā}} |
媽 |
Browser support
The manner in which the Ruby characters are displayed is dependent upon the browser. For browser support, see Ruby annotation at Can I use.
For example: Base
If you see , then your browser supports Ruby.
If you see Base (top), then your browser does not support Ruby.
See also
- {{ruby line}} for easier annotation of multiple series of characters
- {{ruby-zh-p}} for Hanyu Pinyin
- {{ruby-zh-b}} for Bopomofo
- {{ruby-ja}} for Japanese
- {{Linked Ruby}} for easier wikilinks to Ruby annotations
- {{overset}} for oversetting characters for math and similar uses
TemplateData
TemplateData for Ruby
Shows a Chinese, Kanji or other phrase with Ruby text above it
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Base | 1 | Text in Kana or Chinese characters to be annotated
| Line | required |
| Annotation | 2 | Hiragana, romanization or other transcription; shown above the Base text
| Line | required |
| Large? | large | If 'yes', renders text large
| String | optional |
| CSS styling | style css | no description | String | optional |
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.