Zelda Wiki

Want to contribute to this wiki?
Sign up for an account, and get started!

Come join the Zelda Wiki community Discord server!

READ MORE

Zelda Wiki
Register
No edit summary
 
Line 45: Line 45:
 
::Simple reason, simple solution. I like it. In the cases that needed <code>row</code>/<code>colspan</code>, 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]]. [[User:Htwretched|Htwretched]] ([[User talk:Htwretched|talk]]) 18:38, 15 December 2020 (UTC)
 
::Simple reason, simple solution. I like it. In the cases that needed <code>row</code>/<code>colspan</code>, 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]]. [[User:Htwretched|Htwretched]] ([[User talk: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". ;) [[User:Htwretched|Htwretched]] ([[User talk:Htwretched|talk]]) 18:43, 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". ;) [[User:Htwretched|Htwretched]] ([[User talk:Htwretched|talk]]) 18:43, 15 December 2020 (UTC)
  +
  +
:::I tried implementing this but it didn't work out as I'd hoped. Going to keep the code as-is.
  +
:::One way to solve your original problem would be like this:
  +
<pre>
  +
<poem>
  +
{{H|TP|ABCDE}}
  +
{{H|TP|FGIJH}} {{Small|[sic]}}
  +
</poem>
  +
</pre>
  +
  +
:::Which produces the correct output:
  +
<poem>
  +
{{H|TP|ABCDE}}
  +
{{H|TP|FGIJH}} {{Small|[sic]}}
  +
</poem>
  +
  +
:::Kinda looks better that way anyway. [[User:PhantomCaleb|PhantomCaleb]] ([[User talk:PhantomCaleb|talk]]) 15:11, 30 December 2020 (UTC)

Latest revision as of 15:11, 30 December 2020

Romaji tooltips

In the Discord server, User:Htwretched brought up the idea of adding pronunication/romanization in the character tooltips. e.g. ア would show ア (A) 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 wa. 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 {{Script}} or {{H}} contains a line break, any text on the same line but outside the script gets kicked onto a new line.

Example: {{H|TP|ABCDE
FGIJH}} {{Small|[sic]}}{{H|TP|
KLMNO}}

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:
{{H|TP|ABCDE
FGIJH}} {{Small|[sic]}}
to this:
<poem>
{{H|TP|ABCDE
FGIJH}} {{Small|[sic]}}
</poem>
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 row/colspan, 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)
I tried implementing this but it didn't work out as I'd hoped. Going to keep the code as-is.
One way to solve your original problem would be like this:
<poem>
{{H|TP|ABCDE}}
{{H|TP|FGIJH}} {{Small|[sic]}}
</poem>
Which produces the correct output:

ABCDE
FGIJH [sic]

Kinda looks better that way anyway. PhantomCaleb (talk) 15:11, 30 December 2020 (UTC)