Template:Ruby/doc
Usage
Ruby characters 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, such annotations are used as pronunciation guides for characters that are likely to be unfamiliar to the reader.
{{|Ruby|Base|top}} → Base
Examples:
Haruki Natsukawa: {{Ruby|夏川|ナツカワ}} {{Ruby|遥輝|ハルキ}}
→ 夏川 遥輝
Kengo Manaka: {{Ruby|真中|マナカ}} {{Ruby|剣悟|ケンゴ}}
→ 真中 剣悟
Browser support
If you see Base, then all is good! Your browser supports Ruby.
But if you see Base (top), then too bad, my friend, your browser does not support Ruby.
TemplateData
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 |
CSS styling | style css | no description | String | optional |