टेम्पलेट:Str ≥ len: रिवीजन सभ के बीचा में अंतर
Content deleted Content added
छो Protected Template:Str ≥ len: It is a meta-template, so usually becomes high-risk the moment it gets used. Only semi-protected it for now. ([edit=autoconfirmed] (indefinite) [move=sysop] (indefinite)) |
Ouch, 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|}}. |
||
लाइन 1: | लाइन 1: | ||
{{#ifeq:{{{1|}}}|{{padleft:{{{1|}}}| {{{2|}}} }} <!-- str >= len --> |
{{#ifeq:x{{#if:x|{{{1|}}}}}|x{{padleft:{{{1|}}}| {{{2|}}} }} <!-- str >= len --> |
||
| {{{3|}}} |
| {{{3|}}} |
||
| {{{4|}}} |
| {{{4|}}} |