User talk:Abcboy/Ruby

Tests

森(もり)

DONDON(どんどん)

森(mori)

富士山(ふじさん)

富士山(Fuji-san)

富士山(Mount Fuji)

富(ふ)士(じ)山(さん)

富(fu)士(ji)山(san)

今日(こんにち)わ

今(こん)日(にち)わ

Mt. Coronet (Japanese: テンガン山(さん) Mt. Tengan)

Usage

Parameters:

  • lang: two-letter code of the language of the base, if not Japanese (change to langb?)
  • lang2: two-letter code of the language of the annotation, if not Japanese (change to langa?)
  • 1: first base
  • 2: first annotation
  • 3: second base
  • 4: second annotation
  • ...
  • 19: tenth base
  • 20: tenth annotation

Supports up to 10 base/annotation pairs. If there is text without ruby within the text, close the ruby template and reopen after that text.