"टेम्पलेट:Str ≠ len" की अवतरण में अंतर

ifeq is too smart, it understands numbers. So adding "x" in front of the strings. But then we need to remove any whitespace around the first string, thus the {{#if:x|}}.
(Padleft fails to pad when getting an empty but defined pad parameter. Working around that.)
(ifeq is too smart, it understands numbers. So adding "x" in front of the strings. But then we need to remove any whitespace around the first string, thus the {{#if:x|}}.)
{{#ifeq: x{{#if:x|{{{1|}}}}} | x{{padleft:|{{{2|}}}| {{#if:{{{1|}}}|{{{1|}}}|pad}} }}
| {{{4|}}} <!-- str == len -->
| {{{3|}}} <!-- str != len -->
नामालूम प्रयोगकर्ता