More actions
No edit summary |
m 1 revision imported |
||
(No difference)
|
Latest revision as of 14:38, 9 July 2024
Error: no modules specified |
Template:CSS This template is used to input ruby text, which helps form furigana (Template:Ja) in Japanese and Pinyin reading guide Chinese: 米哈游 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:
米哈游
{{Rubi|HT|HyperText|M|Markup|L|Language|large = 1}} yields:
HTML
{{Rubi|Very long base text that goes on and on|Short ruby|center = 1}} yields:
Very long base text that goes on and on
fr:Modèle:Rubi/doc
id:Templat:Rubi/doc
pt-br:Predefinição:Rubi/doc
vi:Bản mẫu:Rubi/doc