Template:Str endswith: Difference between revisions

    m>Dragons flight
    (Lua version)
    m>Dragons flight
    (trimming is expected)
    Line 1: Line 1:
    {{#ifeq:{{#Invoke:String|sub|{{{1|}}}| -{{#invoke:String|len|{{{2}}}}} |ignore_errors=true}}|{{{2|}}}|yes}}<noinclude>
    {{#ifeq:{{#Invoke:String|sub|s={{{1|}}}| -{{#invoke:String|len|s={{{2}}}}} |ignore_errors=true}}|{{{2|}}}|yes}}<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>