Background
Some templates like Template:IPAc-en build special markup for the IPA that is shown. In this case, it allows you to hover over each individual character in the IPA to see an example of how to pronounce it (see Hasil Adkins for example usage). Currently, Phonos only lets you pass in the raw IPA string, which we then turn into HTML. Thus, we can't currently support what Template:IPAc-en does.
Acceptance criteria
- Make sure that the parser tag accepts wikitext, e.g. <phonos>Lorem ''ipsum'', {{IPAc-en|sic amet}}</phonos>
- The PhonosButton class should then make use of the custom label, showing it next to the play icon instead of the IPA or whatever Phonos would normally show.
- Together with the play icon should already have the .ext-phonos-PhonosButton class and thus should work as expected (clicking plays the audio)