Difference between revisions of "Template:Str endswith"

From MINR.ORG WIKI
(fix)
(|nocategory={{{nocategory|}}} to allow pages to have errors but not end of up in the pages with errors category.)
Line 1: Line 1:
{{#ifeq: {{str left|{{{1|}}}|{{#expr:{{str len|{{{1|}}}}}-{{str len|{{{2|}}}}}}}}}{{str trim|{{{2|}}}}} | {{str trim|{{{1|}}}}}
+
{{#ifeq: {{str left |nocategory={{{nocategory|}}} |{{{1|}}}|{{#expr:{{str len |nocategory={{{nocategory|}}} |{{{1|}}}}}-{{str len |nocategory={{{nocategory|}}} |{{{2|}}}}}}}}}{{str trim |nocategory={{{nocategory|}}} |{{{2|}}}}} | {{str trim |nocategory={{{nocategory|}}} |{{{1|}}}}}
 
   | yes
 
   | yes
 
}}<noinclude>
 
}}<noinclude>

Revision as of 12:02, 4 November 2009


Template documentation[create]