Difference between revisions of "Template:Str ≤ len"

From Ava Zinn Wiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
(remove {{pp-template}} since included in {{documentation}})
m (11 revisions)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#switch:
+
{{{{{|safesubst:}}}#ifexpr: {{{{{|safesubst:}}}#invoke:String|len|s={{{1|}}}}} <= {{{2|0}}}  <noinclude><!-- str >= len --></noinclude>
  {{#ifeq: x{{#if:x|{{{1|}}}}} | x{{padleft:{{{1|}}}|{{{2|}}} }}    <!-- str >= len -->
+
| {{{3|}}}
  | {{#ifeq: x{{#if:x|{{{1|}}}}} | x{{padleft:|{{{2|}}}|{{{1|}}} }}  <!-- str == len -->
+
| {{{4|}}}
    | equal
 
    | longer
 
    }}
 
  | shorter
 
  }}
 
 
 
| shorter
 
| equal  = {{{3|}}}
 
| longer  = {{{4|}}}
 
 
 
 
}}<noinclude>
 
}}<noinclude>
  

Latest revision as of 18:00, 10 December 2015

Expression error: Unrecognized punctuation character "{".

Documentation icon Template documentation[create]