टेम्पलेट:Str len: रिवीजन सभ के बीचा में अंतर
Content deleted Content added
imported>Happy-melon छो Reverted edits by Happy-melon (talk) to last version by Dragons flight |
imported>Davidgothberg Copying this new string length template from my user-space sandbox. |
||
लाइन 1:
{{#ifeq: x{{#if:x|{{{1|}}}}} | x{{padleft:{{{1|}}}| 500 }} <!-- str >= 500 -->
| 500
| {{#expr: <!-- "expr" removes leading spaces and zeros -->
{{str len full/core <!-- xx0-xx9 -->
|{{
| {{str len full/core <!-- x0x-x9x -->
|{{
| {{str len full/core <!-- 0xx-4xx -->
|{{
| |00
}}|0
}}|
}}
}}
▲}}</includeonly><noinclude>
<!-- {{pp-template}} -->
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
|