Template:Ruby
From MediaWiki
Description
Used for properly rendering Japanese furigana—katakana or hiragana written above kanji or foreign text that is used to indicate the proper pronunciation in Japanese phonology.
Usage
Parameters
Required
This template requires two unnamed parameters:
- - The base (kanji or foreign) text to display.
- - The text(katakana or hiragana) to display above.
Optional
- css or style - The inline css styling to apply.
- large - If provided, the text is displayed in a larger font.
Code
{{ruby|'''STARS'''|スターズ}}
Examples
Technical notes
The code in this template has been borrowed from the template of the same name on Wikipedia. It uses XHTML/HTML5 Ruby formatting tags to display the text.

