Template:Str len: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Davidgothberg
(Adding "{{pp-template}}".)
m (32 revisions imported)
 
(12 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 04:34, 3 September 2020

0