Template talk:IPAc-en
Archives (Index) |
This page is archived by ClueBot III. |
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)
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
− | + | <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)
- 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) - 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)