Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
No edit summary
 
m 1 revision imported
 
(No difference)

Latest revision as of 14:38, 9 July 2024

Template:CSS This template is used to input ruby text, which helps form furigana (Template:Ja) in Japanese and Pinyin reading guide Chinese: 米哈游mǐ hā yóu in Chinese.

More information can be found here.

Syntax

Pairs of text will form a "base" and "explanation" set. If there is an odd pair left out, it will be displayed as "base" text (without an "explanation" tag).

There are three named Parameters:

  • rpStart — the beginning denotation of the "explanation" tag (defaults to an open parenthesis)
  • rpEnd — the ending denotation of the "explanation" tag (defaults to an close parenthesis)
  • large — setting this value to any non-blank value will make the "base" text 250% bigger (fixed value), and the "explanation" text smaller (fixed value)
  • center — setting this value to any non-blank value will make the center the ruby text instead of space it out along the base text.

Syntax

{{Rubi|日本語|にほんご}} yields:
日本語にほんご
{{Rubi|米哈游|mǐ hā yóu}} yields:
米哈游mǐ hā yóu
{{Rubi|HT|HyperText|M|Markup|L|Language|large = 1}} yields:
HTHyperTextMMarkupLLanguage
{{Rubi|Very long base text that goes on and on|Short ruby|center = 1}} yields:
Very long base text that goes on and onShort ruby


fr:Modèle:Rubi/doc id:Templat:Rubi/doc pt-br:Predefinição:Rubi/doc vi:Bản mẫu:Rubi/doc