Jump to content

Template talk:IPAc-en

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by MwGamera (talk | contribs) at 18:38, 7 July 2024 (What's with the double slashes?: Reply). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Missing HTML class "IPA-label"

I was just setting up some custom CSS to make translations and such easier to read when I noticed this template doesn't add the class "IPA-label" to the label it generates, unlike the other IPA templates. Is that intentional, or should it be added?

For example:

{{IPA-fr|fubaʁ}}

results in:

<span class="IPA-label IPA-label-small">French pronunciation:</span> ...

which, for reference, is rendered as:

French pronunciation: [fubaʁ]

While for this template:

{{IPAc-en|lang|f|u|b|a:r}}

results in:

<small>English: </small>...

rendered as:

English: /fubɑːr/

W.andrea (talk) 01:53, 17 March 2024 (UTC)[reply]

Template-protected edit request on 24 April 2024

I talked about this above. Basically, this change is to bring the markup inline with Template:IPA.

In Module:IPAc-en, change

<small>%s</small>
+
<span class="IPA-label IPA-label-small">%s</span>

(Note: The template documentation doesn't need to be updated since it doesn't mention this behaviour.)

By the way, Template:IPA also has a small parameter that maybe this template should implement as well, but that's beside the point.

W.andrea (talk) 20:10, 24 April 2024 (UTC)[reply]

That alone won't be enough because without Module:IPA/styles.css IPA-label-small doesn't work.  Done. Nardog (talk) 20:35, 24 April 2024 (UTC)[reply]
Ideally this module should just call the IPA module instead of handling the label, audio, etc. on its own. Nardog (talk) 20:42, 24 April 2024 (UTC)[reply]

What's with the double slashes?

I've noticed that IPA is now wrapped in double slashes: ⫽

Is this a new standard? A coding change perhaps? Not a complaint, just genuinely curious what the reason is.

Editor510 drop us a line, mate 17:51, 7 July 2024 (UTC)[reply]

I just noticed this too and, as mentioned in the edit summary Special:Diff/1233122572, some people think it makes it clearer that this is supposed to be a diaphonemic rather than phonemic transcription. It does, but only to those who already know about it. One problem I personally have with this change is that it makes things ugly because the double solidus usually ends up coming from some poorly designed fallback font on most systems. (No, it doesn't display in Gentium Plus for most people.) And I don't believe it's going to serve its intended purpose. Attentive reader will notice it's something different, but will have to check it in Help:IPA/English anyway because double slashes are just as ambiguous as single slashes (it surely must be a morphophonemic transcription, right?). But people who read Help (and MOS) pages and people who argue about which dialect to use are not the same people in the first place. – MwGamera (talk) 18:38, 7 July 2024 (UTC)[reply]