Template:JAruby
Jump to navigation
Jump to search
{{{1}}}
- The following documentation is located at Template:JAruby/documentation. [edit]
- Useful links: subpage list • links • redirects • transclusions • errors (parser/module) • sandbox
Usage
Definition of terms:
- base: the text ruby is attached to
- word: base+okurigana
Usage: {{JAruby|base|ruby|okurigana[|myruby]|link=link for the word}}
Link is optional and it defaults to word if not given. If it's set to empty, the link is omitted. Okurigana is also optional. Myruby indicates that the ruby was added by a Wiktionary editor and is not present in the original text.
Examples:
- {{JAruby|終|お|わる}}: 終わる
- {{JAruby|終|お|わる|link=}}: 終わる
- {{JAruby|終|お|わる|link=始まる}}: 終わる
- {{JAruby|朝|あさ}}: 朝
- {{JAruby|朝|あさ|link=}}: 朝
- {{JAruby|朝|あさ|link=夜}}: 朝
- {{JAruby|朝|あさ||myruby}}: 朝
There's a Firefox extension for displaying rubies on top of their bases.