Mall:Ruby-ja

Från Wikipedia

{{{1}}}{{{2}}}

[visa] [redigera] [rensa sidcachen]

Dokumentation


Usage[redigera wikitext]

Ruby-tecken (ルビ 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|Base|top}}Base(top)

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[redigera wikitext]

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 Mall:Overset, then your browser supports Ruby.

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

See also[redigera wikitext]



TemplateData[redigera wikitext]

Det här är TemplateData-dokumentation för den här mallen. Det används av VisualEditor och andra verktyg.

TemplateData för Ruby-ja

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

Mallparametrar[Redigera TemplateData]

ParameterBeskrivningTypStatus
Base1

Text in Kana or Chinese characters to be annotated

Exempel
Radobligatorisk
Annotation2

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

Exempel
すべ
Radobligatorisk
Large?large

If 'yes', renders text large

Exempel
yes
Strängvalfri
CSS stylingstyle

ingen beskrivning

Strängvalfri