Template:Ruby

From Len'en Wiki
Jump to navigation Jump to search
Documentation icon Template documentation[view] [edit] [history] [purge]

{{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}}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 (Demon World)
  • {{Ruby|Makai|Demon World}} placeMakai (Demon World) place
  • {{Ruby|large=yes|Makai|Demon World}}Makai (Demon World)

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: Base (top)

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