Template talk:IPA

(Redirected from Template talk:IPA/sandbox)
Latest comment: 2 months ago by Nardog in topic IPA for Brazilian Portuguese

"T:IPA" listed at Redirects for discussion

edit

  The redirect T:IPA has been listed at redirects for discussion to determine whether its use and function meets the redirect guidelines. Readers of this page are welcome to comment on this redirect at Wikipedia:Redirects for discussion/Log/2023 December 27 § T:IPA until a consensus is reached. Queen of Hearts ❤️ (she/they 🎄 🏳️‍⚧️) 00:43, 27 December 2023 (UTC)Reply

Slashes and brackets

edit

Could the template detect if the text is surrounded by / / or [ ] to not add them itself? Currently we can have ugly things like /[rɪd]/ and French pronunciation: [/fʁɑ̃sɛ/]. -- Error (talk) 17:10, 22 May 2024 (UTC)Reply

As long as it's in the guide-linking mode (i.e. the first parameter is a language code), it should use brackets except for English, per MOS:PRON. Otherwise it could link a phonemic transcription to a phonetic key. Nardog (talk) 07:40, 23 May 2024 (UTC)Reply

Would a div tag option be useful?

edit

Recently, an editor used this template to wrap a block of content that was already wrapped in <poem>...</poem> tags, which caused a Linter "span tag wrapping a div tag" error. I reverted because I didn't see a way for this template to emit div tags, and I didn't know if that would be useful.

I added a test case, since removed because I don't want to clutter up the Linter error reports, showing how the template was used in that case. If it would be useful and in conformity with the purpose of this template, a |div=yes option could presumably be added to the module code; that option would use div tags instead of span tags in this template's output. We inserted a similar option into {{Collapsed infobox section begin}} to fix Linter errors that cropped up in some situations. – Jonesey95 (talk) 22:09, 28 May 2024 (UTC)Reply

You can just use {{IPA}} inside <poem>...</poem> instead of the other way around. Nardog (talk) 00:57, 29 May 2024 (UTC)Reply

IPA for Brazilian Portuguese

edit

inputting {{IPA|pt-BR|...}} generates a text in incompatible fonts (seemingly with HTML sans-serif when I inspected it), when the same template with {{IPA|pt|...}} uses default fonts. Juwan (talk) 14:08, 1 August 2024 (UTC)Reply

bumping and updating that this happens with every language with a country or region tag added. Juwan (talk) 23:51, 11 September 2024 (UTC)Reply
As far as I can tell from reading IETF language tag, this is a bug on the browser's part. Nardog (talk) 00:52, 12 September 2024 (UTC)Reply