Mudanças entre as edições de "Predefinição:Str len"

De Wiki Coolab
Ir para navegação Ir para pesquisar
NumBlk>Davidgothberg
(Feeding the numbered parameters as numbers instead, to get white space stripping. Slightly more efficient, and simpler code. Tested in the /sandbox.)
m (32 edições )
 
(8 revisões intermediárias por 6 usuários não estão sendo mostradas)
Linha 1: Linha 1:
{{#ifeq: x{{#if:x|{{{1|}}}}} | x{{padleft:{{{1|}}}| 500 }}  <!-- str >= 500 -->
+
{{{{{|safesubst:}}}#invoke:String|len|s={{{1|}}}}}<noinclude>
| 500
+
{{documentation}}
| {{str len/core/sandbox  <!-- xx0-xx9 -->
 
  | 1 = {{{1|}}}
 
  | 2 = {{str len/core/sandbox  <!-- x0x-x9x -->
 
    | 1 = {{{1|}}}
 
    | 2 = {{str len/core/sandbox  <!-- 0xx-4xx -->
 
      | 1 = {{{1|}}}
 
      | 2 =
 
      | 3 = hundreds
 
      }}
 
    | 3 = tens
 
    }}
 
  | 3 = 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>

Edição atual tal como às 18h06min de 16 de abril de 2020

Erro de script: Nenhum módulo desse tipo "String". Erro de script: Nenhum módulo desse tipo "documentation".