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.)
NumBlk>Happy-melon
(maybe we shouldn't be running sandbox code on 30,000 pages? :-P)
Linha 1: Linha 1:
 
{{#ifeq: x{{#if:x|{{{1|}}}}} | x{{padleft:{{{1|}}}| 500 }}  <!-- str >= 500 -->
 
{{#ifeq: x{{#if:x|{{{1|}}}}} | x{{padleft:{{{1|}}}| 500 }}  <!-- str >= 500 -->
 
| 500
 
| 500
| {{str len/core/sandbox   <!-- xx0-xx9 -->
+
| {{str len/core  <!-- xx0-xx9 -->
 
   | 1 = {{{1|}}}
 
   | 1 = {{{1|}}}
   | 2 = {{str len/core/sandbox   <!-- x0x-x9x -->
+
   | 2 = {{str len/core  <!-- x0x-x9x -->
 
     | 1 = {{{1|}}}
 
     | 1 = {{{1|}}}
     | 2 = {{str len/core/sandbox   <!-- 0xx-4xx -->
+
     | 2 = {{str len/core  <!-- 0xx-4xx -->
 
       | 1 = {{{1|}}}
 
       | 1 = {{{1|}}}
 
       | 2 =  
 
       | 2 =  

Edição das 12h10min de 13 de novembro de 2009

{{#ifeq: x{{#if:x|}} | x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 | 500 | Predefinição:Str len/core }}

Predefinição:Pp-template Erro de script: Nenhum módulo desse tipo "documentation".