Template:Str endswith: Difference between revisions

    From Nonbinary Wiki
    m>ԱշոտՏՆՂ
    mNo edit summary
    m>Mr. Stradivarius
    (use Module:Str endswith to save the extra #invoke and the extra passing of parameters)
    Line 1: Line 1:
    {{#ifeq:{{#Invoke:String|sub|s={{{1|}}}| -{{#invoke:String|len|s={{{2}}}}} |ignore_errors=true}}|{{{2|}}}|yes}}<noinclude>
    {{#invoke:Str endswith|main}}<noinclude>
    {{documentation}}
    {{documentation}}
    <!-- Add categories to the /doc subpage, not here! -->
    </noinclude>
    </noinclude>

    Revision as of 07:16, 7 November 2016

    yes

    Template documentation[create]