Template:Str endswith: Difference between revisions

From Vigyanwiki
Template>Amalthea
(fix)
Template>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>

Revision as of 16:32, 4 November 2009

yes

Template documentation