Template:Japanese/Ruby/doc
Appearance
This is a documentation subpage for Template:Japanese/Ruby It may contain usage information, categories and other content that is not part of the original template page. |
Usage
[edit source]This template provides a quick shorthand for writing ruby characters in HTML.
The template takes three arguments,
{{ruby|<character>|<ruby>|<suffix>|<additional ruby>}}
When writing words consisting of multiple characters, you will have to evaluate where to best split the ruby markup up.
Examples:
Markup | Result |
---|---|
{{furi|犬|いぬ}}
|
|
{{ruby|食|た|べる}}
|
|
{{ruby|日本|にほん|}}
|
|
{{ruby|家|いえ||house}}
|
|
{{ruby|飛|と|ぶ|fly}}
|
|
{{ruby|のみ|||only}}
|
|
{{ruby|{{ruby|食|た|べ}}{{ruby|尽|つ|くす}}|||consume}}
|
For writing Japanese furigana, please use {{furi}} instead.