Tɛmplet:Ruby
{{safesubst:ifsubst|1=|2=Page Tɛmplet:Ruby/styles.css has no content.}}{{{1}}}
This template uses TemplateStyles: |
Usage
[mali mi di yibu sheena n-niŋ]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.
{{Ruby|Base|top}}
→ Page Tɛmplet:Ruby/styles.css has no content.Base
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=yes
enlarges the characters by 250% for use in examples
Examples:
Markup | Renders as |
---|---|
{{Ruby|全|すべ}}て |
Page Tɛmplet:Ruby/styles.css has no content.全て |
{{Ruby|媽|mā}} |
Page Tɛmplet:Ruby/styles.css has no content.媽 |
{{Ruby|large=yes|媽|mā}} |
Page Tɛmplet:Ruby/styles.css has no content.媽 |
Browser support
[mali mi di yibu sheena n-niŋ]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: Page Tɛmplet:Ruby/styles.css has no content.Base
If you see , then your browser supports Ruby.
If you see Base (top), then your browser does not support Ruby.
See also
[mali mi di yibu sheena n-niŋ]- {{ruby-zh-p}}
- {{ruby-zh-b}}
- {{ruby-ja}}
- {{overset}} for oversetting characters for math and similar uses
TemplateData
[mali mi di yibu sheena n-niŋ]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 |