Jump to content

Template talk:IPA link/Archive 1

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

Move?

Template:IPAlinkTemplate:IPA link – space make panda happy Lfdder (talk) 16:55, 27 July 2013 (UTC)

Error

Returning an error on null input seems relatively unnecessary. Providing such an error requires downstream templates to use the following code:

{{#if:{{{1|}}}|{{IPA link|{{{1|}}}}}}}

If the template is not provided a parameter, it should not return anything. Not providing an error on null input allows downstream templates to do the same thing as above with just the following bit of code:

{{IPA link|{{{1|}}}}}

This shorter code not only takes up less space, but also reduces the load on the server, since an additional #if: statement is not used.
/ˈswɛ̹͡yn/78 21:45, 16 September 2017 (UTC)