Template:Str endswith: Difference between revisions

|nocategory={{{nocategory|}}} to allow pages to have errors but not end of up in the pages with errors category.
m>Amalthea
(fix)
m>SkyLined
(|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>
Anonymous user