User:TheresNoTime/sandbox/IPA template testcases

{{#tag:phonos|text={{{2}}}|ipa={{{1}}}}}

{{#tag:phonos|ipa={{{ipa}}}|text={{{text}}}}}

<phonos ipa={{{ipa}}} text={{{text}}}/>

Results

edit
wikitext output audio says
{{User:TheresNoTime/sandbox/IPA test|həˈləʊ|foo}} foo hello
{{User:TheresNoTime/sandbox/IPA test|həˈləʊ}} həˈləʊ hello
{{User:TheresNoTime/sandbox/IPA test 2|ipa=həˈləʊ|text=foo}} ipa=həˈləʊ foo
{{User:TheresNoTime/sandbox/IPA test 2|ipa=həˈləʊ}} ipa=həˈləʊ text
{{User:TheresNoTime/sandbox/IPA test 3|ipa=həˈləʊ|text=foo}} {{{ipa}}} text
{{User:TheresNoTime/sandbox/IPA test 3|ipa=həˈləʊ}} {{{ipa}}} text