Template talk:IPA link/Archive 1

Latest comment: 6 years ago by Sweyn78 in topic Error
Archive 1

Move?

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

  • I contest. Please do not. I am in pleasant and usefull conversation with proposer at Module talk:IPA symbol. -DePiep (talk) 18:35, 27 July 2013 (UTC)
  • Can we get this move done now? — Lfdder (talk) 14:19, 31 July 2013 (UTC)
    • Relisted. — Lfdder (talk) 20:45, 31 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)