[[Template:Jpan]] vs. [[Template:lang]]|ja

Jump to navigation Jump to search

I just saw your edit to {{R:Daijirin}}, among many others. In this particular template, the <cite> tags italicize, which is undesirable for Japanese. {{Jpan}} prevents italicization of Japanese, even in otherwise-italicized contexts. {{lang|ja}}, however, does not, so {{R:Daijirin}} now has italicized Japanese where it shouldn't.

I haven't explored how {{Jpan}} prevented italicization, but if you have time, could you implement something similar for {{lang}} when the language is Japanese?

‑‑ Eiríkr Útlendi │ Tala við mig23:11, 19 July 2013

<cite>{{lang|ja|test}}</cite> > test

?

CodeCat23:13, 19 July 2013
 

Alternately, it might be simpler to just use {{Jpan|lang=ja}} instead of replacing with {{lang|ja}} and then having to rework {{lang}} to build in the required formatting for each language...

‑‑ Eiríkr Útlendi │ Tala við mig23:13, 19 July 2013

See Wiktionary:Beer parlour/2013/July#Scripts and italics. The problem is not in {{lang}}, because it just calls the script template. It goes a bit deeper than that, it's a CSS issue.

CodeCat23:30, 19 July 2013