Template talk:Cl
From Angelina Jordan Wiki
Why ifeq
@Most2dot0: Am I missing something? Instead of using {{#ifeq:}} to test whether U+2063 has been passed in the 2nd parameter (which I assume is what you're doing, since there's a non-printing character in that location in the code), why not just use {{#if:}}, like so?
{{#if:{{{1|}}}
| {{#if: {{{2|}}} | [[{{{1}}}|{{{2}}}]] }}
}}
Which can also be done this way:
{{#if: {{both|{{{1|}}}|{{{2|}}}}} | [[{{{1}}}|{{{2}}}]] }} }}
AFAICT, U+2063 counts as whitespace, and hence would evaluate as false. - dcljr (talk) 21:42, 2 September 2025 (UTC)