Vorlage:Str len: Unterschied zwischen den Versionen

K
37 Versionen von wikipedia:Vorlage:Str_len importiert
K (Protected Template:Str len full: It is a meta-template, so usually becomes high-risk the moment it gets used. ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
K (37 Versionen von wikipedia:Vorlage:Str_len importiert)
 
(18 dazwischenliegende Versionen von 7 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
{{#ifeq: x{{#if:x|{{{1|}}}}} | x{{padleft:{{{1|}}}| 500 }}  <!-- str >= 500 -->
<onlyinclude><includeonly>{{#invoke:Str|len|{{{1|}}}}}</includeonly></onlyinclude>
| 500
{{Dokumentation}}
| {{#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! -->
</noinclude>