Template:JAruby

Definition from Wiktionary, the free dictionary
Jump to: navigation, search

The following documentation is located at Template:JAruby/documentation. [edit]


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.