Zum Inhalt springen

Vorlage:Str len: Unterschied zwischen den Versionen

K
37 Versionen von wikipedia:Vorlage:Str_len importiert
K (moved Template:Str len full to Template:Str len: Moving this over {{str len}}, since that is the better name but this is the better code. Thus merging with {{str len}}. See talk page.)
K (37 Versionen von wikipedia:Vorlage:Str_len importiert)
 
(16 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>