Template:Str len: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Davidgothberg
Better naming of /core parameter 3, and core does not return any leading zeros anymore.
Ookami (talk | contribs)
m 32 revisions imported
 
(9 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}}
| {{str len/core  <!-- xx0-xx9 -->
  |{{#if:x|{{{1|}}}}}
  | {{str len/core  <!-- x0x-x9x -->
    |{{#if:x|{{{1|}}}}}
    | {{str len/core  <!-- 0xx-4xx -->
      |{{#if:x|{{{1|}}}}}
      | | hundreds
      }}| tens
    }}| ones
  }}
}}<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