Module talk:Script

Romaji tooltips
In the Discord server, User:Htwretched brought up the idea of adding pronunication/romanization in the character tooltips. e.g. would show   on hover, instead of just.

I think it's worth discussing. However, I'm not 100% convinced it's worth romanizing individual characters when the Hylian translation tables already romanize the full text in a separate column. I'm happy to discuss further, though. PhantomCaleb (talk) 14:57, 8 December 2020 (UTC)


 * It's really not necessary. But personally I feel a bit of a disconnect when you have to read the entire romanized phrase just to see one character's pronunciation, and I'm kind of weighing how much information the average viewer would want. Also, there are occasions when the pronunciation changes; not just with OoT Hylian being unable to express the entire Japanese syllabary, but quirks with the language that I don't understand, such as a  becoming  . Htwretched (talk) 06:05, 12 December 2020 (UTC)

Example
I tried to add another example to "Non-default sizes" but I guess that's not the proper syntax. :3 Htwretched (talk) 06:05, 12 December 2020 (UTC)
 * The Lua table was nested one level too deep - it was in the previous example. Just had to move it out one level. 🙂 https://zelda.gamepedia.com/Module:Script?diff=next&oldid=853373 PhantomCaleb (talk) 00:25, 14 December 2020 (UTC)

Minor formatting error
Like I said, this can be completely worked-around, but may still be of interest. When  or   contains a line break, any text on the same line but outside the script gets kicked onto a new line.

Example:

Produces: ABCDE FGIJH [sic]KLMNO

Htwretched (talk) 22:39, 14 December 2020 (UTC)


 * Hey, thanks for recording this here. The problem is due to the fact that when the script text is multiline, the template automatically places it within poem tags so that the lines are preserved.
 * The only solution I can think of is to remove that automatic poem thing from the code. This would mean that all the multiline usages would have to be changed


 * from this:

ABCDE FGIJH [sic]


 * to this:

ABCDE FGIJH [sic]


 * Ideally the poem tag could be auto-generated by Template:Hylian Translate instead. PhantomCaleb (talk) 14:17, 15 December 2020 (UTC)


 * Simple reason, simple solution. I like it. In the cases that needed /, regular table syntax was used instead of Template:Hylian Translate, but I think manually adding poem tags is a better workaround than being inconsistent with Template:Script. Htwretched (talk) 18:38, 15 December 2020 (UTC)
 * Even though it's the same end result for the viewer, I've done just enough programming to know that a fundamental fix is always better than a "hack". ;) Htwretched (talk) 18:43, 15 December 2020 (UTC)