Difference between revisions of "Template:Str ≤ len"

From Ava Zinn Wiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
m (removed incorrect protection template (haha))
m (11 revisions)
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{#switch:
+
{{{{{|safesubst:}}}#ifexpr: {{{{{|safesubst:}}}#invoke:String|len|s={{{1|}}}}} <= {{{2|0}}} <noinclude><!-- str >= len --></noinclude>
  {{#ifeq:{{{1|}}}|{{padleft:{{{1|}}}|{{{2|}}} }}    <!-- str >= len -->
+
| {{{3|}}}
  | {{#ifeq:{{{1|}}}|{{padleft:|{{{2|}}}|{{{1|}}} }} <!-- str == len -->
+
| {{{4|}}}
    | equal
+
}}<noinclude>
    | longer
 
    }}
 
  | shorter
 
  }}
 
  
| shorter
 
| equal  = {{{3|}}}
 
| longer  = {{{4|}}}
 
 
}}<noinclude>
 
 
{{documentation}}
 
{{documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Latest revision as of 18:00, 10 December 2015

Expression error: Unrecognized punctuation character "{".

Documentation icon Template documentation[create]