Difference between revisions of "Category:Str len"

From blackwiki
Jump to navigation Jump to search
test>Davidgothberg
m (moved Template:Str len full to Template:Str len: Moving this over {{str len}}, since that is the better name but this is the better code. Thus merging with {{str len}}. See talk page.)
m (32 revisions imported)
 
(11 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{#ifeq: x{{#if:x|{{{1|}}}}} | x{{padleft:{{{1|}}}| 500 }}   <!-- str >= 500 -->
+
{{{{{|safesubst:}}}#invoke:String|len|s={{{1|}}}}}<noinclude>
| 500
+
{{documentation}}
| {{#expr:  <!-- "expr" removes leading spaces and zeros -->
 
    {{str len full/core  <!-- xx0-xx9 -->
 
    |{{#if:x|{{{1|}}}}}
 
    | {{str len full/core  <!-- x0x-x9x -->
 
      |{{#if:x|{{{1|}}}}}
 
      | {{str len full/core  <!-- 0xx-4xx -->
 
        |{{#if:x|{{{1|}}}}}
 
        | |00
 
        }}|0
 
      }}|
 
    }}
 
  }}
 
}}<noinclude>
 
  
{{pp-template}}
 
{{documentation}}
 
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Latest revision as of 17:16, 6 September 2020

0

Documentation[create]


This category currently contains no pages or media.