Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a21df4d5fb98fa14

Jump to content

Template talk:Ruby line

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia
Latest comment: 24 days ago by Pppery in topic Recent edits made some output disappear

Colons?

[edit]

Genuinely out of curiosity, why does this template use colons instead of what every other template does, namely | for separating parameters? When I first saw {{Ruby line|東: とう|京: きょう}} I was confused, whereas {{Ruby line||とう||きょう}} follows the standard convention across pretty much the entirety of Wikipedia. Primefac (talk) 14:54, 28 May 2024 (UTC)Reply

@Primefac: Did the confusion originate due to the bug now solved or is it still there? --Grufo (talk) 16:37, 28 May 2024 (UTC)Reply
No, I just don't get why it uses a completely different format than every other template on Wikipedia that I've seen. If there's a reason that's great, I just want to know what it is :-) Primefac (talk) 16:38, 28 May 2024 (UTC)Reply
We need to differentiate idiograms that have a ruby annotation from those that don't have one. How would you rewrite the following wikitext if there was no differentiation between the colon and the pipe sign: {{ Ruby line | 門: もん || 方: ほう }}? Here the idiogram in the middle does not have an annotation (i.e. (もん) (ほう)). I guess it could be rewritten as {{ Ruby line || もん |||| ほう }}, but without differentiation wouldn't it become a hell keeping track of where each pair starts in very long lines? --Grufo (talk) 16:44, 28 May 2024 (UTC)Reply
Ah, yeah, I guess that makes sense. For something like {{ill}} which has similar pairings, there's usually a pretty clear designation between the (two letter) lang code and the actual link. Not quite as obvious in this case. Thanks! Primefac (talk) 16:46, 28 May 2024 (UTC)Reply
Thank you for the feedback! --Grufo (talk) 16:49, 28 May 2024 (UTC)Reply

Recent edits made some output disappear

[edit]

Pppery: Your recent edit made some of the output of this template disappear at Ruby character, in the table under the text "Here is an example of ruby characters". It also caused Linter errors. Since there are no testcases, I don't know what the output of this template is supposed to look like. I copied the old version into the sandbox. That version generates output given the wikitext from Ruby character. Can you please test, revert, or take some other step to address this issue? – Jonesey95 (talk) 00:39, 3 July 2026 (UTC)Reply

Sorted. * Pppery * in solidarity 01:10, 3 July 2026 (UTC)Reply