テンプレート:Ruby

2025年6月3日 (火) 20:36時点におけるSzkt (トーク | 投稿記録)による版 (1版 をインポートしました)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)

{{{1}}}({{{2}}})

Lua エラー モジュール:TNT 内、159 行目: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Uses TemplateStyles.tab

Usage 編集

Ruby characters (ルビ, Rubi) are small, annotative glosses that can be placed above or to the right of a Chinese character when writing languages with logographic characters such as Chinese or Japanese to show the pronunciation. Typically called just ruby or rubi, such annotations are used as pronunciation guides for characters that are likely to be unfamiliar to the reader.

  • {{Ruby|人|rén}}(rén)
  • {{Ruby|人|ひと}}(ひと)
  • {{Ruby|人|인}}()

The first parameter is the base (the lower part) and the second is the Ruby text (the smaller part on top or in parentheses).

  • |large=yes enlarges the characters by 250% for use in examples

Examples:

Markup Renders as
{{Ruby|全|すべ}}て

(すべ)

{{Ruby|媽|mā}}

()

{{Ruby|large=yes|媽|mā}}

()

Browser support 編集

The manner in which the Ruby characters are displayed is dependent upon the browser. For browser support, see Ruby annotation at Can I use.

For example: Base(top)

If you see topBase, then your browser supports Ruby.

If you see Base (top), then your browser does not support Ruby.

See also 編集

TemplateData 編集

これはビジュアルエディターテンプレートウィザードにより使用されるテンプレートのためのTemplateData文書です。

Ruby

Shows a Chinese, Kanji or other phrase with Ruby text above it

テンプレートパラメーター[テンプレートデータを編集]

パラメーター説明状態
Base1

Text in Kana or Chinese characters to be annotated

必須
Annotation2

Hiragana, romanization or other transcription; shown above the Base text

すべ
必須
Large?large

If 'yes', renders text large

yes
文字列省略可能
CSS stylingstyle css

説明なし

文字列省略可能