Template:Ruby
{{Ruby}} is a template that displays ruby characters (ルビ Rubi), which are are small, annotative glosses that can be placed above or to the right of a character when writing languages 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.
Usage
{{Ruby|Base|top}}
→
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
Examples
{{Ruby|Makai|Demon World}}
→Makai {{Ruby|Makai|Demon World}} place
→Makai place{{Ruby|large=yes|Makai|Demon World}}
→Makai
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.
Test:
If it displays as "Base (top)", then your browser does not support Ruby, otherwise if "top" is above "Base", then it is working.
See Also
The above documentation is transcluded from Template:Ruby/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |