Template talk:Ruby
This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
rb element
[edit]<rb>
is being used in a manner that causes invalid HTML output.
"Element rb not allowed as child of element ruby in this context."
-- Gadget850 talk 19:46, 14 March 2015 (UTC)
- well before HTML5 ruby was always used as a part of XHTML 1.1
- http://xhtml.com/en/xhtml/reference/ruby/
- in HTML 5 ruby truly seems not to use rb, which is sad because seemingly the complex ruby parts seem to have been dropped as well, even though they are really practical and intresting.
- Thanks for the reminder. I will edit it.
- My1 20:08, 14 March 2015 (UTC)
<rb>
was deprecated, but revived in HTML5.[1] The way it is used here does not validate, and I am not expert enough to understand this tag. -- Gadget850 talk 20:13, 14 March 2015 (UTC)
- which browser do you use? maybe it isnt up to it yet or whatever ruby wasnt really in HTML4 afaik it was mainly in XHTML 1.1 and there was the rb tag present, but XHTML support varies between browsers, as the HTML5 page from the WTC states it can be there but will be implied if not I'll let it go, as in the usage it has right now (single base with single top) it isnt needed anyway. if I make it more complex someday it might (or rather will) come back... — Preceding unsigned comment added by My1 (talk • contribs) 20:23, 14 March 2015 (UTC)
</rb> <rp>
[edit]Example from List of Fairy Tail episodes:
<td class="summary" style="text-align: left;">"Tartaros Chapter, Finale – Where the Power of Life Lies"<br>
<i>"Tarutarosu-hen (Shūshō): Sore ga Ikiru Chikara Da"</i> <span class="t_nihongo_kanji" lang="ja">(<ruby><rb>冥府の門</rb> <rp>(</rp><rt>タルタロス</rt><rp>)</rp></ruby>編 【終章】 それが生きる力だ)</span> </td>
Space between </rb> & <rp>???
Bogobor (talk) 13:45, 1 October 2017 (UTC)
Experiencing display issues
[edit]Just today, I found that the ruby text has become much larger than it was the other day and before. It's especially noticeable when used within Template:Nihongo and its subtypes.
- Here's an example with Template:Nihongo2, compared to the upper text's normal size: 桜宇宙 / コスモス
- And here's one without: 桜宇宙 / コスモス
Originally, the ruby text was shrunken down enough so two katakana could fit over a single kanji without causing any spaces in the bottom text, yet from what I see, it's just barely below its usual size. I'm wondering if it's a personal display issue, or if it's something more widespread. User:SubZeroSilver (talk) 23:35, 17 June 2020 (UTC)
- The issue is that the previous display was not accessible for people who cannot read small text. Jonesey made an edit to correct that issue. You should discuss at the followup discussion at WT:ANIME ( which probably should be here). My changes were solely to implement that change in the correct place. --Izno (talk) 12:17, 19 June 2020 (UTC)
empty ruby text param
[edit]I've just noticed that if the ruby-text param is empty, the lines of text are still spaced as if the ruby text were there. Sometimes in lists the formatting is used in a parallel manner even for Japanese spelt without kanji (which thus don't need a Ruby text). This is a trivial, unimportant feature req. HLHJ (talk) 00:10, 14 February 2022 (UTC)
- Template-Class language pages
- NA-importance language pages
- WikiProject Languages articles
- Template-Class Linguistics pages
- NA-importance Linguistics pages
- WikiProject Linguistics articles
- Template-Class China-related pages
- NA-importance China-related pages
- Template-Class China-related articles of NA-importance
- WikiProject China articles
- Template-Class Japan-related pages
- NA-importance Japan-related pages
- WikiProject Japan articles
- Template-Class Korea-related pages
- NA-importance Korea-related pages
- WikiProject Korea articles