"आकृति:Str ≠ len" के अवतरणसभमे अन्तर

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 -->
प्राप्ति स्थल "https://mai.wikipedia.org/wiki/आकृति:Str_≠_len"