Jump to content

Module:Kanbun/doc

From Wikibooks, open books for an open world

Example:

{{#invoke:Kanbun|kanbun|
桃 之 夭 夭{タル} \O 灼 灼{タリ} 其{ノ} 華 \\
之{ノ} 子 于{キ} 帰{グ} \O 宜[二]{シカラン} 其{ノ} 室 家[一]{ニ} \\ \\

桃 之{ノ} 夭 夭{タル} \O 有{リ}[レ] 蕡{タル} 其{ノ} 実 \\
之{ノ} 子 于{キ} 帰{グ} \O 宜{シカラン}[二] 其{ノ} 家 室{ニ}[一] \\ \\

桃 之 夭 夭{タル} \O 其{ノ} 葉 蓁 蓁{タリ} \\
之{ノ} 子 于{キ} 帰{グ} \O 宜[二]{シカラン} 其{ノ} 家 人[一]{ニ}
}}

Appears:

タル タリ
 シカラン

タル タル
 シカラン

タル タリ
 シカラン

Kanji are separated by a half-width space.

The part enclosed in {} represents the sending kana or reading kana, and the part surrounded by [] represents the return point.

The line break during input does not affect the output if it is the part of the kanji separater. If you want to insert a new line in the output, use \\.

Special symbol

  • \\: Insert a new line.
  • \O: Insert a blank space.
  • \H: Used when hyphens are included.